Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

22 lignes
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)