mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 20:49:41 +00:00
52719a1d66
This commit adds a new target property AUTOMOC_MOC_OPTIONS, which can be set to add extra options for the moc invocations done via automoc. This is equivalent to the OPTIONS parameter in the qt4_wrap_cpp() macro. Alex
15 lines
680 B
CMake
15 lines
680 B
CMake
set(AM_SOURCES "@_moc_files@" )
|
|
set(AM_HEADERS "@_moc_headers@" )
|
|
set(AM_MOC_COMPILE_DEFINITIONS "@_moc_compile_defs@")
|
|
set(AM_MOC_DEFINITIONS "@_moc_defs@")
|
|
set(AM_MOC_INCLUDES "@_moc_incs@")
|
|
set(AM_MOC_OPTIONS "@_moc_options@")
|
|
set(AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE "@CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE@")
|
|
set(AM_CMAKE_BINARY_DIR "@CMAKE_BINARY_DIR@/")
|
|
set(AM_CMAKE_SOURCE_DIR "@CMAKE_SOURCE_DIR@/")
|
|
set(AM_QT_MOC_EXECUTABLE "@QT_MOC_EXECUTABLE@")
|
|
set(AM_CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@/")
|
|
set(AM_CMAKE_CURRENT_BINARY_DIR "@CMAKE_CURRENT_BINARY_DIR@/")
|
|
set(AM_QT_VERSION_MAJOR "@QT_VERSION_MAJOR@" )
|
|
set(AM_TARGET_NAME "@_moc_target_name@")
|