new 4475edb243ed4627f4c5f2c470ca40b3def034d4
[tagua/yd.git] / tests / settings / CMakeLists.txt
blobe4e0a3f153b8a7382b252917f9062a6e893f24ff
1 set(main_dir "../../src")
3 SET(settings_SRC
4   ${main_dir}/mastersettings.cpp
5   ${main_dir}/settings.cpp
6   settingstest.cpp
7   ../cppunit_main.cpp
10 include_directories(
11   ${KDE4_INCLUDES}
12   ${LUA_INCLUDE_DIRS}
13   ${Boost_INCLUDE_DIRS}
14   ${CMAKE_CURRENT_BINARY_DIR}
15   ${CMAKE_CURRENT_SOURCE_DIR}/${main_dir}
18 kde4_add_executable(settings_test ${settings_SRC})
19 target_link_libraries(settings_test ${KDE4_KDEUI_LIBS} ${CPPUNIT_LIBRARIES})
21 add_test(settings settings_test)