2018-01-01 00:40:17 +01:00
|
|
|
# Copyright (C) 2008-2018 TrinityCore <https://www.trinitycore.org/>
|
2010-06-21 07:17:26 +02:00
|
|
|
#
|
|
|
|
|
# This file is free software; as a special exception the author gives
|
|
|
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
|
|
|
# modifications, as long as this notice is preserved.
|
|
|
|
|
#
|
|
|
|
|
# This program is distributed in the hope that it will be useful, but
|
|
|
|
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
|
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
|
|
set(g3dlib_STAT_SRCS
|
2010-08-27 01:52:05 +02:00
|
|
|
source/AABox.cpp
|
|
|
|
|
source/Any.cpp
|
2014-08-22 16:58:23 +02:00
|
|
|
source/AnyTableReader.cpp
|
2010-08-27 01:52:05 +02:00
|
|
|
source/BinaryFormat.cpp
|
|
|
|
|
source/BinaryInput.cpp
|
|
|
|
|
source/BinaryOutput.cpp
|
|
|
|
|
source/Box.cpp
|
|
|
|
|
source/Capsule.cpp
|
|
|
|
|
source/CollisionDetection.cpp
|
|
|
|
|
source/CoordinateFrame.cpp
|
|
|
|
|
source/Crypto.cpp
|
|
|
|
|
source/Cylinder.cpp
|
|
|
|
|
source/debugAssert.cpp
|
2010-08-27 13:22:05 +02:00
|
|
|
source/FileSystem.cpp
|
2010-08-27 01:52:05 +02:00
|
|
|
source/fileutils.cpp
|
|
|
|
|
source/format.cpp
|
|
|
|
|
source/g3dfnmatch.cpp
|
|
|
|
|
source/g3dmath.cpp
|
2014-08-22 16:58:23 +02:00
|
|
|
source/GThread.cpp
|
2010-08-27 01:52:05 +02:00
|
|
|
source/Line.cpp
|
|
|
|
|
source/LineSegment.cpp
|
|
|
|
|
source/Log.cpp
|
|
|
|
|
source/Matrix3.cpp
|
|
|
|
|
source/Matrix4.cpp
|
|
|
|
|
source/MemoryManager.cpp
|
2010-08-27 13:22:05 +02:00
|
|
|
source/PhysicsFrame.cpp
|
2010-08-27 01:52:05 +02:00
|
|
|
source/Plane.cpp
|
|
|
|
|
source/prompt.cpp
|
|
|
|
|
source/Quat.cpp
|
|
|
|
|
source/Random.cpp
|
|
|
|
|
source/Ray.cpp
|
|
|
|
|
source/RegistryUtil.cpp
|
|
|
|
|
source/Sphere.cpp
|
|
|
|
|
source/stringutils.cpp
|
|
|
|
|
source/System.cpp
|
|
|
|
|
source/TextInput.cpp
|
|
|
|
|
source/TextOutput.cpp
|
|
|
|
|
source/Triangle.cpp
|
2010-08-27 13:22:05 +02:00
|
|
|
source/uint128.cpp
|
2010-08-27 01:52:05 +02:00
|
|
|
source/UprightFrame.cpp
|
|
|
|
|
source/Vector2.cpp
|
|
|
|
|
source/Vector3.cpp
|
|
|
|
|
source/Vector4.cpp
|
2010-06-21 07:17:26 +02:00
|
|
|
)
|
2010-08-27 01:52:05 +02:00
|
|
|
|
2010-06-08 08:04:26 +02:00
|
|
|
add_library(g3dlib STATIC ${g3dlib_STAT_SRCS})
|
2010-06-21 07:17:26 +02:00
|
|
|
|
2016-03-14 15:27:33 +01:00
|
|
|
target_include_directories(g3dlib
|
|
|
|
|
PUBLIC
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
|
|
|
|
2010-08-30 22:58:37 +02:00
|
|
|
target_link_libraries(g3dlib
|
2017-10-31 01:29:51 +01:00
|
|
|
PRIVATE
|
|
|
|
|
trinity-dependency-interface
|
2016-03-14 15:27:33 +01:00
|
|
|
PUBLIC
|
|
|
|
|
zlib
|
|
|
|
|
threads)
|
|
|
|
|
|
|
|
|
|
set_target_properties(g3dlib
|
|
|
|
|
PROPERTIES
|
|
|
|
|
FOLDER
|
|
|
|
|
"dep")
|