mirror of
https://github.com/gwm17/catima.git
synced 2024-11-27 04:28:51 -05:00
17 lines
571 B
CMake
17 lines
571 B
CMake
|
add_definitions(-Dlest_FEATURE_COLOURISE=1)
|
||
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/tests)
|
||
|
|
||
|
set(CATIMA_TESTS test_calculations test_generated test_storage test_structures test_dedx_range)
|
||
|
|
||
|
foreach(entry ${CATIMA_TESTS})
|
||
|
add_executable(${entry} ${entry}.cpp)
|
||
|
target_link_libraries(${entry} catima)
|
||
|
endforeach(entry in ${CATIMA_TESTS})
|
||
|
|
||
|
|
||
|
set(C_TESTS test_c)
|
||
|
MESSAGE( STATUS "CMAKE_C_COMPILER: " ${CMAKE_C_COMPILER} )
|
||
|
foreach(entry ${C_TESTS})
|
||
|
add_executable(${entry} ${entry}.c)
|
||
|
target_link_libraries(${entry} catima)
|
||
|
endforeach(entry in ${C_TESTS})
|