CMakeLists.txt 593 B

12345678910111213141516171819
  1. cmake_minimum_required(VERSION 3.3)
  2. project (Mycorrhiza C)
  3. #add_definitions(--std=c99)
  4. set(CMAKE_EXE_LINKER_FLAGS "-lrt")
  5. find_package(PkgConfig)
  6. #find_package(kiro REQUIRED)
  7. pkg_check_modules(KIRO kiro>=1.0 REQUIRED)
  8. include_directories(${KIRO_INCLUDE_DIRS})
  9. add_executable(mycoagent test/mycoagent.c)
  10. add_executable(mycoagent2 test/mycoagent2.c)
  11. add_executable(mycoagent3 test/mycoagent3.c)
  12. add_executable(mycodaemon test/mycodaemon.c)
  13. add_executable(mycoindexer test/mycoindexer.c)
  14. #target_link_libraries(Mycorrhiza ${KIRO_LIBRARIES})
  15. target_link_libraries(mycoagent ${KIRO_LIBRARIES})