0
|
1 |
|
|
2 |
isEmpty(QMAKE_OBJECTIVE_CC):QMAKE_OBJECTIVE_CC = $$QMAKE_CC
|
|
3 |
QMAKE_OBJECTIVE_CFLAGS = $$QMAKE_CFLAGS
|
|
4 |
QMAKE_OBJECTIVE_CFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
|
5 |
QMAKE_OBJECTIVE_CFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
|
6 |
QMAKE_OBJECTIVE_CFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
|
7 |
QMAKE_OBJECTIVE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
|
8 |
QMAKE_OBJECTIVE_CFLAGS_X86 = $$QMAKE_CFLAGS_X86
|
|
9 |
QMAKE_OBJECTIVE_CFLAGS_PPC = $$QMAKE_CFLAGS_PPC
|
|
10 |
QMAKE_OBJECTIVE_CFLAGS_HIDESYMS = $$QMAKE_CXXFLAGS_HIDESYMS
|
|
11 |
|
|
12 |
OBJECTIVE_C_OBJECTS_DIR = $$OBJECTS_DIR
|
|
13 |
isEmpty(OBJECTIVE_C_OBJECTS_DIR):OBJECTIVE_C_OBJECTS_DIR = .
|
|
14 |
isEmpty(QMAKE_EXT_OBJECTIVE_C):QMAKE_EXT_OBJECTIVE_C = .mm .m
|
|
15 |
|
|
16 |
objective_c.dependency_type = TYPE_C
|
|
17 |
objective_c.variables = QMAKE_OBJECTIVE_CFLAGS
|
|
18 |
objective_c.commands = $$QMAKE_OBJECTIVE_CC -c $(QMAKE_COMP_QMAKE_OBJECTIVE_CFLAGS) $(DEFINES) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
|
|
19 |
objective_c.output = $$OBJECTIVE_C_OBJECTS_DIR/${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
|
|
20 |
objective_c.input = OBJECTIVE_SOURCES
|
|
21 |
objective_c.name = Compile ${QMAKE_FILE_IN}
|
|
22 |
silent:objective_c.commands = @echo objective-c ${QMAKE_FILE_IN} && $$objective_c.commands
|
|
23 |
QMAKE_EXTRA_COMPILERS += objective_c
|