CMakeLists.txt 329 B

12345678910111213141516171819
  1. cmake_minimum_required(VERSION 2.6)
  2. project(GamePlay)
  3. set(GAMEPLAY_VERSION 1.5.0)
  4. # debug
  5. message( "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}" )
  6. if( ${CMAKE_BUILD_TYPE} STREQUAL "DEBUG" )
  7. add_definitions(-D_DEBUG)
  8. endif()
  9. # gameplay library
  10. add_subdirectory(gameplay)
  11. # gameplay samples
  12. add_subdirectory(gameplay-samples)