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 regels
418 B

  1. # cotire example project
  2. cmake_minimum_required(VERSION 2.8.12)
  3. if (POLICY CMP0058)
  4. # Ninja requires custom command byproducts to be explicit
  5. cmake_policy(SET CMP0058 NEW)
  6. endif()
  7. project (CotireExample)
  8. set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake")
  9. if (NOT CMAKE_VERSION VERSION_LESS "3.1.0")
  10. set (CMAKE_CXX_STANDARD "98")
  11. set (CMAKE_CXX_EXTENSIONS OFF)
  12. endif()
  13. include(cotire)
  14. add_subdirectory(src)