zeus/CMakeLists.txt

66 lines
1.6 KiB
CMake
Raw Normal View History

2017-11-14 04:53:41 +00:00
cmake_minimum_required(VERSION 3.10 FATAL_ERROR) # because of c++17
2015-08-25 06:56:05 +00:00
project(zeus)
2017-11-13 06:14:37 +00:00
set(CMAKE_CXX_STANDARD 17)
2017-06-18 02:53:08 +00:00
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if (NOT DEFINED ATHENA_INCLUDE_DIR)
2016-03-04 23:03:26 +00:00
set(ATHENA_INCLUDE_DIR ../athena/include)
endif()
include_directories(include ${ATHENA_INCLUDE_DIR})
set(SOURCES
2016-09-01 19:38:16 +00:00
src/CAxisAngle.cpp
src/CVector3f.cpp
src/Math.cpp
src/CQuaternion.cpp
src/CMatrix3f.cpp
src/CProjection.cpp
src/CPlane.cpp
2017-11-28 02:46:40 +00:00
src/CFrustum.cpp
src/CTransform.cpp
src/CColor.cpp
src/CVector2f.cpp
src/CVector4f.cpp
src/CMatrix4f.cpp
2017-03-20 05:06:53 +00:00
src/CAABox.cpp
2018-11-09 00:25:26 +00:00
src/COBBox.cpp
2017-03-20 05:06:53 +00:00
src/CEulerAngles.cpp)
add_library(zeus
${SOURCES}
2016-03-04 23:03:26 +00:00
include/zeus/Math.hpp
include/zeus/CQuaternion.hpp
include/zeus/CMatrix3f.hpp
include/zeus/CProjection.hpp
include/zeus/CAxisAngle.hpp
include/zeus/CRelAngle.hpp
include/zeus/CPlane.hpp
include/zeus/CTransform.hpp
include/zeus/CColor.hpp
include/zeus/Global.hpp
include/zeus/zeus.hpp
include/zeus/CVector2i.hpp
include/zeus/CVector2f.hpp
include/zeus/CVector3f.hpp
include/zeus/CVector3d.hpp
include/zeus/CVector4f.hpp
include/zeus/CRectangle.hpp
include/zeus/CMatrix4f.hpp
include/zeus/CFrustum.hpp
include/zeus/CAABox.hpp
include/zeus/COBBox.hpp
2017-03-30 22:35:40 +00:00
include/zeus/CLine.hpp
2016-04-26 10:36:44 +00:00
include/zeus/CLineSeg.hpp
2016-03-04 23:03:26 +00:00
include/zeus/CSphere.hpp
include/zeus/CUnitVector.hpp
2017-03-20 05:06:53 +00:00
include/zeus/CMRay.hpp
2018-12-08 01:16:50 +00:00
include/zeus/CEulerAngles.hpp
include/zeus/simd/simd.hpp
include/zeus/simd/simd_sse.hpp
include/zeus/simd/simd_avx.hpp
include/zeus/simd/parallelism_v2_simd.hpp)
2015-07-20 02:57:16 +00:00
2015-08-25 06:56:05 +00:00
add_subdirectory(test)