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
448 B

1 year ago
  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. add_executable(main
  12. ${SRCS}
  13. main.cpp
  14. )
  15. target_link_libraries(main pthread)