2015-08-25 06:56:05 +00:00
|
|
|
cmake_minimum_required(VERSION 3.0)
|
|
|
|
project(zeus)
|
|
|
|
|
2015-08-12 01:41:28 +00:00
|
|
|
if (NOT DEFINED ATHENA_INCLUDE_DIR)
|
|
|
|
set(ATHENA_INCLUDE_DIR ../Athena/include)
|
|
|
|
endif()
|
|
|
|
include_directories(include ${ATHENA_INCLUDE_DIR})
|
|
|
|
|
2015-08-31 03:39:41 +00:00
|
|
|
if(NOT WIN32)
|
2015-11-02 18:44:46 +00:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1 -msse4.2 -std=c++14")
|
2015-08-31 03:39:41 +00:00
|
|
|
endif()
|
2015-08-12 01:41:28 +00:00
|
|
|
|
2015-07-20 02:57:16 +00:00
|
|
|
add_library(Math
|
2015-08-12 01:41:28 +00:00
|
|
|
src/CVector3f.cpp
|
|
|
|
src/Math.cpp
|
|
|
|
src/CQuaternion.cpp
|
|
|
|
src/CMatrix3f.cpp
|
|
|
|
src/CProjection.cpp
|
|
|
|
src/CPlane.cpp
|
|
|
|
src/CTransform.cpp
|
|
|
|
src/CColor.cpp
|
|
|
|
src/CVector2f.cpp
|
|
|
|
src/CRectangle.cpp
|
|
|
|
src/CVector4f.cpp
|
|
|
|
src/CMatrix4f.cpp
|
|
|
|
src/CAABox.cpp
|
2015-07-20 02:57:16 +00:00
|
|
|
|
2015-08-12 01:41:28 +00:00
|
|
|
include/Math.hpp
|
|
|
|
include/CQuaternion.hpp
|
|
|
|
include/CMatrix3f.hpp
|
|
|
|
include/CProjection.hpp
|
|
|
|
include/CAxisAngle.hpp
|
2015-08-25 22:04:15 +00:00
|
|
|
include/CRelAngle.hpp
|
2015-08-12 01:41:28 +00:00
|
|
|
include/CPlane.hpp
|
|
|
|
include/CTransform.hpp
|
|
|
|
include/CColor.hpp
|
|
|
|
include/Global.hpp
|
|
|
|
include/MathLib.hpp
|
2015-10-08 00:21:38 +00:00
|
|
|
include/TVectorUnion.hpp
|
2015-08-12 01:41:28 +00:00
|
|
|
include/CVector2f.hpp
|
2015-10-08 00:21:38 +00:00
|
|
|
include/CVector3f.hpp
|
|
|
|
include/CVector3d.hpp
|
|
|
|
include/CVector4f.hpp
|
2015-08-12 01:41:28 +00:00
|
|
|
include/CRectangle.hpp
|
|
|
|
include/CMatrix4f.hpp
|
|
|
|
include/CFrustum.hpp
|
|
|
|
include/CAABox.hpp
|
2015-08-29 04:49:19 +00:00
|
|
|
include/COBBox.hpp
|
|
|
|
include/CLine.hpp
|
|
|
|
include/CSphere.hpp
|
2015-11-02 18:44:46 +00:00
|
|
|
include/CUnitVector.hpp
|
|
|
|
include/CMRay.hpp)
|
2015-07-20 02:57:16 +00:00
|
|
|
|
2015-08-25 06:56:05 +00:00
|
|
|
add_subdirectory(test)
|
|
|
|
|