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.

20 lines
560 B

  1. cmake_minimum_required (VERSION 2.8.6)
  2. # Set project name
  3. project (ltl2ba CXX C)
  4. # Main Sources
  5. file(GLOB_RECURSE LTL2BA_HEADERS ${PROJECT_SOURCE_DIR}/src/*.h)
  6. file(GLOB_RECURSE LTL2BA_SOURCES ${PROJECT_SOURCE_DIR}/src/*.c)
  7. # Add base folder for better inclusion paths
  8. include_directories("${PROJECT_SOURCE_DIR}/src")
  9. if(MSVC)
  10. # required for GMM to compile, ugly error directive in their code
  11. add_definitions(/D_SCL_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS)
  12. endif()
  13. # Add the executables
  14. add_executable(ltl2ba ${LTL2BA_SOURCES} ${LTL2BA_HEADERS})