CMakeLists.txt 386 B

123456789101112131415
  1. cmake_minimum_required(VERSION 3.12)
  2. project(Irrlicht LANGUAGES CXX)
  3. message(STATUS "*** Building IrrlichtMt ***")
  4. set(CMAKE_CXX_STANDARD 17)
  5. set(CMAKE_CXX_STANDARD_REQUIRED ON)
  6. if(NOT CMAKE_BUILD_TYPE)
  7. set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type: Debug or Release" FORCE)
  8. endif()
  9. list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
  10. add_subdirectory(src)