-
Notifications
You must be signed in to change notification settings - Fork 576
/
Copy pathCMakeLists.txt
1000 lines (958 loc) · 63.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
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
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
set(CC_PLATFORM_OPENHARMONY 14)
add_definitions(-DCC_PLATFORM_OPENHARMONY=${CC_PLATFORM_OPENHARMONY})
set(CC_PLATFORM ${CC_PLATFORM_OPENHARMONY})
add_definitions(-DOPENHARMONY=${CC_PLATFORM_OPENHARMONY})
add_definitions(-DCC_PLATFORM=${CC_PLATFORM})
set(CMAKE_CXX_FLAGS "-fvisibility=hidden -fvisibility-inlines-hidden ${CMAKE_CXX_FLAGS}")
if("${OHOS_ARCH}" STREQUAL "armeabi-v7a")
set(CMAKE_CXX_FLAGS "-march=armv7a ${CMAKE_CXX_FLAGS}")
endif()
MESSAGE(STATUS "platform: ${CMAKE_SYSTEM_NAME}")
################################# engine source code ##################################
set(CC_COCOS_SOURCES)
set(ENGINE_NAME cocos_engine)
# Should be enable someday in the future
# set(CMAKE_CXX_FLAGS "${WERROR_FLAGS}")
################################# options ############################################
macro(cc_set_if_undefined varname value)
if(NOT DEFINED ${varname})
set(${varname} ${value})
endif()
endmacro()
cc_set_if_undefined(CC_USE_GFX_RENDERER ON)
cc_set_if_undefined(CC_USE_VIDEO ON)
cc_set_if_undefined(CC_USE_WEBVIEW ON)
cc_set_if_undefined(CC_USE_AUDIO ON)
cc_set_if_undefined(CC_USE_SOCKET ON)
cc_set_if_undefined(CC_USE_WEBSOCKET_SERVER OFF)
cc_set_if_undefined(CC_USE_MIDDLEWARE ON)
cc_set_if_undefined(CC_USE_SPINE ON)
cc_set_if_undefined(CC_USE_DRAGONBONES ON)
cc_set_if_undefined(CC_USE_PARTICLE ON)
cc_set_if_undefined(CC_USE_SE_NAPI OFF)
cc_set_if_undefined(CC_USE_SE_JSVM ON)
cc_set_if_undefined(CC_USE_SE_V8 OFF)
################################# external source code ################################
set(EXTERNAL_ROOT ${CMAKE_CURRENT_LIST_DIR}/external)
if(NOT EXISTS ${EXTERNAL_ROOT}/CMakeLists.txt)
message(FATAL_ERROR "Please download external libraries! File ${CMAKE_CURRENT_LIST_DIR}/external/CMakeLists.txt not exist!")
endif()
include_directories(${EXTERNAL_ROOT}/sources)
include(${EXTERNAL_ROOT}/CMakeLists.txt)
################################# cocos engine source code ################################
##### cocos2d
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/cocos2d.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/cocos2d.h
)
##### platform
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCPlatformDefine.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/CCPlatformDefine-openharmony.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/WorkerMessageQueue.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/WorkerMessageQueue.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/FileUtils-openharmony.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/FileUtils-openharmony.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/CCGL-openharmony.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/CCDevice-openharmony.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/OpenHarmonyPlatform.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/OpenHarmonyPlatform.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/render/egl_core.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/render/egl_core.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCDevice.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCApplication.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCCanvasRenderingContext2D.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCFileUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCFileUtils.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCGL.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCImage.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCImage.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCPlatformConfig.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCSAXParser.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCSAXParser.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/CCStdC.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/AppDelegate.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/AppDelegate.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/napi/NapiInit.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/napi/NapiHelper.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/napi/NapiHelper.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/napi/NapiValueConverter.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/napi/NapiValueConverter.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/napi/native_common.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/napi/napi.h
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/napi/napi-inl.h
)
##### base
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/base/astc.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/astc.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/base64.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/base64.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCAutoreleasePool.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCAutoreleasePool.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ccCArray.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ccCArray.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ccConfig.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCConfiguration.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCConfiguration.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCGLUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCGLUtils.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCLog.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCLog.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ccMacros.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCMap.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ccRandom.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ccRandom.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCRef.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCRef.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCRefPtr.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCRenderTexture.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCRenderTexture.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCScheduler.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCScheduler.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCThreadPool.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCThreadPool.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ccTypes.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ccTypes.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ccUTF8.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ccUTF8.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ccUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ccUtils.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCValue.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCValue.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/CCVector.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/csscolorparser.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/csscolorparser.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/etc1.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/etc1.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/etc2.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/etc2.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/pvr.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/pvr.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/TGAlib.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/TGAlib.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/uthash.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/utlist.h
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ZipUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/base/ZipUtils.h
)
##### 2d
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/2d/CCFontAtlas.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/2d/CCFontAtlas.h
${CMAKE_CURRENT_LIST_DIR}/cocos/2d/CCFontFreetype.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/2d/CCFontFreetype.h
${CMAKE_CURRENT_LIST_DIR}/cocos/2d/CCLabelLayout.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/2d/CCLabelLayout.h
${CMAKE_CURRENT_LIST_DIR}/cocos/2d/CCTTFLabelAtlasCache.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/2d/CCTTFLabelAtlasCache.h
${CMAKE_CURRENT_LIST_DIR}/cocos/2d/CCTTFLabelRenderer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/2d/CCTTFLabelRenderer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/2d/CCTTFTypes.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/2d/CCTTFTypes.h
)
##### math
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/math/CCGeometry.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/math/CCGeometry.h
${CMAKE_CURRENT_LIST_DIR}/cocos/math/CCMath.h
${CMAKE_CURRENT_LIST_DIR}/cocos/math/CCMathBase.h
${CMAKE_CURRENT_LIST_DIR}/cocos/math/CCVertex.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/math/CCVertex.h
${CMAKE_CURRENT_LIST_DIR}/cocos/math/Mat3.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/math/Mat3.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/math/Mat4.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/math/Mat4.h
${CMAKE_CURRENT_LIST_DIR}/cocos/math/MathUtil.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/math/MathUtil.h
${CMAKE_CURRENT_LIST_DIR}/cocos/math/Quaternion.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/math/Quaternion.h
${CMAKE_CURRENT_LIST_DIR}/cocos/math/Vec2.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/math/Vec2.h
${CMAKE_CURRENT_LIST_DIR}/cocos/math/Vec3.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/math/Vec3.h
${CMAKE_CURRENT_LIST_DIR}/cocos/math/Vec4.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/math/Vec4.h
)
##### network
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/network/CCDownloader.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/network/CCDownloader.h
${CMAKE_CURRENT_LIST_DIR}/cocos/network/CCDownloader-curl.h
${CMAKE_CURRENT_LIST_DIR}/cocos/network/CCDownloader-curl.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/network/CCIDownloaderImpl.h
${CMAKE_CURRENT_LIST_DIR}/cocos/network/HttpClient.h
${CMAKE_CURRENT_LIST_DIR}/cocos/network/HttpClient.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/network/HttpCookie.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/network/HttpCookie.h
${CMAKE_CURRENT_LIST_DIR}/cocos/network/HttpRequest.h
${CMAKE_CURRENT_LIST_DIR}/cocos/network/HttpResponse.h
${CMAKE_CURRENT_LIST_DIR}/cocos/network/Uri.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/network/Uri.h
)
##### js-bindg event
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/event/CustomEventTypes.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/event/EventDispatcher.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/event/EventDispatcher.h
)
##### jswrapper
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/config.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/config.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/HandleObject.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/HandleObject.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/MappingUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/MappingUtils.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/Object.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/RefCounter.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/RefCounter.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/SeApi.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/State.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/State.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/Value.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/Value.hpp
)
##### v8 script engine
if(CC_USE_SE_V8)
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/Base.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/Class.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/Class.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/HelperMacros.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/Object.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/Object.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/ObjectWrap.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/ObjectWrap.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/ScriptEngine.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/ScriptEngine.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/SeApi.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/Utils.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/Utils.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/base64.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/env.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/http_parser.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/inspector_agent.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/inspector_io.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/inspector_socket.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/inspector_socket_server.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/node.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/node_debug_options.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/node_mutex.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/SHA1.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/util-inl.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/util.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/v8_inspector_protocol_json.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/env.cc
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/http_parser.c
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/inspector_agent.cc
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/inspector_io.cc
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/inspector_socket.cc
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/inspector_socket_server.cc
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/node.cc
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/node_debug_options.cc
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/SHA1.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8/debugger/util.cc
)
endif ()
##### napi script engine
if(CC_USE_SE_NAPI)
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi/Class.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi/Class.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi/HelperMacros.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi/HelperMacros.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi/Object.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi/Object.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi/ScriptEngine.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi/ScriptEngine.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi/SeApi.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi/Utils.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi/Utils.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi/CommonHeader.h
)
endif ()
##### jsvm script engine
if(CC_USE_SE_JSVM)
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm/Class.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm/Class.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm/HelperMacros.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm/HelperMacros.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm/Object.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm/Object.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm/ScriptEngine.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm/ScriptEngine.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm/SeApi.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm/Utils.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm/Utils.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm/CommonHeader.h
)
endif ()
##### CCDevice CCApplication modules:screen、system
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/modules/CCApplication-openharmony.cpp
)
##### js-bindings manual
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_classtype.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_classtype.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_cocos2dx_manual.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_cocos2dx_manual.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_cocos2dx_network_manual.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_cocos2dx_network_manual.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_conversions.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_conversions.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_global.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_global.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_helper.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_helper.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_module_register.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_module_register.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_node.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_opengl_manual.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_opengl_manual.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_opengl_utils.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_opengl_utils.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_platform.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_websocket.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_websocket.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_xmlhttprequest.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_xmlhttprequest.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_platform_openharmony.cpp
)
##### js-bindings auto
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_auto.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_editor_support_auto.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_editor_support_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_extension_auto.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_extension_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_network_auto.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_network_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_particle_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_webview_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_gfx_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_gfx_manual.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_renderer_manual.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_renderer_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_cocos2dx_extension_manual.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_spine_manual.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_spine_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_dragonbones_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_dragonbones_manual.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_webview_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_audioengine_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_websocket.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_socketio.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_websocket_server.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/JavaScriptArkTsBridge.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/JavaScriptArkTsBridge.h
)
##### canvas rendering
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/modules/CCCanvasRenderingContext2D-openharmony.cpp
)
##### localstorage
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/storage/local-storage/LocalStorage.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/storage/local-storage/LocalStorage.h
)
##### edit-box
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/ui/edit-box/EditBox.h
${CMAKE_CURRENT_LIST_DIR}/cocos/ui/edit-box/EditBox-openharmony.h
${CMAKE_CURRENT_LIST_DIR}/cocos/ui/edit-box/EditBox-openharmony.cpp
)
##### videoplayer
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/ui/videoplayer/VideoPlayer-openharmony.h
${CMAKE_CURRENT_LIST_DIR}/cocos/ui/videoplayer/VideoPlayer-openharmony.cpp
)
##### editor-support
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/IOBuffer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/IOBuffer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/IOTypedArray.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/IOTypedArray.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/MeshBuffer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/MeshBuffer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/middleware-adapter.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/middleware-adapter.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/MiddlewareMacro.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/MiddlewareManager.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/MiddlewareManager.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/TypedArrayPool.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/TypedArrayPool.h
)
##### extensions
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/extensions/cocos-ext.h
${CMAKE_CURRENT_LIST_DIR}/extensions/ExtensionExport.h
${CMAKE_CURRENT_LIST_DIR}/extensions/ExtensionMacros.h
${CMAKE_CURRENT_LIST_DIR}/extensions/assets-manager/AssetsManagerEx.cpp
${CMAKE_CURRENT_LIST_DIR}/extensions/assets-manager/AssetsManagerEx.h
${CMAKE_CURRENT_LIST_DIR}/extensions/assets-manager/CCAsyncTaskPool.cpp
${CMAKE_CURRENT_LIST_DIR}/extensions/assets-manager/CCAsyncTaskPool.h
${CMAKE_CURRENT_LIST_DIR}/extensions/assets-manager/CCEventAssetsManagerEx.cpp
${CMAKE_CURRENT_LIST_DIR}/extensions/assets-manager/CCEventAssetsManagerEx.h
${CMAKE_CURRENT_LIST_DIR}/extensions/assets-manager/Manifest.cpp
${CMAKE_CURRENT_LIST_DIR}/extensions/assets-manager/Manifest.h
)
##### USE_GFX_RENDERER
if(CC_USE_GFX_RENDERER)
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/Types.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/Types.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/Macro.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/DeviceGraphics.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/DeviceGraphics.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/FrameBuffer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/FrameBuffer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/GFX.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/GFX.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/GFXUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/GFXUtils.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/GraphicsHandle.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/GraphicsHandle.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/IndexBuffer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/IndexBuffer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/Program.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/Program.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/RenderBuffer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/RenderBuffer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/RenderTarget.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/RenderTarget.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/State.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/State.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/Texture.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/Texture.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/Texture2D.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/Texture2D.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/VertexBuffer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/VertexBuffer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/VertexFormat.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx/VertexFormat.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/BaseRenderer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/BaseRenderer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Camera.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Camera.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Config.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Config.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Effect.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Effect.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/EffectBase.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/EffectBase.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/EffectVariant.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/EffectVariant.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/ForwardRenderer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/ForwardRenderer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/INode.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/InputAssembler.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/InputAssembler.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Light.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Light.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Model.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Model.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Pass.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Pass.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/ProgramLib.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/ProgramLib.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Renderer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/RendererUtils.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/RendererUtils.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Scene.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Scene.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Technique.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/Technique.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/View.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer/View.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/Assembler.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/Assembler.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/AssemblerBase.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/AssemblerBase.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/AssemblerSprite.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/AssemblerSprite.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/CustomAssembler.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/CustomAssembler.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/MaskAssembler.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/MaskAssembler.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/MeshAssembler.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/MeshAssembler.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/Particle3DAssembler.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/Particle3DAssembler.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/RenderData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/RenderData.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/RenderDataList.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/RenderDataList.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/SimpleSprite2D.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/SimpleSprite2D.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/SimpleSprite3D.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/SimpleSprite3D.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/SlicedSprite2D.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/SlicedSprite2D.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/SlicedSprite3D.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/SlicedSprite3D.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/TiledMapAssembler.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler/TiledMapAssembler.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/MemPool.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/MemPool.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/MeshBuffer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/MeshBuffer.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/ModelBatcher.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/ModelBatcher.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/NodeMemPool.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/NodeMemPool.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/NodeProxy.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/NodeProxy.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/ParallelTask.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/ParallelTask.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/RenderFlow.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/RenderFlow.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/scene-bindings.h
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/StencilManager.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/StencilManager.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/memop/RecyclePool.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_gfx_auto.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_renderer_auto.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_renderer_manual.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_gfx_manual.cpp
)
endif() # USE_GFX_RENDERER
##### CC_USE_SPINE
if(CC_USE_SPINE)
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Animation.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Animation.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/AnimationState.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/AnimationState.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/AnimationStateData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/AnimationStateData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Atlas.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Atlas.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/AtlasAttachmentLoader.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/AtlasAttachmentLoader.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Attachment.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Attachment.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/AttachmentLoader.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/AttachmentLoader.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/AttachmentTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/AttachmentTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/AttachmentType.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/BlendMode.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Bone.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Bone.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/BoneData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/BoneData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/BoundingBoxAttachment.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/BoundingBoxAttachment.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/ClippingAttachment.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/ClippingAttachment.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Color.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/ColorTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/ColorTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Constraint.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Constraint.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/ConstraintData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/ConstraintData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/ContainerUtil.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/CurveTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/CurveTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Debug.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/DeformTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/DeformTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/dll.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/DrawOrderTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/DrawOrderTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Event.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Event.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/EventData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/EventData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/EventTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/EventTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Extension.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Extension.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/HashMap.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/HasRendererObject.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/IkConstraint.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/IkConstraint.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/IkConstraintData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/IkConstraintData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/IkConstraintTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/IkConstraintTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Json.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Json.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/LinkedMesh.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/LinkedMesh.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/MathUtil.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/MathUtil.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/MeshAttachment.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/MeshAttachment.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/MixBlend.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/MixDirection.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PathAttachment.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PathAttachment.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PathConstraint.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PathConstraint.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PathConstraintData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PathConstraintData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PathConstraintMixTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PathConstraintMixTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PathConstraintPositionTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PathConstraintPositionTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PathConstraintSpacingTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PathConstraintSpacingTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PointAttachment.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PointAttachment.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Pool.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/PositionMode.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/RegionAttachment.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/RegionAttachment.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/RotateMode.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/RotateTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/RotateTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/RTTI.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/RTTI.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/ScaleTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/ScaleTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/ShearTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/ShearTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Skeleton.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Skeleton.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SkeletonBinary.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SkeletonBinary.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SkeletonBounds.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SkeletonBounds.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SkeletonClipping.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SkeletonClipping.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SkeletonData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SkeletonData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SkeletonJson.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SkeletonJson.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Skin.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Skin.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Slot.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Slot.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SlotData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SlotData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SpacingMode.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/spine.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SpineObject.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SpineObject.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/SpineString.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TextureLoader.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TextureLoader.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Timeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Timeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TimelineType.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TransformConstraint.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TransformConstraint.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TransformConstraintData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TransformConstraintData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TransformConstraintTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TransformConstraintTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TransformMode.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TranslateTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TranslateTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Triangulator.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Triangulator.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TwoColorTimeline.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/TwoColorTimeline.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Updatable.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Updatable.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Vector.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/VertexAttachment.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/VertexAttachment.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/VertexEffect.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/VertexEffect.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine/Vertices.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/AttachmentVertices.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/AttachmentVertices.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/AttachUtil.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/AttachUtil.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/SkeletonAnimation.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/SkeletonCache.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/SkeletonCache.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/SkeletonCacheMgr.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/SkeletonCacheMgr.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/SkeletonDataMgr.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/SkeletonRenderer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/spine-cocos2dx.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/spine-cocos2dx.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/VertexEffectDelegate.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support/VertexEffectDelegate.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_spine_manual.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_spine_auto.cpp
)
endif() # CC_USE_SPINE
##### CC_USE_DRAGONBONES
if(CC_USE_DRAGONBONES)
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/DragonBonesHeaders.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/animation/Animation.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/animation/Animation.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/animation/AnimationState.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/animation/AnimationState.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/animation/BaseTimelineState.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/animation/BaseTimelineState.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/animation/IAnimatable.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/animation/TimelineState.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/animation/TimelineState.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/animation/WorldClock.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/animation/WorldClock.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/Armature.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/Armature.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/Bone.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/Bone.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/Constraint.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/Constraint.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/DeformVertices.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/DeformVertices.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/IArmatureProxy.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/Slot.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/Slot.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/TransformObject.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/armature/TransformObject.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/core/BaseObject.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/core/BaseObject.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/core/DragonBones.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/core/DragonBones.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/event/EventObject.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/event/EventObject.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/event/IEventDispatcher.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/factory/BaseFactory.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/factory/BaseFactory.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/geom/ColorTransform.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/geom/Matrix.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/geom/Point.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/geom/Point.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/geom/Rectangle.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/geom/Transform.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/geom/Transform.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/AnimationConfig.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/AnimationConfig.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/AnimationData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/AnimationData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/ArmatureData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/ArmatureData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/BoundingBoxData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/BoundingBoxData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/CanvasData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/CanvasData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/ConstraintData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/ConstraintData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/DisplayData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/DisplayData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/DragonBonesData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/DragonBonesData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/SkinData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/SkinData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/TextureAtlasData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/TextureAtlasData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/UserData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/model/UserData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/parser/BinaryDataParser.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/parser/BinaryDataParser.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/parser/DataParser.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/parser/DataParser.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/parser/JSONDataParser.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones/parser/JSONDataParser.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/ArmatureCache.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/ArmatureCache.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/AttachUtil.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/AttachUtil.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/CCDragonBonesHeaders.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/CCFactory.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/CCFactory.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/CCSlot.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/CCSlot.h
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_dragonbones_manual.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_dragonbones_auto.cpp
)
endif() # CC_USE_DRAGONBONES
##### USE_WEBVIEW
if(CC_USE_WEBVIEW)
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_webview_auto.hpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_webview_auto.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/ui/webview/WebViewImpl-openharmony.h
${CMAKE_CURRENT_LIST_DIR}/cocos/ui/webview/WebViewImpl-openharmony.cpp
)
endif() # USE_WEBVIEW
##### USE_AUDIO
if(CC_USE_AUDIO)
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_audioengine_auto.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/AudioEngine.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AssetFd.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AssetFd.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/audio.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioBufferProvider.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioDecoder.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioDecoder.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioDecoderMp3.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioDecoderMp3.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioDecoderOgg.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioDecoderOgg.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioDecoderProvider.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioDecoderProvider.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioDecoderSLES.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioDecoderSLES.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioDecoderWav.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioDecoderWav.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioEngine-inl.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioEngine-inl.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioMixer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioMixer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioMixerController.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioMixerController.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioMixerOps.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioPlayerProvider.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioPlayerProvider.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioResampler.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioResampler.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioResamplerCubic.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioResamplerCubic.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/AudioResamplerPublic.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/IAudioPlayer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/ICallerThreadUtils.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/IVolumeProvider.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/mp3reader.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/mp3reader.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/OpenSLHelper.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/PcmAudioPlayer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/PcmAudioPlayer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/PcmBufferProvider.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/PcmBufferProvider.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/PcmData.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/PcmData.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/tinysndfile.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/tinysndfile.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/Track.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/Track.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/audio_utils/format.c
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/audio_utils/minifloat.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/audio_utils/primitives.c
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/audio_utils/include/audio_utils/format.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/audio_utils/include/audio_utils/minifloat.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/audio_utils/include/audio_utils/primitives.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/audio_utils/private/private.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/cutils/bitops.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/cutils/log.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/utils/Compat.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/utils/Errors.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/utils/Utils.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android/utils/Utils.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/openharmony/PcmAudioService.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/openharmony/PcmAudioService.h
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/openharmony/UrlAudioPlayer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/audio/openharmony/UrlAudioPlayer.h
)
endif() # USE_AUDIO
##### USE_SOCKET
if(CC_USE_SOCKET)
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/network/SocketIO.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/network/SocketIO.h
${CMAKE_CURRENT_LIST_DIR}/cocos/network/WebSocket.h
${CMAKE_CURRENT_LIST_DIR}/cocos/network/WebSocket-libwebsockets.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/network/WebSocketServer.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/network/WebSocketServer.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_socketio.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_websocket.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/manual/jsb_websocket_server.cpp
)
endif() # USE_SOCKET
##### USE_PARTICLE
if(CC_USE_PARTICLE)
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/particle/ParticleSimulator.cpp
${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/particle/ParticleSimulator.h
${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/auto/jsb_cocos2dx_particle_auto.cpp
)
endif() # USE_PARTICLE
##### external source
list(APPEND CC_COCOS_SOURCES
${CMAKE_CURRENT_LIST_DIR}/external/sources/xxtea/xxtea.cpp
${CMAKE_CURRENT_LIST_DIR}/external/sources/xxtea/xxtea.h
${CMAKE_CURRENT_LIST_DIR}/external/sources/tinyxml2/tinyxml2.cpp
${CMAKE_CURRENT_LIST_DIR}/external/sources/tinyxml2/tinyxml2.h
${CMAKE_CURRENT_LIST_DIR}/external/sources/unzip/ioapi_mem.cpp
${CMAKE_CURRENT_LIST_DIR}/external/sources/unzip/ioapi_mem.h
${CMAKE_CURRENT_LIST_DIR}/external/sources/unzip/ioapi.cpp
${CMAKE_CURRENT_LIST_DIR}/external/sources/unzip/ioapi.h
${CMAKE_CURRENT_LIST_DIR}/external/sources/unzip/unzip.cpp
${CMAKE_CURRENT_LIST_DIR}/external/sources/unzip/unzip.h
${CMAKE_CURRENT_LIST_DIR}/external/sources/ConvertUTF/ConvertUTFWrapper.cpp
${CMAKE_CURRENT_LIST_DIR}/external/sources/ConvertUTF/ConvertUTF.c
${CMAKE_CURRENT_LIST_DIR}/external/sources/ConvertUTF/ConvertUTF.h
${CMAKE_CURRENT_LIST_DIR}/external/sources/edtaa3func/edtaa3func.cpp
${CMAKE_CURRENT_LIST_DIR}/external/sources/edtaa3func/edtaa3func.h
)
##### External sources
list(APPEND CC_COCOS_SOURCES ${CC_EXTERNAL_SOURCES})
################################# cc_apply_definations ###################################
function(cc_apply_definations target)
target_compile_definitions(${target} PUBLIC
$<IF:$<BOOL:${CC_USE_GFX_RENDERER}>,USE_GFX_RENDERER=1,USE_GFX_RENDERER=0>
$<IF:$<BOOL:${CC_USE_VIDEO}>,USE_VIDEO=1,USE_VIDEO=0>
$<IF:$<BOOL:${CC_USE_WEBVIEW}>,USE_WEB_VIEW=1,USE_WEB_VIEW=0>
$<IF:$<BOOL:${CC_USE_AUDIO}>,USE_AUDIO=1,USE_AUDIO=0>
$<IF:$<BOOL:${CC_USE_SOCKET}>,USE_SOCKET=1,USE_SOCKET=0>
$<IF:$<BOOL:${CC_USE_WEBSOCKET_SERVER}>,USE_WEBSOCKET_SERVER=1,USE_WEBSOCKET_SERVER=0>
$<IF:$<BOOL:${CC_USE_MIDDLEWARE}>,USE_MIDDLEWARE=1,USE_MIDDLEWARE=0>
$<IF:$<BOOL:${CC_USE_SPINE}>,USE_SPINE=1,USE_SPINE=0>
$<IF:$<BOOL:${CC_USE_DRAGONBONES}>,USE_DRAGONBONES=1,USE_DRAGONBONES=0>
$<IF:$<BOOL:${CC_USE_SE_NAPI}>,USE_SE_NAPI=1,USE_SE_NAPI=0>
$<IF:$<BOOL:${CC_USE_PARTICLE}>,USE_PARTICLE=1,USE_PARTICLE=0>
$<IF:$<BOOL:${CC_USE_SE_V8}>,USE_SE_V8=1,USE_SE_V8=0>
$<IF:$<BOOL:${CC_USE_SE_JSVM}>,USE_SE_JSVM=1,USE_SE_JSVM=0>
)
endfunction()
include_directories(${CC_EXTERNAL_INCLUDES})
include_directories(${CMAKE_CURRENT_LIST_DIR})
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/2d)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/audio/android)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/base)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/editor-support/spine-creator-support)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/math)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/network)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/platform)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/renderer)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/gfx)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/renderer)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/memop)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/renderer/scene/assembler)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/storage/local-storage)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/ui/edit-box)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/ui/webview)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/platform/openharmony/napi)
if(CC_USE_SE_NAPI)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/napi)
elseif(CC_USE_SE_JSVM)
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/jsvm)
else()
include_directories(${CMAKE_CURRENT_LIST_DIR}/cocos/scripting/js-bindings/jswrapper/v8)
endif()