forked from PredatorCZ/ApexLib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
68 lines (63 loc) · 1.84 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
cmake_minimum_required(VERSION 3.3)
project(ApexLib)
if(NOT TARGETEX_LOCATION)
set(TARGETEX_LOCATION 3rd_party/PreCore/cmake)
include(${TARGETEX_LOCATION}/targetex.cmake)
include(${TARGETEX_LOCATION}/chartype.cmake)
endif()
set(CMAKE_CXX_STANDARD 11)
build_target(
TYPE STATIC
SOURCES
3rd_party/PreCore/datas/MasterPrinter.cpp
3rd_party/PreCore/datas/reflector.cpp
3rd_party/pugixml/src/pugixml.cpp
3rd_party/zstd/lib/common/debug.c
3rd_party/zstd/lib/common/entropy_common.c
3rd_party/zstd/lib/common/error_private.c
3rd_party/zstd/lib/common/fse_decompress.c
3rd_party/zstd/lib/common/pool.c
3rd_party/zstd/lib/common/threading.c
3rd_party/zstd/lib/common/xxhash.c
3rd_party/zstd/lib/common/zstd_common.c
3rd_party/zstd/lib/compress/fse_compress.c
3rd_party/zstd/lib/compress/hist.c
3rd_party/zstd/lib/compress/huf_compress.c
3rd_party/zstd/lib/compress/zstdmt_compress.c
3rd_party/zstd/lib/compress/zstd_compress.c
3rd_party/zstd/lib/compress/zstd_double_fast.c
3rd_party/zstd/lib/compress/zstd_fast.c
3rd_party/zstd/lib/compress/zstd_lazy.c
3rd_party/zstd/lib/compress/zstd_ldm.c
3rd_party/zstd/lib/compress/zstd_opt.c
3rd_party/zstd/lib/decompress/huf_decompress.c
3rd_party/zstd/lib/decompress/zstd_ddict.c
3rd_party/zstd/lib/decompress/zstd_decompress.c
3rd_party/zstd/lib/decompress/zstd_decompress_block.c
src/ADF.cpp
src/ADFReg.cpp
src/AmfMesh.cpp
src/AmfModel.cpp
src/AVTX.cpp
src/DeformPoints.cpp
src/lookup3.c
src/RBM.cpp
src/RBMClassesJC2.cpp
src/RBMClassesJC3.cpp
src/RBMReg.cpp
src/RBNClasses.cpp
src/StreamPatch.cpp
src/StuntAreas.cpp
INCLUDES
src
include
3rd_party/PreCore
3rd_party/pugixml/src
3rd_party/zstd/lib
3rd_party/zstd/lib/common
NO_PROJECT_H
NO_VERINFO
)
if (CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-invalid-offsetof")
endif()