You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
25 lines
586 B
25 lines
586 B
cmake_minimum_required(VERSION 2.6 FATAL_ERROR) |
|
cmake_policy(VERSION 2.6) |
|
|
|
project(glm) |
|
|
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS) |
|
#add_definitions(-S) |
|
#add_definitions(-s) |
|
#add_definitions(-msse2) |
|
#add_definitions(-m32) |
|
#add_definitions(-mfpmath=387) |
|
#add_definitions(-ffast-math) |
|
#add_definitions(-O3) |
|
|
|
include_directories(".") |
|
|
|
add_subdirectory(glm) |
|
add_subdirectory(test) |
|
add_subdirectory(bench) |
|
add_subdirectory(doc) |
|
|
|
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()
|
|
|