glm/test/external/gli/CMakeLists.txt

33 lines
1.1 KiB
CMake
Raw Normal View History

2016-11-18 22:16:29 +00:00
set(NAME gli_dummy)
2011-06-23 19:07:13 +00:00
file(GLOB ROOT_SOURCE *.cpp)
file(GLOB ROOT_INLINE *.inl)
file(GLOB ROOT_HEADER *.hpp)
2016-11-18 22:16:29 +00:00
file(GLOB ROOT_TEXT ../*.txt)
file(GLOB ROOT_MD ../*.md)
file(GLOB ROOT_KMG ../doc/spec/*.html)
2011-06-23 19:07:13 +00:00
file(GLOB_RECURSE CORE_SOURCE ./core/*.cpp)
file(GLOB_RECURSE CORE_INLINE ./core/*.inl)
file(GLOB_RECURSE CORE_HEADER ./core/*.hpp)
file(GLOB_RECURSE GTX_SOURCE ./gtx/*.cpp)
file(GLOB_RECURSE GTX_INLINE ./gtx/*.inl)
file(GLOB_RECURSE GTX_HEADER ./gtx/*.hpp)
2016-11-18 22:16:29 +00:00
source_group("KMG Spec" FILES ${ROOT_KMG})
source_group("Text Files" FILES ${ROOT_TEXT} ${ROOT_MD})
2011-06-23 19:07:13 +00:00
source_group("Core Files" FILES ${CORE_SOURCE})
source_group("Core Files" FILES ${CORE_INLINE})
source_group("Core Files" FILES ${CORE_HEADER})
source_group("GTX Files" FILES ${GTX_SOURCE})
source_group("GTX Files" FILES ${GTX_INLINE})
source_group("GTX Files" FILES ${GTX_HEADER})
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
2016-11-18 22:16:29 +00:00
add_executable(${NAME} ${ROOT_TEXT} ${ROOT_MD} ${ROOT_KMG}
${ROOT_SOURCE} ${ROOT_INLINE} ${ROOT_HEADER}
2011-06-23 19:07:13 +00:00
${CORE_SOURCE} ${CORE_INLINE} ${CORE_HEADER}
2016-11-18 22:16:29 +00:00
${GTX_SOURCE} ${GTX_INLINE} ${GTX_HEADER})