glm/CMakeLists.txt

26 lines
586 B
CMake
Raw Normal View History

2010-04-29 10:56:52 +00:00
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_policy(VERSION 2.6)
project(glm)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
2011-01-11 16:23:45 +00:00
#add_definitions(-S)
2011-01-19 12:48:30 +00:00
#add_definitions(-s)
2011-02-08 14:19:21 +00:00
#add_definitions(-msse2)
2011-01-19 12:48:30 +00:00
#add_definitions(-m32)
#add_definitions(-mfpmath=387)
#add_definitions(-ffast-math)
#add_definitions(-O3)
2010-04-29 10:56:52 +00:00
2010-12-17 01:33:17 +00:00
include_directories(".")
2010-04-29 10:56:52 +00:00
add_subdirectory(glm)
2010-12-17 01:33:17 +00:00
add_subdirectory(test)
2011-01-19 16:14:43 +00:00
add_subdirectory(bench)
2010-04-29 10:56:52 +00:00
add_subdirectory(doc)
2010-04-29 14:45:55 +00:00
option(GLM_DEVELOPMENT_MODE "GLM development" OFF)
if(NOT GLM_DEVELOPMENT_MODE)
message(FATAL_ERROR "GLM is a header only library, no need to build it")
endif()