blob: 3a595c583f6b3841a5c7fe72d2c03fd2362d1c17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Tell CMake to run moc when necessary:
set(CMAKE_AUTOMOC ON)
# As moc files are generated in the binary dir, tell CMake
# to always look for includes there:
set(CMAKE_INCLUDE_CURRENT_DIR ON)
SET(example_name decoration)
SET(KIT_SRCS
main.cpp
)
ADD_EXECUTABLE(${example_name} ${KIT_SRCS})
TARGET_LINK_LIBRARIES(${example_name} ${PROJECT_NAME})
|