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

  1. cmake_minimum_required(VERSION 2.6)
  2. project(sylvan C CXX)
  3. enable_testing()
  4. add_executable(sylvan_test main.c)
  5. target_link_libraries(sylvan_test sylvan)
  6. add_executable(test_basic test_basic.c)
  7. target_link_libraries(test_basic sylvan)
  8. add_executable(test_cxx test_cxx.cpp)
  9. target_link_libraries(test_cxx sylvan stdc++)
  10. add_test(test_cxx test_cxx)
  11. add_test(test_basic test_basic)