zeus/CMakeLists.txt

57 lines
1.2 KiB
CMake
Raw Normal View History

2015-08-24 23:56:05 -07:00
cmake_minimum_required(VERSION 3.0)
project(zeus)
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-11-02 10:44:46 -08:00
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1 -msse4.2 -std=c++14")
2015-08-30 20:39:41 -07:00
endif()
2015-07-19 19:57:16 -07:00
add_library(Math
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
include/Math.hpp
include/CQuaternion.hpp
include/CMatrix3f.hpp
include/CProjection.hpp
include/CAxisAngle.hpp
2015-08-25 15:04:15 -07:00
include/CRelAngle.hpp
include/CPlane.hpp
include/CTransform.hpp
include/CColor.hpp
include/Global.hpp
include/MathLib.hpp
include/TVectorUnion.hpp
2016-02-13 19:39:47 -08:00
include/CVector2i.hpp
include/CVector2f.hpp
include/CVector3f.hpp
include/CVector3d.hpp
include/CVector4f.hpp
include/CRectangle.hpp
include/CMatrix4f.hpp
include/CFrustum.hpp
include/CAABox.hpp
2015-08-28 21:49:19 -07:00
include/COBBox.hpp
include/CLine.hpp
include/CSphere.hpp
2015-11-02 10:44:46 -08:00
include/CUnitVector.hpp
include/CMRay.hpp)
2015-07-19 19:57:16 -07:00
2015-08-24 23:56:05 -07:00
add_subdirectory(test)