summaryrefslogtreecommitdiffstats
path: root/Modules/AutogenInfo.cmake.in
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-02-19 15:46:47 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-21 15:38:50 (GMT)
commit9d1db7d7c3696108fd0fa1162893076d9a59b652 (patch)
tree103b28cbcf4f4a1350b6fe677a90c638f27da39f /Modules/AutogenInfo.cmake.in
parent0ab817fa1e1c9bae8aa63c331d4483d9d9b190c5 (diff)
downloadCMake-9d1db7d7c3696108fd0fa1162893076d9a59b652.zip
CMake-9d1db7d7c3696108fd0fa1162893076d9a59b652.tar.gz
CMake-9d1db7d7c3696108fd0fa1162893076d9a59b652.tar.bz2
Autogen: Overhaul and simplify AutogenInfo.cmake file generation
Diffstat (limited to 'Modules/AutogenInfo.cmake.in')
-rw-r--r--Modules/AutogenInfo.cmake.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/AutogenInfo.cmake.in b/Modules/AutogenInfo.cmake.in
index 3135909..b647ecf 100644
--- a/Modules/AutogenInfo.cmake.in
+++ b/Modules/AutogenInfo.cmake.in
@@ -1,5 +1,5 @@
# Target names
-set(AM_TARGET_NAME @_moc_target_name@)
+set(AM_TARGET_NAME @_autogen_target_name@)
set(AM_ORIGIN_TARGET_NAME @_origin_target_name@)
# Directories and files
set(AM_CMAKE_BINARY_DIR "@CMAKE_BINARY_DIR@/")
@@ -10,16 +10,16 @@ set(AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE "@CMAKE_INCLUDE_DIRECTORIES_PROJ
set(AM_SOURCES @_sources@)
set(AM_HEADERS @_headers@)
# Qt environment
-set(AM_QT_VERSION_MAJOR "@_target_qt_version@")
-set(AM_QT_MOC_EXECUTABLE "@_qt_moc_executable@")
-set(AM_QT_UIC_EXECUTABLE "@_qt_uic_executable@")
-set(AM_QT_RCC_EXECUTABLE "@_qt_rcc_executable@")
+set(AM_QT_VERSION_MAJOR @_qt_version_major@)
+set(AM_QT_MOC_EXECUTABLE @_qt_moc_executable@)
+set(AM_QT_UIC_EXECUTABLE @_qt_uic_executable@)
+set(AM_QT_RCC_EXECUTABLE @_qt_rcc_executable@)
# MOC settings
set(AM_MOC_SKIP @_moc_skip@)
set(AM_MOC_COMPILE_DEFINITIONS @_moc_compile_defs@)
set(AM_MOC_INCLUDES @_moc_incs@)
set(AM_MOC_OPTIONS @_moc_options@)
-set(AM_MOC_RELAXED_MODE "@_moc_relaxed_mode@")
+set(AM_MOC_RELAXED_MODE @_moc_relaxed_mode@)
# UIC settings
set(AM_UIC_SKIP @_uic_skip@)
set(AM_UIC_TARGET_OPTIONS @_uic_target_options@)