summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-12-20 19:20:32 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-12-20 19:20:32 (GMT)
commit16dacf3a6a85af2b0b07a4634c3b5dfbe6ece3ca (patch)
treee846b63371b8a6f50f20f8a3382631f6f6320627 /Tests
parent4e985000124931cb8219da35cc507b4ccf05d30f (diff)
parente474dcb23197489640456b46862a5aa7019834a5 (diff)
downloadCMake-16dacf3a6a85af2b0b07a4634c3b5dfbe6ece3ca.zip
CMake-16dacf3a6a85af2b0b07a4634c3b5dfbe6ece3ca.tar.gz
CMake-16dacf3a6a85af2b0b07a4634c3b5dfbe6ece3ca.tar.bz2
Merge topic 'AutomocFineTuning'
e474dcb automoc: improved warning message in relaxed mode 96fc5d5 automoc: default to strict mode, use CMAKE_AUTOMOC_RELAXED_MODE
Diffstat (limited to 'Tests')
-rw-r--r--Tests/QtAutomoc/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/QtAutomoc/CMakeLists.txt b/Tests/QtAutomoc/CMakeLists.txt
index ebfb4f5..d255a5a 100644
--- a/Tests/QtAutomoc/CMakeLists.txt
+++ b/Tests/QtAutomoc/CMakeLists.txt
@@ -10,6 +10,9 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_definitions(-DFOO)
+# enable relaxed mode so automoc can handle all the special cases:
+set(CMAKE_AUTOMOC_RELAXED_MODE TRUE)
+
# create an executable and a library target, both requiring automoc:
add_library(codeeditorLib STATIC codeeditor.cpp)