2017-08-17 08:54:16 +00:00
|
|
|
cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
|
|
|
|
cmake_policy(VERSION 3.2)
|
2010-04-29 10:56:52 +00:00
|
|
|
|
2016-07-16 21:18:23 +00:00
|
|
|
set(GLM_VERSION "0.9.9")
|
2017-08-17 08:54:16 +00:00
|
|
|
project(glm VERSION ${GLM_VERSION} LANGUAGES CXX)
|
2019-11-02 16:50:26 +00:00
|
|
|
|
2019-11-02 15:34:18 +00:00
|
|
|
enable_testing()
|
2017-08-17 08:54:16 +00:00
|
|
|
|
2019-11-02 16:50:26 +00:00
|
|
|
include_directories("${PROJECT_SOURCE_DIR}")
|
2019-10-15 12:49:30 +00:00
|
|
|
add_subdirectory(glm)
|
2019-11-02 16:50:26 +00:00
|
|
|
|
|
|
|
##################################
|
|
|
|
# CMake test
|
2019-10-15 12:49:30 +00:00
|
|
|
|
|
|
|
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|
2019-10-16 15:03:31 +00:00
|
|
|
add_subdirectory(test)
|
|
|
|
|
2019-10-15 12:49:30 +00:00
|
|
|
endif(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
2019-11-02 16:57:32 +00:00
|
|
|
|
|
|
|
##################################
|
|
|
|
# CMake install / uninstall script
|
|
|
|
add_subdirectory(cmake)
|