This repository has been archived by the owner on Oct 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
525 lines (509 loc) · 35 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
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
cmake_minimum_required(VERSION 3.5)
project(com_chibifire_fbx_importer VERSION 0.0.1 LANGUAGES C CXX)
set(CMAKE_CXX_STANDARD 11)
set(DEBUG_ENABLED DEBUG_ENABLED DEBUG_MEMORY_ENABLED)
set(TOOLS_ENABLED TOOLS_ENABLED)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/sample/addons/com_chibifire_fbx_importer/bin/windows.64)
add_library(fmt
STATIC
"thirdparty/fmt/fmt/format.cc"
"thirdparty/fmt/fmt/printf.cc")
target_include_directories(fmt
PUBLIC
"thirdparty/fmt")
add_library(draco
STATIC
"thirdparty/draco/src/draco/attributes/attribute_octahedron_transform.cc"
"thirdparty/draco/src/draco/attributes/attribute_octahedron_transform.h"
"thirdparty/draco/src/draco/attributes/attribute_quantization_transform.cc"
"thirdparty/draco/src/draco/attributes/attribute_quantization_transform.h"
"thirdparty/draco/src/draco/attributes/attribute_transform.cc"
"thirdparty/draco/src/draco/attributes/attribute_transform.h"
"thirdparty/draco/src/draco/attributes/attribute_transform_data.h"
"thirdparty/draco/src/draco/attributes/attribute_transform_type.h"
"thirdparty/draco/src/draco/attributes/geometry_attribute.cc"
"thirdparty/draco/src/draco/attributes/geometry_attribute.h"
"thirdparty/draco/src/draco/attributes/geometry_indices.h"
"thirdparty/draco/src/draco/attributes/point_attribute.cc"
"thirdparty/draco/src/draco/attributes/point_attribute.h"
#set(draco_compression_attributes_dec_sources
"thirdparty/draco/src/draco/compression/attributes/attributes_decoder.cc"
"thirdparty/draco/src/draco/compression/attributes/attributes_decoder.h"
"thirdparty/draco/src/draco/compression/attributes/kd_tree_attributes_decoder.cc"
"thirdparty/draco/src/draco/compression/attributes/kd_tree_attributes_decoder.h"
"thirdparty/draco/src/draco/compression/attributes/kd_tree_attributes_shared.h"
"thirdparty/draco/src/draco/compression/attributes/mesh_attribute_indices_encoding_data.h"
"thirdparty/draco/src/draco/compression/attributes/mesh_traversal_sequencer.h"
"thirdparty/draco/src/draco/compression/attributes/normal_compression_utils.h"
"thirdparty/draco/src/draco/compression/attributes/sequential_attribute_decoder.cc"
"thirdparty/draco/src/draco/compression/attributes/sequential_attribute_decoder.h"
"thirdparty/draco/src/draco/compression/attributes/sequential_attribute_decoders_controller.cc"
"thirdparty/draco/src/draco/compression/attributes/sequential_attribute_decoders_controller.h"
"thirdparty/draco/src/draco/compression/attributes/sequential_integer_attribute_decoder.cc"
"thirdparty/draco/src/draco/compression/attributes/sequential_integer_attribute_decoder.h"
"thirdparty/draco/src/draco/compression/attributes/sequential_normal_attribute_decoder.cc"
"thirdparty/draco/src/draco/compression/attributes/sequential_normal_attribute_decoder.h"
"thirdparty/draco/src/draco/compression/attributes/sequential_quantization_attribute_decoder.cc"
"thirdparty/draco/src/draco/compression/attributes/sequential_quantization_attribute_decoder.h"
#set(draco_compression_attributes_enc_sources
"thirdparty/draco/src/draco/compression/attributes/attributes_encoder.cc"
"thirdparty/draco/src/draco/compression/attributes/attributes_encoder.h"
"thirdparty/draco/src/draco/compression/attributes/kd_tree_attributes_encoder.cc"
"thirdparty/draco/src/draco/compression/attributes/kd_tree_attributes_encoder.h"
"thirdparty/draco/src/draco/compression/attributes/linear_sequencer.h"
"thirdparty/draco/src/draco/compression/attributes/mesh_attribute_indices_encoding_observer.h"
"thirdparty/draco/src/draco/compression/attributes/points_sequencer.h"
"thirdparty/draco/src/draco/compression/attributes/sequential_attribute_encoder.cc"
"thirdparty/draco/src/draco/compression/attributes/sequential_attribute_encoder.h"
"thirdparty/draco/src/draco/compression/attributes/sequential_attribute_encoders_controller.cc"
"thirdparty/draco/src/draco/compression/attributes/sequential_attribute_encoders_controller.h"
"thirdparty/draco/src/draco/compression/attributes/sequential_integer_attribute_encoder.cc"
"thirdparty/draco/src/draco/compression/attributes/sequential_integer_attribute_encoder.h"
"thirdparty/draco/src/draco/compression/attributes/sequential_normal_attribute_encoder.cc"
"thirdparty/draco/src/draco/compression/attributes/sequential_normal_attribute_encoder.h"
"thirdparty/draco/src/draco/compression/attributes/sequential_quantization_attribute_encoder.cc"
"thirdparty/draco/src/draco/compression/attributes/sequential_quantization_attribute_encoder.h"
#set(draco_compression_attributes_pred_schemes_dec_sources
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_constrained_multi_parallelogram_decoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_constrained_multi_parallelogram_shared.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_data.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_decoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_geometric_normal_decoder.h"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_geometric_normal_predictor_area.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_geometric_normal_predictor_base.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_multi_parallelogram_decoder.h"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_parallelogram_encoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_parallelogram_shared.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_tex_coords_decoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_tex_coords_portable_decoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_tex_coords_portable_predictor.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_decoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_decoder_factory.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_decoder_interface.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_decoding_transform.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_delta_decoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_factory.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_interface.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_canonicalized_decoding_transform.h"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_canonicalized_transform_base.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_decoding_transform.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_transform_base.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_wrap_decoding_transform.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_wrap_transform_base.h"
#set(draco_compression_attributes_pred_schemes_enc_sources
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_constrained_multi_parallelogram_encoder.h"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_constrained_multi_parallelogram_shared.h"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_data.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_encoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_geometric_normal_encoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_geometric_normal_predictor_area.h"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_geometric_normal_predictor_base.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_multi_parallelogram_encoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_parallelogram_encoder.h"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_parallelogram_shared.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_tex_coords_encoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_tex_coords_portable_encoder.h"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/mesh_prediction_scheme_tex_coords_portable_predictor.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_delta_encoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_encoder.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_encoder_factory.cc"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_encoder_factory.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_encoder_interface.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_encoding_transform.h"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_factory.h"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_interface.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_canonicalized_encoding_transform.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_canonicalized_transform_base.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_encoding_transform.h"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_transform_base.h"
"thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_wrap_encoding_transform.h"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_wrap_transform_base.h"
#set(draco_enc_config_sources
"thirdparty/draco/src/draco/compression/config/compression_shared.h"
"thirdparty/draco/src/draco/compression/config/draco_options.h"
"thirdparty/draco/src/draco/compression/config/encoder_options.h"
"thirdparty/draco/src/draco/compression/config/encoding_features.h"
#set(draco_dec_config_sources
# "thirdparty/draco/src/draco/compression/config/compression_shared.h"
"thirdparty/draco/src/draco/compression/config/decoder_options.h"
# "thirdparty/draco/src/draco/compression/config/draco_options.h"
#set(draco_compression_decode_sources
"thirdparty/draco/src/draco/compression/decode.cc"
"thirdparty/draco/src/draco/compression/decode.h"
#set(draco_compression_encode_sources
"thirdparty/draco/src/draco/compression/encode.cc"
"thirdparty/draco/src/draco/compression/encode.h"
"thirdparty/draco/src/draco/compression/encode_base.h"
"thirdparty/draco/src/draco/compression/expert_encode.cc"
"thirdparty/draco/src/draco/compression/expert_encode.h"
#set(draco_compression_mesh_dec_sources
"thirdparty/draco/src/draco/compression/mesh/mesh_decoder.cc"
"thirdparty/draco/src/draco/compression/mesh/mesh_decoder.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_decoder_helpers.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_decoder.cc"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_decoder.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_decoder_impl.cc"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_decoder_impl.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_decoder_impl_interface.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_shared.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_traversal_decoder.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_traversal_predictive_decoder.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_traversal_valence_decoder.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_sequential_decoder.cc"
"thirdparty/draco/src/draco/compression/mesh/mesh_sequential_decoder.h"
#set(draco_compression_mesh_enc_sources
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_encoder.cc"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_encoder.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_encoder_impl.cc"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_encoder_impl.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_encoder_impl_interface.h"
# "thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_shared.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_traversal_encoder.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_traversal_predictive_encoder.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_traversal_valence_encoder.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_encoder.cc"
"thirdparty/draco/src/draco/compression/mesh/mesh_encoder.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_encoder_helpers.h"
"thirdparty/draco/src/draco/compression/mesh/mesh_sequential_encoder.cc"
"thirdparty/draco/src/draco/compression/mesh/mesh_sequential_encoder.h"
#set(draco_compression_point_cloud_dec_sources
"thirdparty/draco/src/draco/compression/point_cloud/point_cloud_decoder.cc"
"thirdparty/draco/src/draco/compression/point_cloud/point_cloud_decoder.h"
"thirdparty/draco/src/draco/compression/point_cloud/point_cloud_kd_tree_decoder.cc"
"thirdparty/draco/src/draco/compression/point_cloud/point_cloud_kd_tree_decoder.h"
"thirdparty/draco/src/draco/compression/point_cloud/point_cloud_sequential_decoder.cc"
"thirdparty/draco/src/draco/compression/point_cloud/point_cloud_sequential_decoder.h"
#set(draco_compression_point_cloud_enc_sources
"thirdparty/draco/src/draco/compression/point_cloud/point_cloud_encoder.cc"
"thirdparty/draco/src/draco/compression/point_cloud/point_cloud_encoder.h"
"thirdparty/draco/src/draco/compression/point_cloud/point_cloud_kd_tree_encoder.cc"
"thirdparty/draco/src/draco/compression/point_cloud/point_cloud_kd_tree_encoder.h"
"thirdparty/draco/src/draco/compression/point_cloud/point_cloud_sequential_encoder.cc"
"thirdparty/draco/src/draco/compression/point_cloud/point_cloud_sequential_encoder.h"
#set(draco_core_sources
"thirdparty/draco/src/draco/core/ans.h"
"thirdparty/draco/src/draco/core/bit_utils.h"
"thirdparty/draco/src/draco/core/cycle_timer.cc"
"thirdparty/draco/src/draco/core/cycle_timer.h"
"thirdparty/draco/src/draco/core/data_buffer.cc"
"thirdparty/draco/src/draco/core/data_buffer.h"
"thirdparty/draco/src/draco/core/decoder_buffer.cc"
"thirdparty/draco/src/draco/core/decoder_buffer.h"
"thirdparty/draco/src/draco/core/divide.cc"
"thirdparty/draco/src/draco/core/divide.h"
"thirdparty/draco/src/draco/core/draco_index_type.h"
"thirdparty/draco/src/draco/core/draco_index_type_vector.h"
"thirdparty/draco/src/draco/core/draco_types.cc"
"thirdparty/draco/src/draco/core/draco_types.h"
"thirdparty/draco/src/draco/core/encoder_buffer.cc"
"thirdparty/draco/src/draco/core/encoder_buffer.h"
"thirdparty/draco/src/draco/core/hash_utils.cc"
"thirdparty/draco/src/draco/core/hash_utils.h"
"thirdparty/draco/src/draco/core/macros.h"
"thirdparty/draco/src/draco/core/math_utils.h"
"thirdparty/draco/src/draco/core/options.cc"
"thirdparty/draco/src/draco/core/options.h"
"thirdparty/draco/src/draco/core/quantization_utils.cc"
"thirdparty/draco/src/draco/core/quantization_utils.h"
"thirdparty/draco/src/draco/core/rans_symbol_coding.h"
"thirdparty/draco/src/draco/core/rans_symbol_decoder.h"
"thirdparty/draco/src/draco/core/rans_symbol_encoder.h"
"thirdparty/draco/src/draco/core/shannon_entropy.cc"
"thirdparty/draco/src/draco/core/shannon_entropy.h"
"thirdparty/draco/src/draco/core/status.h"
"thirdparty/draco/src/draco/core/statusor.h"
"thirdparty/draco/src/draco/core/symbol_coding_utils.cc"
"thirdparty/draco/src/draco/core/symbol_coding_utils.h"
"thirdparty/draco/src/draco/core/symbol_decoding.cc"
"thirdparty/draco/src/draco/core/symbol_decoding.h"
"thirdparty/draco/src/draco/core/symbol_encoding.cc"
"thirdparty/draco/src/draco/core/symbol_encoding.h"
"thirdparty/draco/src/draco/core/varint_decoding.h"
"thirdparty/draco/src/draco/core/varint_encoding.h"
"thirdparty/draco/src/draco/core/vector_d.h"
#set(draco_core_bit_coders_sources
"thirdparty/draco/src/draco/core/bit_coders/adaptive_rans_bit_coding_shared.h"
"thirdparty/draco/src/draco/core/bit_coders/adaptive_rans_bit_decoder.cc"
"thirdparty/draco/src/draco/core/bit_coders/adaptive_rans_bit_decoder.h"
"thirdparty/draco/src/draco/core/bit_coders/adaptive_rans_bit_encoder.cc"
"thirdparty/draco/src/draco/core/bit_coders/adaptive_rans_bit_encoder.h"
"thirdparty/draco/src/draco/core/bit_coders/direct_bit_decoder.cc"
"thirdparty/draco/src/draco/core/bit_coders/direct_bit_decoder.h"
"thirdparty/draco/src/draco/core/bit_coders/direct_bit_encoder.cc"
"thirdparty/draco/src/draco/core/bit_coders/direct_bit_encoder.h"
"thirdparty/draco/src/draco/core/bit_coders/folded_integer_bit_decoder.h"
"thirdparty/draco/src/draco/core/bit_coders/folded_integer_bit_encoder.h"
"thirdparty/draco/src/draco/core/bit_coders/rans_bit_decoder.cc"
"thirdparty/draco/src/draco/core/bit_coders/rans_bit_decoder.h"
"thirdparty/draco/src/draco/core/bit_coders/rans_bit_encoder.cc"
"thirdparty/draco/src/draco/core/bit_coders/rans_bit_encoder.h"
"thirdparty/draco/src/draco/core/bit_coders/symbol_bit_decoder.cc"
"thirdparty/draco/src/draco/core/bit_coders/symbol_bit_decoder.h"
"thirdparty/draco/src/draco/core/bit_coders/symbol_bit_encoder.cc"
"thirdparty/draco/src/draco/core/bit_coders/symbol_bit_encoder.h"
#set(draco_io_sources
"thirdparty/draco/src/draco/io/mesh_io.cc"
"thirdparty/draco/src/draco/io/mesh_io.h"
"thirdparty/draco/src/draco/io/obj_decoder.cc"
"thirdparty/draco/src/draco/io/obj_decoder.h"
"thirdparty/draco/src/draco/io/obj_encoder.cc"
"thirdparty/draco/src/draco/io/obj_encoder.h"
"thirdparty/draco/src/draco/io/parser_utils.cc"
"thirdparty/draco/src/draco/io/parser_utils.h"
"thirdparty/draco/src/draco/io/ply_decoder.cc"
"thirdparty/draco/src/draco/io/ply_decoder.h"
"thirdparty/draco/src/draco/io/ply_encoder.cc"
"thirdparty/draco/src/draco/io/ply_encoder.h"
"thirdparty/draco/src/draco/io/ply_property_reader.h"
"thirdparty/draco/src/draco/io/ply_property_writer.h"
"thirdparty/draco/src/draco/io/ply_reader.cc"
"thirdparty/draco/src/draco/io/ply_reader.h"
"thirdparty/draco/src/draco/io/point_cloud_io.cc"
"thirdparty/draco/src/draco/io/point_cloud_io.h"
#set(draco_mesh_sources
"thirdparty/draco/src/draco/mesh/corner_table.cc"
"thirdparty/draco/src/draco/mesh/corner_table.h"
"thirdparty/draco/src/draco/mesh/corner_table_iterators.h"
"thirdparty/draco/src/draco/mesh/corner_table_traversal_processor.h"
"thirdparty/draco/src/draco/mesh/edgebreaker_observer.h"
"thirdparty/draco/src/draco/mesh/edgebreaker_traverser.h"
"thirdparty/draco/src/draco/mesh/mesh.cc"
"thirdparty/draco/src/draco/mesh/mesh.h"
"thirdparty/draco/src/draco/mesh/mesh_are_equivalent.cc"
"thirdparty/draco/src/draco/mesh/mesh_are_equivalent.h"
"thirdparty/draco/src/draco/mesh/mesh_attribute_corner_table.cc"
"thirdparty/draco/src/draco/mesh/mesh_attribute_corner_table.h"
"thirdparty/draco/src/draco/mesh/mesh_cleanup.cc"
"thirdparty/draco/src/draco/mesh/mesh_cleanup.h"
"thirdparty/draco/src/draco/mesh/mesh_misc_functions.cc"
"thirdparty/draco/src/draco/mesh/mesh_misc_functions.h"
"thirdparty/draco/src/draco/mesh/mesh_stripifier.cc"
"thirdparty/draco/src/draco/mesh/mesh_stripifier.h"
"thirdparty/draco/src/draco/mesh/triangle_soup_mesh_builder.cc"
"thirdparty/draco/src/draco/mesh/triangle_soup_mesh_builder.h"
#set(draco_point_cloud_sources
"thirdparty/draco/src/draco/point_cloud/point_cloud.cc"
"thirdparty/draco/src/draco/point_cloud/point_cloud.h"
"thirdparty/draco/src/draco/point_cloud/point_cloud_builder.cc"
"thirdparty/draco/src/draco/point_cloud/point_cloud_builder.h"
#set(draco_points_common_sources
"thirdparty/draco/src/draco/compression/point_cloud/algorithms/point_cloud_compression_method.h"
"thirdparty/draco/src/draco/compression/point_cloud/algorithms/point_cloud_types.h"
"thirdparty/draco/src/draco/compression/point_cloud/algorithms/quantize_points_3.h"
"thirdparty/draco/src/draco/compression/point_cloud/algorithms/queuing_policy.h"
#set(draco_points_dec_sources
"thirdparty/draco/src/draco/compression/point_cloud/algorithms/dynamic_integer_points_kd_tree_decoder.cc"
"thirdparty/draco/src/draco/compression/point_cloud/algorithms/dynamic_integer_points_kd_tree_decoder.h"
"thirdparty/draco/src/draco/compression/point_cloud/algorithms/float_points_tree_decoder.cc"
"thirdparty/draco/src/draco/compression/point_cloud/algorithms/float_points_tree_decoder.h"
#set(draco_points_enc_sources
"thirdparty/draco/src/draco/compression/point_cloud/algorithms/dynamic_integer_points_kd_tree_encoder.cc"
"thirdparty/draco/src/draco/compression/point_cloud/algorithms/dynamic_integer_points_kd_tree_encoder.h"
"thirdparty/draco/src/draco/compression/point_cloud/algorithms/float_points_tree_encoder.cc"
"thirdparty/draco/src/draco/compression/point_cloud/algorithms/float_points_tree_encoder.h"
#set(draco_metadata_sources
"thirdparty/draco/src/draco/metadata/geometry_metadata.cc"
"thirdparty/draco/src/draco/metadata/geometry_metadata.h"
"thirdparty/draco/src/draco/metadata/metadata.cc"
"thirdparty/draco/src/draco/metadata/metadata.h"
#set(draco_metadata_enc_sources
"thirdparty/draco/src/draco/metadata/metadata_encoder.cc"
"thirdparty/draco/src/draco/metadata/metadata_encoder.h"
#set(draco_metadata_dec_sources
"thirdparty/draco/src/draco/metadata/metadata_decoder.cc"
"thirdparty/draco/src/draco/metadata/metadata_decoder.h"
#set(draco_js_dec_sources
# "thirdparty/draco/src/draco/javascript/emscripten/decoder_webidl_wrapper.cc"
# "thirdparty/draco/src/draco/javascript/emscripten/draco_decoder_glue_wrapper.cc"
#set(draco_js_enc_sources
# "thirdparty/draco/src/draco/javascript/emscripten/draco_encoder_glue_wrapper.cc"
# "thirdparty/draco/src/draco/javascript/emscripten/encoder_webidl_wrapper.cc"
#set(draco_test_sources
# "thirdparty/draco/src/draco/attributes/point_attribute_test.cc"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_canonicalized_transform_test.cc"
# "thirdparty/draco/src/draco/compression/attributes/prediction_schemes/prediction_scheme_normal_octahedron_transform_test.cc"
# "thirdparty/draco/src/draco/compression/attributes/sequential_integer_attribute_encoding_test.cc"
# "thirdparty/draco/src/draco/compression/decode_test.cc"
# "thirdparty/draco/src/draco/compression/encode_test.cc"
# "thirdparty/draco/src/draco/compression/mesh/mesh_edgebreaker_encoding_test.cc"
# "thirdparty/draco/src/draco/compression/mesh/mesh_encoder_test.cc"
# "thirdparty/draco/src/draco/compression/point_cloud/point_cloud_kd_tree_encoding_test.cc"
# "thirdparty/draco/src/draco/compression/point_cloud/point_cloud_sequential_encoding_test.cc"
# "thirdparty/draco/src/draco/core/bit_coders/rans_coding_test.cc"
# "thirdparty/draco/src/draco/core/buffer_bit_coding_test.cc"
# "thirdparty/draco/src/draco/core/draco_test_base.h"
# "thirdparty/draco/src/draco/core/draco_test_utils.cc"
# "thirdparty/draco/src/draco/core/draco_test_utils.h"
# "thirdparty/draco/src/draco/core/draco_tests.cc"
# "thirdparty/draco/src/draco/core/math_utils_test.cc"
# "thirdparty/draco/src/draco/core/quantization_utils_test.cc"
# "thirdparty/draco/src/draco/core/status_test.cc"
# "thirdparty/draco/src/draco/core/symbol_coding_test.cc"
# "thirdparty/draco/src/draco/core/vector_d_test.cc"
# "thirdparty/draco/src/draco/io/obj_decoder_test.cc"
# "thirdparty/draco/src/draco/io/obj_encoder_test.cc"
# "thirdparty/draco/src/draco/io/ply_decoder_test.cc"
# "thirdparty/draco/src/draco/io/ply_reader_test.cc"
# "thirdparty/draco/src/draco/io/point_cloud_io_test.cc"
# "thirdparty/draco/src/draco/mesh/mesh_are_equivalent_test.cc"
# "thirdparty/draco/src/draco/mesh/mesh_cleanup_test.cc"
# "thirdparty/draco/src/draco/mesh/triangle_soup_mesh_builder_test.cc"
# "thirdparty/draco/src/draco/metadata/metadata_encoder_test.cc"
# "thirdparty/draco/src/draco/metadata/metadata_test.cc"
# "thirdparty/draco/src/draco/point_cloud/point_cloud_builder_test.cc"
# "thirdparty/draco/src/draco/point_cloud/point_cloud_test.cc"
#set(draco_version_sources
# "thirdparty/draco/src/draco/core/draco_version.cc"
"thirdparty/draco/src/draco/core/draco_version.h")
target_include_directories(draco
PUBLIC
"thirdparty/draco_features/"
"thirdparty/draco/src/")
target_compile_definitions(draco
PUBLIC
"DRACO_MESH_COMPRESSION_SUPPORTED"
"DRACO_POINT_CLOUD_COMPRESSION_SUPPORTED"
"DRACO_PREDICTIVE_EDGEBREAKER_SUPPORTED"
"DRACO_STANDARD_EDGEBREAKER_SUPPORTED"
"DRACO_BACKWARDS_COMPATIBILITY_SUPPORTED")
add_library(com_chibifire_fbx_importer
SHARED
"sample/addons/com_chibifire_fbx_importer/src/Godot.cpp"
"sample/addons/com_chibifire_fbx_importer/src/ComChibifireFbxImporter.cpp"
"sample/addons/com_chibifire_fbx_importer/src/ComChibifireFbxImporter.h"
${fbx_osx}
${fbx_linux}
${fbx_mingw}
${fbx_msvc}
"thirdparty/draco_features"
"thirdparty/godot-cpp/godot_headers/gdnative/gdnative.h"
"thirdparty/godot-cpp/godot_headers/nativescript/godot_nativescript.h")
if(OSX)
set(fbx_osx "thirdparty/FBX SDK/2018.1.1/include")
elseif(MSVC)
set(fbx_msvc "thirdparty/fbx20181_1_fbxsdk_vs2015_win/include")
elseif(UNIX)
set(fbx_linux "thirdparty/fbx20181_1_fbxsdk_linux/include")
endif(OSX)
target_include_directories(com_chibifire_fbx_importer
PUBLIC
"thirdparty/stb"
"thirdparty/draco/src"
"thirdparty/fifo_map/src"
${fbx_osx}
${fbx_linux}
${fbx_mingw}
${fbx_msvc}
"thirdparty/mathfu/include"
"thirdparty/mathfu/dependencies/vectorial/include"
"thirdparty/json/src/"
"thirdparty/FBX2glTF/src"
"thirdparty/godot/modules/gdnative/include"
"thirdparty/godot-cpp/include"
"thirdparty/godot-cpp/include/gen"
"thirdparty/draco_features"
"thirdparty/godot-cpp/godot_headers"
"thirdparty/godot-cpp/include/core"
"thirdparty/fmt")
add_library(FBX2glTF
STATIC
thirdparty/FBX2glTF/src/FBX2glTF.h
thirdparty/FBX2glTF/src/fbx/Fbx2Raw.cpp
thirdparty/FBX2glTF/src/fbx/Fbx2Raw.hpp
thirdparty/FBX2glTF/src/fbx/FbxLayerElementAccess.hpp
thirdparty/FBX2glTF/src/fbx/FbxBlendShapesAccess.hpp
thirdparty/FBX2glTF/src/fbx/materials/3dsMaxPhysicalMaterial.cpp
thirdparty/FBX2glTF/src/fbx/materials/FbxMaterials.cpp
thirdparty/FBX2glTF/src/fbx/materials/FbxMaterials.hpp
thirdparty/FBX2glTF/src/fbx/materials/RoughnessMetallicMaterials.hpp
thirdparty/FBX2glTF/src/fbx/materials/StingrayPBSMaterial.cpp
thirdparty/FBX2glTF/src/fbx/materials/TraditionalMaterials.cpp
thirdparty/FBX2glTF/src/fbx/materials/TraditionalMaterials.hpp
thirdparty/FBX2glTF/src/gltf/Raw2Gltf.cpp
thirdparty/FBX2glTF/src/gltf/Raw2Gltf.hpp
thirdparty/FBX2glTF/src/raw/RawModel.cpp
thirdparty/FBX2glTF/src/raw/RawModel.hpp
thirdparty/FBX2glTF/src/gltf/properties/AccessorData.cpp
thirdparty/FBX2glTF/src/gltf/properties/AccessorData.hpp
thirdparty/FBX2glTF/src/gltf/properties/AnimationData.cpp
thirdparty/FBX2glTF/src/gltf/properties/AnimationData.hpp
thirdparty/FBX2glTF/src/gltf/properties/BufferData.cpp
thirdparty/FBX2glTF/src/gltf/properties/BufferData.hpp
thirdparty/FBX2glTF/src/gltf/properties/BufferViewData.cpp
thirdparty/FBX2glTF/src/gltf/properties/BufferViewData.hpp
thirdparty/FBX2glTF/src/gltf/properties/CameraData.cpp
thirdparty/FBX2glTF/src/gltf/properties/CameraData.hpp
thirdparty/FBX2glTF/src/gltf/properties/ImageData.cpp
thirdparty/FBX2glTF/src/gltf/properties/ImageData.hpp
thirdparty/FBX2glTF/src/gltf/properties/MaterialData.cpp
thirdparty/FBX2glTF/src/gltf/properties/MaterialData.hpp
thirdparty/FBX2glTF/src/gltf/properties/MeshData.cpp
thirdparty/FBX2glTF/src/gltf/properties/MeshData.hpp
thirdparty/FBX2glTF/src/gltf/properties/NodeData.cpp
thirdparty/FBX2glTF/src/gltf/properties/NodeData.hpp
thirdparty/FBX2glTF/src/gltf/properties/PrimitiveData.cpp
thirdparty/FBX2glTF/src/gltf/properties/PrimitiveData.hpp
thirdparty/FBX2glTF/src/gltf/properties/SamplerData.hpp
thirdparty/FBX2glTF/src/gltf/properties/SceneData.cpp
thirdparty/FBX2glTF/src/gltf/properties/SceneData.hpp
thirdparty/FBX2glTF/src/gltf/properties/SkinData.cpp
thirdparty/FBX2glTF/src/gltf/properties/SkinData.hpp
thirdparty/FBX2glTF/src/gltf/properties/TextureData.cpp
thirdparty/FBX2glTF/src/gltf/properties/TextureData.hpp
thirdparty/FBX2glTF/src/gltf/properties/LightData.cpp
thirdparty/FBX2glTF/src/gltf/properties/LightData.hpp
thirdparty/FBX2glTF/src/gltf/GltfModel.cpp
thirdparty/FBX2glTF/src/gltf/GltfModel.hpp
thirdparty/FBX2glTF/src/gltf/TextureBuilder.cpp
thirdparty/FBX2glTF/src/gltf/TextureBuilder.hpp
thirdparty/FBX2glTF/src/mathfu.hpp
thirdparty/FBX2glTF/src/utils/File_Utils.cpp
thirdparty/FBX2glTF/src/utils/File_Utils.hpp
thirdparty/FBX2glTF/src/utils/Image_Utils.cpp
thirdparty/FBX2glTF/src/utils/Image_Utils.hpp
thirdparty/FBX2glTF/src/utils/String_Utils.cpp
thirdparty/FBX2glTF/src/utils/String_Utils.hpp
thirdparty/FBX2glTF/src/fbx/FbxBlendShapesAccess.cpp
thirdparty/FBX2glTF/src/fbx/FbxBlendShapesAccess.hpp
thirdparty/FBX2glTF/src/fbx/FbxLayerElementAccess.hpp
thirdparty/FBX2glTF/src/fbx/FbxSkinningAccess.cpp
thirdparty/FBX2glTF/src/fbx/FbxSkinningAccess.hpp)
target_include_directories(FBX2glTF
PUBLIC
"thirdparty/cppcodec"
"thirdparty/stb"
"thirdparty/draco/src/draco/src"
"thirdparty/cxxopts/include"
"thirdparty/fifo_map/src"
"thirdparty/fmt"
${fbx_osx}
${fbx_linux}
${fbx_mingw}
${fbx_msvc}
"thirdparty/fbx20181_1_fbxsdk_vs2015_win/include"
"thirdparty/mathfu/include"
"thirdparty/mathfu/dependencies/vectorial/include"
"thirdparty/json/src/"
"thirdparty/FBX2glTF/src")
target_link_libraries(FBX2glTF draco fmt)
target_compile_definitions(FBX2glTF
PUBLIC
"MATHFU_COMPILE_FORCE_PADDING=1")
if(OSX)
target_link_libraries(com_chibifire_fbx_importer draco fmt FBX2glTF
${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/godot-cpp/bin/libgodot-cpp.osx.release.64.a
"-framework Cocoa"
${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/FBX SDK/2018.1.1/lib/clang/release/libfbxsdk.a)
elseif(MSVC)
target_link_libraries(com_chibifire_fbx_importer draco fmt FBX2glTF
${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/godot-cpp/bin/libgodot-cpp.windows.release.64.lib
${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/fbx20181_1_fbxsdk_vs2015_win/lib/vs2015/x64/release/libfbxsdk-md.lib)
#${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/godot-cpp/bin/libgodot-cpp.windows.debug.64.lib
#${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/fbx20181_1_fbxsdk_vs2015_win/lib/vs2015/x64/debug/libfbxsdk-md.lib)
elseif(UNIX)
target_link_libraries(com_chibifire_fbx_importer draco fmt FBX2glTF
${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/godot-cpp/bin/libgodot-cpp.linux.release.64.a
${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/fbx20181_1_fbxsdk_linux/lib/gcc4/x64/release/libfbxsdk.a)
endif(OSX)
file(COPY sample DESTINATION .)