diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-05-15 17:17:41 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-05-15 17:24:18 (GMT) |
commit | 5c0f2a131f358ac11da52a919f637b57d34cc544 (patch) | |
tree | 9750c919a1e9ba333516a02a411d6f7562c52249 /Tests/QtAutomoc/defines_test/CMakeLists.txt | |
parent | 6489015c75367493c9ea6a7bea69b67a88972651 (diff) | |
download | CMake-5c0f2a131f358ac11da52a919f637b57d34cc544.zip CMake-5c0f2a131f358ac11da52a919f637b57d34cc544.tar.gz CMake-5c0f2a131f358ac11da52a919f637b57d34cc544.tar.bz2 |
Test the use of target transitive compile definitions with moc.
Diffstat (limited to 'Tests/QtAutomoc/defines_test/CMakeLists.txt')
-rw-r--r-- | Tests/QtAutomoc/defines_test/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/QtAutomoc/defines_test/CMakeLists.txt b/Tests/QtAutomoc/defines_test/CMakeLists.txt new file mode 100644 index 0000000..ad4e684 --- /dev/null +++ b/Tests/QtAutomoc/defines_test/CMakeLists.txt @@ -0,0 +1,6 @@ + +include_directories(${CMAKE_CURRENT_BINARY_DIR}) + +add_executable(defines_test defines_test.cpp) +set_target_properties(defines_test PROPERTIES AUTOMOC TRUE) +target_link_libraries(defines_test Qt4::QtGui) |