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.

25 lines
492 B

  1. include(util/CMakeLists.txt)
  2. set(CMAKE_CXX_STANDARD 20)
  3. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'")
  4. add_definitions(-DLOG_DEBUG)
  5. cmake_minimum_required(VERSION 3.0...3.22)
  6. set(CMAKE_BUILD_TYPE Debug)
  7. project(
  8. Minigrid2PRISM
  9. VERSION 0.1
  10. LANGUAGES CXX)
  11. find_package(yaml-cpp)
  12. add_executable(main
  13. ${SRCS}
  14. main.cpp
  15. )
  16. target_link_libraries(main pthread yaml-cpp::yaml-cpp)