AUTOMOC_COMPILER_PREDEFINES

Boolean value used by AUTOMOC to determine if the compiler pre definitions file moc_predefs.h should be generated.

CMake generates a moc_predefs.h file with compiler pre definitions from the output of the command defined in CMAKE_CXX_COMPILER_PREDEFINES_COMMAND when

moc_predefs.h file, which is generated in AUTOGEN_BUILD_DIR , is passed to moc as the argument to the --include 选项。

默认情况下 AUTOMOC_COMPILER_PREDEFINES is initialized from CMAKE_AUTOMOC_COMPILER_PREDEFINES , which is ON by default.

cmake-qt(7) manual for more information on using CMake with Qt.

上一话题

AUTOGEN_TARGET_DEPENDS

下一话题

AUTOMOC_DEPEND_FILTERS

本页