2015-08-11 18:41:28 -07:00
|
|
|
if (NOT DEFINED ATHENA_INCLUDE_DIR)
|
|
|
|
set(ATHENA_INCLUDE_DIR ../Athena/include)
|
|
|
|
endif()
|
|
|
|
include_directories(include ${ATHENA_INCLUDE_DIR})
|
|
|
|
|
2015-08-30 20:39:41 -07:00
|
|
|
if(NOT WIN32)
|
2015-07-19 19:57:16 -07:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1")
|
2015-08-30 20:39:41 -07:00
|
|
|
endif()
|
2015-08-11 18:41:28 -07:00
|
|
|
|
2015-07-19 19:57:16 -07:00
|
|
|
add_library(Math
|
2015-08-11 18:41:28 -07: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-19 19:57:16 -07:00
|
|
|
|
2015-08-11 18:41:28 -07:00
|
|
|
include/CVector3f.hpp
|
|
|
|
include/Math.hpp
|
|
|
|
include/CQuaternion.hpp
|
|
|
|
include/CMatrix3f.hpp
|
|
|
|
include/CProjection.hpp
|
|
|
|
include/CAxisAngle.hpp
|
|
|
|
include/CPlane.hpp
|
|
|
|
include/CTransform.hpp
|
|
|
|
include/CColor.hpp
|
|
|
|
include/Global.hpp
|
|
|
|
include/MathLib.hpp
|
|
|
|
include/CVector2f.hpp
|
|
|
|
include/CRectangle.hpp
|
|
|
|
include/CMatrix4f.hpp
|
|
|
|
include/TVectorUnion.hpp
|
|
|
|
include/CVector4f.hpp
|
|
|
|
include/CFrustum.hpp
|
|
|
|
include/CAABox.hpp
|
|
|
|
include/COBBox.hpp)
|
2015-07-19 19:57:16 -07:00
|
|
|
|