You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
381 B
15 lines
381 B
cmake_minimum_required(VERSION 2.6)
|
|
project(sylvan C CXX)
|
|
enable_testing()
|
|
|
|
add_executable(sylvan_test main.c)
|
|
target_link_libraries(sylvan_test sylvan)
|
|
|
|
add_executable(test_basic test_basic.c)
|
|
target_link_libraries(test_basic sylvan)
|
|
|
|
add_executable(test_cxx test_cxx.cpp)
|
|
target_link_libraries(test_cxx sylvan stdc++)
|
|
|
|
add_test(test_cxx test_cxx)
|
|
add_test(test_basic test_basic)
|