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.

22 lines
513 B

  1. cmake_minimum_required(VERSION 2.6)
  2. project(sylvan C CXX)
  3. set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
  4. find_package(GMP REQUIRED)
  5. include_directories(${GMP_INCLUDE_DIR})
  6. #message(STATUS "Include directory ${GMP_INCLUDE_DIR}")
  7. include_directories(src)
  8. add_subdirectory(src)
  9. option(SYLVAN_BUILD_TEST "Build test programs" ON)
  10. if(SYLVAN_BUILD_TEST)
  11. add_subdirectory(test)
  12. endif()
  13. option(SYLVAN_BUILD_EXAMPLES "Build example tools" ON)
  14. if(SYLVAN_BUILD_EXAMPLES)
  15. add_subdirectory(examples)
  16. endif()