[a3ed4b]: tests / circuit / CMakeLists.txt  Maximize  Restore  History

Download this file

23 lines (17 with data), 511 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
# this is the directory, where a test project is located
add_definitions( "-DPROJECTS_SOURCE_DIR=\\\"${CMAKE_SOURCE_DIR}/tests/data\\\"" )
include_directories(
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/lib
${CMAKE_SOURCE_DIR}/src/plugins
)
set(circuitModelTest_SRCS
circuitmodeltest.cpp
)
kde4_add_unit_test(circuitmodeltest ${circuitModelTest_SRCS})
target_link_libraries( circuitmodeltest
${QT_QTTEST_LIBRARY}
${KDEVPLATFORM_TESTS_LIBRARIES}
circuit
ktlinterfaces
)