-
Notifications
You must be signed in to change notification settings - Fork 11
/
CMakeLists.txt
492 lines (440 loc) · 15.8 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
cmake_minimum_required(VERSION 3.4.1)
include(ExternalProject)
project(FbxPipeline)
message(STATUS "CMAKE_SYSTEM_INFO_FILE = ${CMAKE_SYSTEM_INFO_FILE}")
message(STATUS "CMAKE_SYSTEM_NAME = ${CMAKE_SYSTEM_NAME}")
message(STATUS "CMAKE_SYSTEM_PROCESSOR = ${CMAKE_SYSTEM_PROCESSOR}")
message(STATUS "CMAKE_SYSTEM = ${CMAKE_SYSTEM}")
message(STATUS "CMAKE_SOURCE_DIR = ${CMAKE_SOURCE_DIR}")
message(STATUS "CMAKE_BINARY_DIR = ${CMAKE_BINARY_DIR}")
message(STATUS "CMAKE_GENERATOR = ${CMAKE_GENERATOR}")
if (NOT BUILD_FOLDER_SUFFIX)
set(BUILD_FOLDER_SUFFIX "build_${CMAKE_CXX_COMPILER_ID}_${CMAKE_GENERATOR}")
string(TOLOWER ${BUILD_FOLDER_SUFFIX} BUILD_FOLDER_SUFFIX)
string(REPLACE " " "_" BUILD_FOLDER_SUFFIX ${BUILD_FOLDER_SUFFIX} )
endif()
message(STATUS "BUILD_FOLDER_SUFFIX = ${BUILD_FOLDER_SUFFIX}")
message(STATUS "FBX_SDK_INCLUDE_DIR = ${FBX_SDK_INCLUDE_DIR}")
message(STATUS "FBX_SDK_LIBRARY_DEBUG = ${FBX_SDK_LIBRARY_DEBUG}")
message(STATUS "FBX_SDK_LIBRARY_RELEASE = ${FBX_SDK_LIBRARY_RELEASE}")
if (FBX_SDK_INCLUDE_DIR STREQUAL "")
message(FATAL_ERROR "FBXSDK not installed (FBX_SDK_INCLUDE_DIR not found).")
elseif(FBX_SDK_LIBRARY_DEBUG STREQUAL "")
message(FATAL_ERROR "FBXSDK not installed (FBX_SDK_LIBRARY_DEBUG not found).")
elseif(FBX_SDK_LIBRARY_RELEASE STREQUAL "")
message(FATAL_ERROR "FBXSDK not installed (FBX_SDK_LIBRARY_RELEASE not found).")
endif()
if (NOT MSVC)
find_package(Boost COMPONENTS system filesystem REQUIRED)
message(STATUS "Boost_INCLUDE_DIRS = ${Boost_INCLUDE_DIRS}")
message(STATUS "Boost_SYSTEM_LIBRARY = ${Boost_SYSTEM_LIBRARY}")
message(STATUS "Boost_FILESYSTEM_LIBRARY = ${Boost_FILESYSTEM_LIBRARY}")
message(STATUS "Boost_LIBRARIES = ${Boost_LIBRARIES}")
endif()
if (WIN32)
set( default_cmake_args
-G "Visual Studio 15 2017 Win64"
-B${BUILD_FOLDER_SUFFIX} "-H." )
elseif(APPLE)
set( default_cmake_args
# -G "Xcode"
-B${BUILD_FOLDER_SUFFIX} -H. )
else()
set( default_cmake_args
-B${BUILD_FOLDER_SUFFIX} -H. )
endif()
ExternalProject_Add(
mathfu
GIT_REPOSITORY "git@github.com:google/mathfu.git"
GIT_TAG "master"
SOURCE_DIR "${CMAKE_SOURCE_DIR}/dependencies/mathfu"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
UPDATE_COMMAND ""
PATCH_COMMAND ""
LOG_DOWNLOAD ON
)
ExternalProject_Get_Property(mathfu SOURCE_DIR)
set(mathfu_source_dir ${SOURCE_DIR})
message(STATUS "mathfu_source_dir = ${mathfu_source_dir}")
ExternalProject_Add(
dlib
GIT_REPOSITORY "git@github.com:VladSerhiienko/dlib.git"
SOURCE_DIR "${CMAKE_SOURCE_DIR}/dependencies/dlib"
GIT_TAG "master"
UPDATE_COMMAND ""
PATCH_COMMAND ""
CMAKE_ARGS ${default_cmake_args}
TEST_COMMAND ""
INSTALL_COMMAND ""
)
ExternalProject_Get_Property(dlib SOURCE_DIR)
ExternalProject_Get_Property(dlib BINARY_DIR)
set(dlib_source_dir ${SOURCE_DIR})
set(dlib_binary_dir ${BINARY_DIR})
message(STATUS "dlib_source_dir = ${dlib_source_dir}")
message(STATUS "dlib_binary_dir = ${dlib_binary_dir}")
ExternalProject_Add(
draco
GIT_REPOSITORY "git@github.com:google/draco.git"
SOURCE_DIR "${CMAKE_SOURCE_DIR}/dependencies/draco"
GIT_TAG "1.3.5"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
UPDATE_COMMAND ""
PATCH_COMMAND ""
LOG_DOWNLOAD ON
# UPDATE_COMMAND ""
# PATCH_COMMAND ""
# CMAKE_ARGS ${default_cmake_args}
# TEST_COMMAND ""
# INSTALL_COMMAND ""
)
ExternalProject_Get_Property(draco SOURCE_DIR)
ExternalProject_Get_Property(draco BINARY_DIR)
set(draco_source_dir ${SOURCE_DIR})
set(draco_binary_dir ${BINARY_DIR})
message(STATUS "draco_source_dir = ${draco_source_dir}")
message(STATUS "draco_binary_dir = ${draco_binary_dir}")
ExternalProject_Add(
cxxopts
GIT_REPOSITORY "git@github.com:jarro2783/cxxopts.git"
GIT_TAG "1_0"
SOURCE_DIR "${CMAKE_SOURCE_DIR}/dependencies/cxxopts"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
UPDATE_COMMAND ""
PATCH_COMMAND ""
LOG_DOWNLOAD ON
)
ExternalProject_Get_Property(cxxopts SOURCE_DIR)
set(cxxopts_source_dir ${SOURCE_DIR})
message(STATUS "cxxopts_source_dir = ${cxxopts_source_dir}")
ExternalProject_Add(
spdlog
GIT_REPOSITORY "git@github.com:gabime/spdlog.git"
GIT_TAG "master"
SOURCE_DIR "${CMAKE_SOURCE_DIR}/dependencies/spdlog"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
UPDATE_COMMAND ""
PATCH_COMMAND ""
LOG_DOWNLOAD ON
)
ExternalProject_Get_Property(spdlog SOURCE_DIR)
set(spdlog_source_dir ${SOURCE_DIR})
message(STATUS "spdlog_source_dir = ${spdlog_source_dir}")
ExternalProject_Add(
flatbuffers
GIT_REPOSITORY "git@github.com:google/flatbuffers.git"
GIT_TAG "v1.8.0"
UPDATE_COMMAND ""
PATCH_COMMAND ""
SOURCE_DIR "${CMAKE_SOURCE_DIR}/dependencies/flatbuffers"
CMAKE_ARGS ${default_cmake_args} -DFLATBUFFERS_BUILD_FLATHASH:BOOL=OFF -DFLATBUFFERS_BUILD_TESTS:BOOL=OFF -DFLATBUFFERS_INSTALL:BOOL=OFF
TEST_COMMAND ""
INSTALL_COMMAND ""
LOG_DOWNLOAD ON
)
ExternalProject_Get_Property(flatbuffers SOURCE_DIR)
ExternalProject_Get_Property(flatbuffers BINARY_DIR)
set(flatbuffers_source_dir ${SOURCE_DIR})
set(flatbuffers_binary_dir ${BINARY_DIR})
message(STATUS "flatbuffers_source_dir = ${flatbuffers_source_dir}")
message(STATUS "flatbuffers_binary_dir = ${flatbuffers_binary_dir}")
ExternalProject_Add(
pybind11
GIT_REPOSITORY "git@github.com:pybind/pybind11.git"
GIT_TAG "master"
SOURCE_DIR "${CMAKE_SOURCE_DIR}/dependencies/pybind11"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
UPDATE_COMMAND ""
PATCH_COMMAND ""
LOG_DOWNLOAD ON
)
ExternalProject_Get_Property(pybind11 SOURCE_DIR)
ExternalProject_Get_Property(pybind11 BINARY_DIR)
set(pybind11_source_dir ${SOURCE_DIR})
set(pybind11_binary_dir ${BINARY_DIR})
message(STATUS "pybind11_source_dir = ${pybind11_source_dir}")
message(STATUS "pybind11_binary_dir = ${pybind11_binary_dir}")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNDEBUG")
if (WIN32)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_CRT_SECURE_NO_WARNINGS")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -D_CRT_SECURE_NO_WARNINGS")
endif()
find_package(PythonLibs REQUIRED)
if ( PYTHONLIBS_FOUND )
get_filename_component(PYTHON_LIBRARY_DIR ${PYTHON_LIBRARY} DIRECTORY)
get_filename_component(PYTHON_DIR ${PYTHON_LIBRARY_DIR} DIRECTORY)
message(STATUS "PYTHONLIBS_VERSION_STRING = ${PYTHONLIBS_VERSION_STRING}")
message(STATUS "PYTHON_LIBRARY = ${PYTHON_LIBRARY}")
message(STATUS "PYTHON_LIBRARY_DIR = ${PYTHON_LIBRARY_DIR}")
message(STATUS "PYTHON_DIR = ${PYTHON_DIR}")
endif ()
set (CMAKE_CXX_STANDARD 11)
if (WIN32)
set(CONFIGURATION_SUFFIX "/$(Configuration)")
elseif (APPLE AND "${CMAKE_GENERATOR}" STREQUAL "Xcode")
set(CONFIGURATION_SUFFIX "/Debug")
# TOFIX
# set(CONFIGURATION_SUFFIX "/$CONFIGURATION")
else()
set(CONFIGURATION_SUFFIX "")
add_definitions("-g")
endif()
if (WIN32)
add_custom_command(
OUTPUT ${CMAKE_SOURCE_DIR}/FbxPipeline/generated/scene_generated.h
DEPENDS ${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs
COMMAND ${flatbuffers_binary_dir}${CONFIGURATION_SUFFIX}/flatc.exe -o ${CMAKE_SOURCE_DIR}/FbxPipeline/generated -c ${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs --gen-mutable
COMMAND ${flatbuffers_binary_dir}${CONFIGURATION_SUFFIX}/flatc.exe -o ${CMAKE_SOURCE_DIR}/FbxPipeline/generated -s ${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs --gen-mutable
COMMAND ${flatbuffers_binary_dir}${CONFIGURATION_SUFFIX}/flatc.exe -o ${CMAKE_SOURCE_DIR}/FbxPipeline/generated -p ${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs --gen-mutable
COMMENT "Generating Headers From Schemes"
VERBATIM
)
elseif (APPLE)
add_custom_command(
OUTPUT ${CMAKE_SOURCE_DIR}/FbxPipeline/generated/scene_generated.h
DEPENDS ${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs
COMMAND ${flatbuffers_binary_dir}${CONFIGURATION_SUFFIX}/flatc -o ${CMAKE_SOURCE_DIR}/FbxPipeline/generated -c ${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs --gen-mutable
COMMAND ${flatbuffers_binary_dir}${CONFIGURATION_SUFFIX}/flatc -o ${CMAKE_SOURCE_DIR}/FbxPipeline/generated -s ${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs --gen-mutable
COMMAND ${flatbuffers_binary_dir}${CONFIGURATION_SUFFIX}/flatc -o ${CMAKE_SOURCE_DIR}/FbxPipeline/generated -p ${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs --gen-mutable
COMMENT "Generating Headers From Schemes"
VERBATIM
)
else()
add_custom_command(
OUTPUT ${CMAKE_SOURCE_DIR}/FbxPipeline/generated/scene_generated.h
DEPENDS ${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs
COMMAND ${flatbuffers_binary_dir}/flatc -o ${CMAKE_SOURCE_DIR}/FbxPipeline/generated -c ${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs --gen-mutable
COMMAND ${flatbuffers_binary_dir}/flatc -o ${CMAKE_SOURCE_DIR}/FbxPipeline/generated -s ${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs --gen-mutable
COMMAND ${flatbuffers_binary_dir}/flatc -o ${CMAKE_SOURCE_DIR}/FbxPipeline/generated -p ${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs --gen-mutable
COMMENT "Generating Headers From Schemes"
VERBATIM
)
endif()
add_library(
FbxPipeline
SHARED
${CMAKE_SOURCE_DIR}/FbxPipeline/schemes/scene.fbs
${CMAKE_SOURCE_DIR}/FbxPipeline/scripts/glTFMaterialExtension.py
${CMAKE_SOURCE_DIR}/FbxPipeline/generated/scene_generated.h
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpnorm.h
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpstate.h
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpbez.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpanimation.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpfileutils.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpmaterial.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpmem.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpcam.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxplight.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpmesh.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpmeshopt.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpnode.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxppch.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpstate.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxptransform.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpextensions.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxpembeddedpy.cpp
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxplnkdraco.cpp
# ${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/fbxppacking.cpp
)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
message(STATUS "Adding POSITION_INDEPENDENT_CODE ON for CNU builds")
set_property(TARGET FbxPipeline PROPERTY POSITION_INDEPENDENT_CODE ON)
endif()
if( MSVC )
target_compile_options(
FbxPipeline
PRIVATE
/bigobj
)
file(
GLOB
python_dlls_pdbs
${PYTHON_DIR}/*.dll
${PYTHON_DIR}/*.pdb
)
if( PYTHONLIBS_FOUND )
message(STATUS "Adding python dynamic lib and debug files to output directory")
foreach( python_dll_pdb ${python_dlls_pdbs} )
message(STATUS "Adding ${python_dll_pdb} to output directory")
add_custom_command(
TARGET
FbxPipeline
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${python_dll_pdb}
${CMAKE_BINARY_DIR}${CONFIGURATION_SUFFIX}
)
endforeach()
endif()
endif()
file(
GLOB
fbxpipeline_scripts
${CMAKE_SOURCE_DIR}/FbxPipeline/scripts/*
)
add_custom_command(
TARGET
FbxPipeline
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory
${CMAKE_BINARY_DIR}/Debug
)
add_custom_command(
TARGET
FbxPipeline
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory
${CMAKE_BINARY_DIR}/Release
)
foreach( fbxpipeline_script ${fbxpipeline_scripts} )
message(STATUS "Adding ${fbxpipeline_script} to script directory")
add_custom_command(
TARGET
FbxPipeline
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${fbxpipeline_script}
${CMAKE_BINARY_DIR}/Debug
)
add_custom_command(
TARGET
FbxPipeline
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${fbxpipeline_script}
${CMAKE_BINARY_DIR}/Release
)
add_custom_command(
TARGET
FbxPipeline
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${fbxpipeline_script}
${CMAKE_BINARY_DIR}
)
endforeach()
target_compile_definitions(
FbxPipeline
PRIVATE
FBXPIPELINE_EXPORT=1
)
add_dependencies(
FbxPipeline
mathfu
cxxopts
spdlog
flatbuffers
pybind11
dlib
draco
# json
# zstd
# zlib
)
target_include_directories(
FbxPipeline
PUBLIC
${CMAKE_SOURCE_DIR}/FbxPipeline/generated
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline
${CMAKE_SOURCE_DIR}/dependencies/dlib
${CMAKE_SOURCE_DIR}/dependencies/draco/src
${CMAKE_SOURCE_DIR}/dependencies/cxxopts/include
${CMAKE_SOURCE_DIR}/dependencies/mathfu/include
${CMAKE_SOURCE_DIR}/dependencies/mathfu/dependencies/vectorial/include
${CMAKE_SOURCE_DIR}/dependencies/spdlog/include
${flatbuffers_source_dir}/include
${flatbuffers_source_dir}/grpc
${pybind11_source_dir}/include
${FBX_SDK_INCLUDE_DIR}
${PYTHON_INCLUDE_DIR}
${Boost_INCLUDE_DIRS}
)
if (WIN32)
set(
third_party_libs
debug ${dlib_binary_dir}/dlib${CONFIGURATION_SUFFIX}/dlib.lib
debug ${flatbuffers_binary_dir}${CONFIGURATION_SUFFIX}/flatbuffers.lib
optimized ${dlib_binary_dir}/dlib${CONFIGURATION_SUFFIX}/dlib.lib
optimized ${flatbuffers_binary_dir}${CONFIGURATION_SUFFIX}/flatbuffers.lib
${PYTHON_LIBRARY}
winmm.lib
imm32.lib
version.lib
)
elseif(APPLE)
set(
third_party_libs
debug ${dlib_binary_dir}/dlib/Debug/libdlib.a
debug ${flatbuffers_binary_dir}/Debug/libflatbuffers.a
optimized ${dlib_binary_dir}/dlib/Release/libdlib.a
optimized ${flatbuffers_binary_dir}/Release/libflatbuffers.a
${PYTHON_LIBRARY}
${Boost_FILESYSTEM_LIBRARY}
${Boost_SYSTEM_LIBRARY}
"-framework Cocoa"
pthread
m
dl
)
else()
set(
third_party_libs
${dlib_binary_dir}/dlib/libdlib.a
${flatbuffers_binary_dir}/libflatbuffers.a
${PYTHON_LIBRARY}
pthread
m
dl
${Boost_LIBRARIES}
# ${Boost_SYSTEM_LIBRARY}
)
endif()
target_link_libraries(
FbxPipeline
debug ${FBX_SDK_LIBRARY_DEBUG}
optimized ${FBX_SDK_LIBRARY_RELEASE}
${third_party_libs}
)
add_executable(
FbxPipelineLauncher
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline/main.cpp
)
target_include_directories(
FbxPipelineLauncher
PUBLIC
${PYTHON_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}/FbxPipeline/generated
${CMAKE_SOURCE_DIR}/FbxPipeline/FbxPipeline
${CMAKE_SOURCE_DIR}/dependencies/cxxopts/include
${CMAKE_SOURCE_DIR}/dependencies/mathfu/include
${CMAKE_SOURCE_DIR}/dependencies/mathfu/dependencies/vectorial/include
${CMAKE_SOURCE_DIR}/dependencies/spdlog/include
${flatbuffers_source_dir}/include
${flatbuffers_source_dir}/grpc
${pybind11_source_dir}/include
${FBX_SDK_INCLUDE_DIR}
)
target_link_libraries(
FbxPipelineLauncher
FbxPipeline
)
set_target_properties(
FbxPipelineLauncher
PROPERTIES
CXX_STANDARD 17
VS_DEBUGGER_WORKING_DIRECTORY
"$(OutDir)"
)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set(PREDEFINED_TARGETS_FOLDER "CustomTargets")