-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
CMakeLists.txt
1197 lines (1143 loc) · 100 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
cmake_minimum_required(VERSION 3.16)
project(Vic2ToHoI4)
set(DATA_FILE_DIR ${CMAKE_SOURCE_DIR}/data)
set(FRONTER_DATA_FILE_DIR ${CMAKE_SOURCE_DIR}/external/Fronter/Fronter/Resources)
set(PROJECT_SOURCE_DIR ${CMAKE_SOURCE_DIR})
set(FRONTER_SOURCE_DIR ${CMAKE_SOURCE_DIR}/external/Fronter/Fronter/Source)
set(FRONTER_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/build/Release-Linux)
set(CONVERTER_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/build/Release-Linux/Vic2ToHoI4)
set(TEST_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/build/Release-LinuxTests)
set(CMAKE_CXX_STANDARD 20)
#if (DEFINED ENV{COVERAGE})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage")
set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE ON)
#elseif (DEFINED ENV{COVERAGE})
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 -Wall")
#endif (DEFINED ENV{COVERAGE})
add_compile_options("-O3")
add_compile_options(-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread)
#add_compile_options("-g")
find_package(CURL REQUIRED)
include_directories(${PROJECT_SOURCE_DIR})
include_directories("/usr/include/wx-3.2-unofficial")
include_directories("/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2-unofficial")
include_directories("external/Fronter/external/SQLiteCpp/include")
include_directories("external/Fronter/external/SQLiteCpp/sqlite3")
include_directories("external/Fronter/Fronter/Source")
include_directories(external/common_items)
include_directories(external/common_items/external/json/single_include)
include_directories(external/common_items/external/googletest/googletest)
include_directories(external/common_items/external/googletest/googletest/include)
include_directories(external/common_items/external/googletest/googlemock)
include_directories(external/common_items/external/googletest/googlemock/include)
#### Converter ####
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/BulkParser.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/Color.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/CommonFunctions.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/CommonRegexes.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ConvenientParser.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ConverterVersion.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/Date.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/GameVersion.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/Log.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/OSCompatibilityLayer.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/Parser.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ParserHelpers.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/StringUtils.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/targa.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ModLoader/ModFilesystem.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ModLoader/Mod.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ModLoader/ModLoader.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ModLoader/ModParser.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/Localization/LocalizationBlock.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/Localization/LocalizationDatabase.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/Localization/LocalizationLambdas.h")
set(PCH_SOURCES ${PCH_SOURCES} "${PROJECT_SOURCE_DIR}/external/bitmap/bitmap_image.hpp")
file(GLOB HOI4WORLD_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/*.cpp")
set(HOI4WORLD_CHARACTERS_SOURCES ${HOI4WORLD_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/AdmiralDataFactory.cpp")
set(HOI4WORLD_CHARACTERS_SOURCES ${HOI4WORLD_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/AdvisorDataFactory.cpp")
set(HOI4WORLD_CHARACTERS_SOURCES ${HOI4WORLD_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/CharacterFactory.cpp")
set(HOI4WORLD_CHARACTERS_SOURCES ${HOI4WORLD_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/CharactersFactory.cpp")
set(HOI4WORLD_CHARACTERS_SOURCES ${HOI4WORLD_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/CharactersCountryFactory.cpp")
set(HOI4WORLD_CHARACTERS_SOURCES ${HOI4WORLD_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/CommanderDataFactory.cpp")
set(HOI4WORLD_CHARACTERS_SOURCES ${HOI4WORLD_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/CountryLeaderDataFactory.cpp")
set(HOI4WORLD_CHARACTERS_SOURCES ${HOI4WORLD_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/PortraitsFactory.cpp")
set(HOI4WORLD_CHARACTERS_SOURCES ${HOI4WORLD_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/PortraitTypeFactory.cpp")
set(HOI4WORLD_COUNTRY_SOURCES ${HOI4WORLD_COUNTRY_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Countries/UnionCountry.cpp")
set(HOI4WORLD_COUNTRY_CATEGORIES_SOURCES ${HOI4WORLD_COUNTRY_CATEGORIES_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/CountryCategories/CountryCategories.cpp")
set(HOI4WORLD_COUNTRY_CATEGORIES_SOURCES ${HOI4WORLD_COUNTRY_CATEGORIES_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/CountryCategories/CountryGrammarRuleFactory.cpp")
set(HOI4WORLD_COUNTRY_CATEGORIES_SOURCES ${HOI4WORLD_COUNTRY_CATEGORIES_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/CountryCategories/CountryGrammarFactory.cpp")
file(GLOB HOI4WORLD_DECISIONS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Decisions/*.cpp")
file(GLOB HOI4WORLD_DIPLOMACY_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Diplomacy/*.cpp")
set(HOI4WORLD_EVENTS_SOURCES ${HOI4WORLD_EVENTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Events/CapitulationEvents.cpp")
set(HOI4WORLD_EVENTS_SOURCES ${HOI4WORLD_EVENTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Events/Event.cpp")
set(HOI4WORLD_EVENTS_SOURCES ${HOI4WORLD_EVENTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Events/EventHelpers.cpp")
set(HOI4WORLD_EVENTS_SOURCES ${HOI4WORLD_EVENTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Events/EventOption.cpp")
set(HOI4WORLD_EVENTS_SOURCES ${HOI4WORLD_EVENTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Events/Events.cpp")
set(HOI4WORLD_EVENTS_SOURCES ${HOI4WORLD_EVENTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Events/EventsFile.cpp")
set(HOI4WORLD_EVENTS_SOURCES ${HOI4WORLD_EVENTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Events/GenericEventUpdater.cpp")
set(HOI4WORLD_EVENTS_SOURCES ${HOI4WORLD_EVENTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Events/GovernmentInExileEvent.cpp")
set(HOI4WORLD_EVENTS_SOURCES ${HOI4WORLD_EVENTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Events/LarOccupationEvents.cpp")
set(HOI4WORLD_EVENTS_SOURCES ${HOI4WORLD_EVENTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Events/NavalTreatyEventsUpdaters.cpp")
file(GLOB HOI4WORLD_FOCUS_TREES_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/FocusTrees/*.cpp")
file(GLOB HOI4WORLD_GAME_RULES_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/GameRules/*.cpp")
file(GLOB HOI4WORLD_IDEAS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Ideas/*.cpp")
file(GLOB HOI4WORLD_IDEOLOGIES_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Ideologies/*.cpp")
file(GLOB HOI4WORLD_INTELLIGENCE_AGENCIES_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/IntelligenceAgencies/*.cpp")
set(HOI4WORLD_LEADERS_SOURCES ${HOI4WORLD_LEADERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Leaders/Advisor.cpp")
set(HOI4WORLD_LEADERS_SOURCES ${HOI4WORLD_LEADERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Leaders/IdeologicalAdvisors.cpp")
set(HOI4WORLD_LOCALISATIONS_SOURCES ${HOI4WORLD_LOCALISATIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/AllReplacementRules.cpp")
set(HOI4WORLD_LOCALISATIONS_SOURCES ${HOI4WORLD_LOCALISATIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/GrammarMappings.cpp")
set(HOI4WORLD_LOCALISATIONS_SOURCES ${HOI4WORLD_LOCALISATIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/LanguageReplacementRule.cpp")
set(HOI4WORLD_LOCALISATIONS_SOURCES ${HOI4WORLD_LOCALISATIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/LanguageReplacementRules.cpp")
set(HOI4WORLD_LOCALISATIONS_SOURCES ${HOI4WORLD_LOCALISATIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/LanguageReplacements.cpp")
set(HOI4WORLD_LOCALISATIONS_ARTICLERULES_SOURCES ${HOI4WORLD_LOCALISATIONS_ARTICLERULES_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/ArticleRules/ArticleRule.cpp")
set(HOI4WORLD_LOCALISATIONS_ARTICLERULES_SOURCES ${HOI4WORLD_LOCALISATIONS_ARTICLERULES_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/ArticleRules/ArticleRules.cpp")
set(HOI4WORLD_LOCALISATIONS_ARTICLERULES_SOURCES ${HOI4WORLD_LOCALISATIONS_ARTICLERULES_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/ArticleRules/ArticleRulesDefinition.cpp")
set(HOI4WORLD_LOCALISATIONS_ARTICLERULES_SOURCES ${HOI4WORLD_LOCALISATIONS_ARTICLERULES_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/ArticleRules/ArticleRulesFactory.cpp")
file(GLOB HOI4WORLD_MILITARY_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Military/*.cpp")
file(GLOB HOI4WORLD_MILITARY_MAPPINGS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/MilitaryMappings/*.cpp")
file(GLOB HOI4WORLD_MAP_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Map/*.cpp")
set(HOI4WORLD_MODIFIERS_SOURCES ${HOI4WORLD_MODIFIERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Modifiers/DynamicModifiers.cpp")
set(HOI4WORLD_MODIFIERS_SOURCES ${HOI4WORLD_MODIFIERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Modifiers/Modifier.cpp")
file(GLOB HOI4WORLD_NAMES_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Names/*.cpp")
file(GLOB HOI4WORLD_NAVIES_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Navies/*.cpp")
file(GLOB HOI4WORLD_OCCUPATION_LAWS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/OccupationLaws/*.cpp")
file(GLOB HOI4WORLD_OPERATIONS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Operations/*.cpp")
file(GLOB HOI4WORLD_OPERATIVE_NAMES_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/OperativeNames/*.cpp")
set(HOI4WORLD_PEACECONFERENCES_SOURCES ${HOI4WORLD_PEACECONFERENCES_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PeaceConferences/DynamicAiPeaces.cpp")
set(HOI4WORLD_PEACECONFERENCES_SOURCES ${HOI4WORLD_PEACECONFERENCES_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PeaceConferences/IdeologicalCostModifiers.cpp")
set(HOI4WORLD_PEACECONFERENCES_SOURCES ${HOI4WORLD_PEACECONFERENCES_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PeaceConferences/IdeologicalAiPeace.cpp")
set(HOI4WORLD_PLANE_DESIGNS_SOURCES ${HOI4WORLD_PLANE_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PlaneDesigns/PlaneDesign.cpp")
set(HOI4WORLD_PLANE_DESIGNS_SOURCES ${HOI4WORLD_PLANE_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PlaneDesigns/PlaneDesigns.cpp")
set(HOI4WORLD_PLANE_DESIGNS_SOURCES ${HOI4WORLD_PLANE_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PlaneDesigns/PlaneModules.cpp")
set(HOI4WORLD_PLANE_DESIGNS_SOURCES ${HOI4WORLD_PLANE_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PlaneDesigns/PossiblePlaneDesigns.cpp")
set(HOI4WORLD_REGIONS_SOURCES ${HOI4WORLD_REGIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Regions/RegionFactory.cpp")
set(HOI4WORLD_REGIONS_SOURCES ${HOI4WORLD_REGIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Regions/Regions.cpp")
set(HOI4WORLD_REGIONS_SOURCES ${HOI4WORLD_REGIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Regions/RegionsFactory.cpp")
set(HOI4WORLD_SCORERS_SOURCES ${HOI4WORLD_SCORERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Scorers/Scorer.cpp")
set(HOI4WORLD_SCORERS_SOURCES ${HOI4WORLD_SCORERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Scorers/ScorerFactory.cpp")
set(HOI4WORLD_SCORERS_SOURCES ${HOI4WORLD_SCORERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Scorers/Scorers.cpp")
set(HOI4WORLD_SCORERS_SOURCES ${HOI4WORLD_SCORERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Scorers/ScorersFactory.cpp")
set(HOI4WORLD_SCRIPTED_EFFECTS_SOURCES ${HOI4WORLD_SCRIPTED_EFFECTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedEffects/ScriptedEffectFactory.cpp")
set(HOI4WORLD_SCRIPTED_EFFECTS_SOURCES ${HOI4WORLD_SCRIPTED_EFFECTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedEffects/ScriptedEffectFile.cpp")
set(HOI4WORLD_SCRIPTED_EFFECTS_SOURCES ${HOI4WORLD_SCRIPTED_EFFECTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedEffects/ScriptedEffects.cpp")
set(HOI4WORLD_SCRIPTED_LOCALISATIONS_SOURCES ${HOI4WORLD_SCRIPTED_LOCALISATIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedLocalisations/ScriptedLocalisation.cpp")
set(HOI4WORLD_SCRIPTED_LOCALISATIONS_SOURCES ${HOI4WORLD_SCRIPTED_LOCALISATIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedLocalisations/ScriptedLocalisationFactory.cpp")
set(HOI4WORLD_SCRIPTED_LOCALISATIONS_SOURCES ${HOI4WORLD_SCRIPTED_LOCALISATIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedLocalisations/ScriptedLocalisations.cpp")
set(HOI4WORLD_SCRIPTED_LOCALISATIONS_SOURCES ${HOI4WORLD_SCRIPTED_LOCALISATIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedLocalisations/ScriptedLocalisationsFactory.cpp")
file(GLOB HOI4WORLD_SCRIPTED_TRIGGERS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedTriggers/*.cpp")
file(GLOB HOI4WORLD_SHIP_TYPES_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/ShipTypes/*.cpp")
set(HOI4WORLD_SOUNDS_SOURCES ${HOI4WORLD_SOUNDS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Sounds/SoundEffectMappingFactory.cpp")
set(HOI4WORLD_SOUNDS_SOURCES ${HOI4WORLD_SOUNDS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Sounds/SoundEffectsFactory.cpp")
set(HOI4WORLD_SOUNDS_SOURCES ${HOI4WORLD_SOUNDS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Sounds/SoundEffectsMapper.cpp")
set(HOI4WORLD_SOUNDS_SOURCES ${HOI4WORLD_SOUNDS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Sounds/SoundEffectsMapperFactory.cpp")
set(HOI4WORLD_SOUNDS_SOURCES ${HOI4WORLD_SOUNDS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Sounds/SoundEffectsMapperLinkFactory.cpp")
file(GLOB HOI4WORLD_STATES_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/States/*.cpp")
set(HOI4WORLD_TANK_DESIGNS_SOURCES ${HOI4WORLD_TANK_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/TankDesigns/PossibleTankDesigns.cpp")
set(HOI4WORLD_TANK_DESIGNS_SOURCES ${HOI4WORLD_TANK_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/TankDesigns/TankDesign.cpp")
set(HOI4WORLD_TANK_DESIGNS_SOURCES ${HOI4WORLD_TANK_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/TankDesigns/TankDesigns.cpp")
set(HOI4WORLD_TANK_DESIGNS_SOURCES ${HOI4WORLD_TANK_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/TankDesigns/TankModules.cpp")
set(HOI4WORLD_TANK_DESIGNS_SOURCES ${HOI4WORLD_TANK_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/TankDesigns/TankUpgrades.cpp")
set(HOI4WORLD_UNIT_MEDALS_SOURCES ${HOI4WORLD_UNIT_MEDALS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/UnitMedals/IdeologicalUnitMedals.cpp")
set(HOI4WORLD_WAR_CREATOR_SOURCES ${HOI4WORLD_WAR_CREATOR_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/WarCreator/MapUtils.cpp")
set(HOI4WORLD_WAR_CREATOR_SOURCES ${HOI4WORLD_WAR_CREATOR_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/WarCreator/HoI4WarCreator.cpp")
set(MAPPERS_CASUS_BELLIS_SOURCES ${MAPPERS_CASUS_BELLIS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/CasusBelli/CasusBelliMappingFactory.cpp")
set(MAPPERS_CASUS_BELLIS_SOURCES ${MAPPERS_CASUS_BELLIS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/CasusBelli/CasusBellis.cpp")
set(MAPPERS_CASUS_BELLIS_SOURCES ${MAPPERS_CASUS_BELLIS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/CasusBelli/CasusBellisFactory.cpp")
set(MAPPERS_COUNTRY_SOURCES ${MAPPERS_COUNTRY_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Country/CountryMapper.cpp")
set(MAPPERS_COUNTRY_SOURCES ${MAPPERS_COUNTRY_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Country/CountryMapperFactory.cpp")
set(MAPPERS_COUNTRY_SOURCES ${MAPPERS_COUNTRY_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Country/CountryMappingRuleFactory.cpp")
set(MAPPERS_COUNTRYNAME_SOURCES ${MAPPERS_COUNTRYNAME_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/CountryName/CountryNameMapper.cpp")
set(MAPPERS_COUNTRYNAME_SOURCES ${MAPPERS_COUNTRYNAME_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/CountryName/CountryNameMapperFactory.cpp")
set(MAPPERS_COUNTRYNAME_SOURCES ${MAPPERS_COUNTRYNAME_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/CountryName/CountryNameMappingFactory.cpp")
set(MAPPERS_FLAGS_TO_IDEAS_SOURCES ${MAPPERS_FLAGS_TO_IDEAS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/FlagsToIdeas/FlagsToIdeasMapper.cpp")
set(MAPPERS_FLAGS_TO_IDEAS_SOURCES ${MAPPERS_FLAGS_TO_IDEAS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/FlagsToIdeas/FlagsToIdeasMapperFactory.cpp")
set(MAPPERS_FLAGS_TO_IDEAS_SOURCES ${MAPPERS_FLAGS_TO_IDEAS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/FlagsToIdeas/FlagToIdeaMappingFactory.cpp")
set(MAPPERS_GOVERNMENT_SOURCES ${MAPPERS_GOVERNMENT_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Government/GovernmentMapper.cpp")
set(MAPPERS_GOVERNMENT_SOURCES ${MAPPERS_GOVERNMENT_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Government/GovernmentMapperFactory.cpp")
set(MAPPERS_GOVERNMENT_SOURCES ${MAPPERS_GOVERNMENT_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Government/GovernmentMappingFactory.cpp")
set(MAPPERS_GRAPHICS_SOURCES ${MAPPERS_GRAPHICS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Graphics/GraphicsCultureGroupFactory.cpp")
set(MAPPERS_GRAPHICS_SOURCES ${MAPPERS_GRAPHICS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Graphics/GraphicsMapper.cpp")
set(MAPPERS_GRAPHICS_SOURCES ${MAPPERS_GRAPHICS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Graphics/GraphicsMapperFactory.cpp")
set(MAPPERS_GRAPHICS_SOURCES ${MAPPERS_GRAPHICS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Graphics/IdeologyToPortraitsMappingFactory.cpp")
set(MAPPERS_IDEOLOGY_SOURCES ${MAPPERS_IDEOLOGY_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Ideology/IdeologyMappingFactory.cpp")
set(MAPPERS_IDEOLOGY_SOURCES ${MAPPERS_IDEOLOGY_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Ideology/IdeologyMapper.cpp")
set(MAPPERS_IDEOLOGY_SOURCES ${MAPPERS_IDEOLOGY_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Ideology/IdeologyMapperFactory.cpp")
set(MAPPERS_MERGE_RULES_SOURCES ${MAPPERS_MERGE_RULES_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/MergeRules/MergeRuleFactory.cpp")
set(MAPPERS_MERGE_RULES_SOURCES ${MAPPERS_MERGE_RULES_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/MergeRules/MergeRulesFactory.cpp")
set(MAPPERS_PROVINCES_SOURCES ${MAPPERS_PROVINCES_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Provinces/ProvinceMapperFactory.cpp")
set(MAPPERS_PROVINCES_SOURCES ${MAPPERS_PROVINCES_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Provinces/ProvinceMappingFactory.cpp")
set(MAPPERS_PROVINCES_SOURCES ${MAPPERS_PROVINCES_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Provinces/VersionedMappingsFactory.cpp")
set(MAPPERS_TECHNOLOGY_SOURCES ${MAPPERS_TECHNOLOGY_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Technology/ResearchBonusMappingFactory.cpp")
set(MAPPERS_TECHNOLOGY_SOURCES ${MAPPERS_TECHNOLOGY_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Technology/ResearchBonusMapperFactory.cpp")
set(MAPPERS_TECHNOLOGY_SOURCES ${MAPPERS_TECHNOLOGY_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Technology/TechMapperFactory.cpp")
set(MAPPERS_TECHNOLOGY_SOURCES ${MAPPERS_TECHNOLOGY_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Technology/TechMappingFactory.cpp")
set(MAPPERS_FACTIONNAME_SOURCES ${MAPPERS_FACTIONNAME_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/FactionName/FactionNameMapperFactory.cpp")
set(MAPPERS_FACTIONNAME_SOURCES ${MAPPERS_FACTIONNAME_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/FactionName/FactionNameMappingFactory.cpp")
set(MAPPERS_FACTIONNAME_SOURCES ${MAPPERS_FACTIONNAME_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/FactionName/FactionNameMapper.cpp")
set (MAPS_SOURCES ${MAPS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Maps/MapData.cpp")
set (MAPS_SOURCES ${MAPS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Maps/ProvinceDefinitions.cpp")
set (MAPS_SOURCES ${MAPS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Maps/ProvincePoints.cpp")
set(VIC2WORLD_AI_SOURCES ${VIC2WORLD_AI_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Ai/AI.cpp")
set(VIC2WORLD_AI_SOURCES ${VIC2WORLD_AI_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Ai/AIFactory.cpp")
set(VIC2WORLD_AI_SOURCES ${VIC2WORLD_AI_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Ai/AIStrategyFactory.cpp")
set(VIC2WORLD_COUNTRIES_SOURCES ${VIC2WORLD_COUNTRIES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Countries/CommonCountriesDataFactory.cpp")
set(VIC2WORLD_COUNTRIES_SOURCES ${VIC2WORLD_COUNTRIES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Countries/CommonCountryData.cpp")
set(VIC2WORLD_COUNTRIES_SOURCES ${VIC2WORLD_COUNTRIES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Countries/CommonCountryDataFactory.cpp")
set(VIC2WORLD_COUNTRIES_SOURCES ${VIC2WORLD_COUNTRIES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Countries/Country.cpp")
set(VIC2WORLD_COUNTRIES_SOURCES ${VIC2WORLD_COUNTRIES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Countries/CountryFactory.cpp")
set(VIC2WORLD_COUNTRIES_SOURCES ${VIC2WORLD_COUNTRIES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Countries/UnitNamesFactory.cpp")
set(VIC2WORLD_CULTURES_SOURCES ${VIC2WORLD_CULTURES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Culture/CultureGroups.cpp")
set(VIC2WORLD_CULTURES_SOURCES ${VIC2WORLD_CULTURES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Culture/CultureGroupFactory.cpp")
set(VIC2WORLD_CULTURES_SOURCES ${VIC2WORLD_CULTURES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Culture/CultureGroupsFactory.cpp")
set(VIC2WORLD_DIPLOMACY_SOURCES ${VIC2WORLD_DIPLOMACY_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Diplomacy/AgreementFactory.cpp")
set(VIC2WORLD_DIPLOMACY_SOURCES ${VIC2WORLD_DIPLOMACY_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Diplomacy/DiplomacyFactory.cpp")
set(VIC2WORLD_DIPLOMACY_SOURCES ${VIC2WORLD_DIPLOMACY_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Diplomacy/Relations.cpp")
set(VIC2WORLD_DIPLOMACY_SOURCES ${VIC2WORLD_DIPLOMACY_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Diplomacy/RelationsFactory.cpp")
set(VIC2WORLD_EU4TOVIC2DATA_SOURCES ${VIC2WORLD_EU4TOVIC2DATA_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/EU4ToVic2Data/CountriesData.cpp")
set(VIC2WORLD_EU4TOVIC2DATA_SOURCES ${VIC2WORLD_EU4TOVIC2DATA_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/EU4ToVic2Data/CountriesDataFactory.cpp")
set(VIC2WORLD_EU4TOVIC2DATA_SOURCES ${VIC2WORLD_EU4TOVIC2DATA_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/EU4ToVic2Data/CountryDataFactory.cpp")
set(VIC2WORLD_ISSUES_SOURCES ${VIC2WORLD_ISSUES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Issues/IssueCategoryHelper.cpp")
set(VIC2WORLD_ISSUES_SOURCES ${VIC2WORLD_ISSUES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Issues/IssueHelper.cpp")
set(VIC2WORLD_ISSUES_SOURCES ${VIC2WORLD_ISSUES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Issues/Issues.cpp")
set(VIC2WORLD_ISSUES_SOURCES ${VIC2WORLD_ISSUES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Issues/IssuesFactory.cpp")
set(VIC2WORLD_LOCALISATIONS_SOURCES ${VIC2WORLD_LOCALISATIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Localisations/LocalisationsFactory.cpp")
set(VIC2WORLD_LOCALISATIONS_SOURCES ${VIC2WORLD_LOCALISATIONS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Localisations/Vic2Localisations.cpp")
set(VIC2WORLD_MAP_SOURCES ${VIC2WORLD_MAP_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Map/Vic2ProvinceDefinitionImporter.cpp")
set(VIC2WORLD_MILITARY_SOURCES ${VIC2WORLD_MILITARY_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/ArmyFactory.cpp")
set(VIC2WORLD_MILITARY_SOURCES ${VIC2WORLD_MILITARY_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/UnitFactory.cpp")
set(VIC2WORLD_MILITARY_LEADERS_SOURCES ${VIC2WORLD_MILITARY_LEADERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/Leaders/Leader.cpp")
set(VIC2WORLD_MILITARY_LEADERS_SOURCES ${VIC2WORLD_MILITARY_LEADERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/Leaders/LeaderFactory.cpp")
set(VIC2WORLD_MILITARY_LEADERS_SOURCES ${VIC2WORLD_MILITARY_LEADERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/Leaders/Trait.cpp")
set(VIC2WORLD_MILITARY_LEADERS_SOURCES ${VIC2WORLD_MILITARY_LEADERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/Leaders/TraitGroup.cpp")
set(VIC2WORLD_MILITARY_LEADERS_SOURCES ${VIC2WORLD_MILITARY_LEADERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/Leaders/Traits.cpp")
set(VIC2WORLD_MILITARY_LEADERS_SOURCES ${VIC2WORLD_MILITARY_LEADERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/Leaders/TraitsFactory.cpp")
set(VIC2WORLD_POLITICS_SOURCES ${VIC2WORLD_POLITICS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Politics/Party.cpp")
set(VIC2WORLD_POLITICS_SOURCES ${VIC2WORLD_POLITICS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Politics/PartyFactory.cpp")
set(VIC2WORLD_POPS_SOURCES ${VIC2WORLD_POPS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Pops/Pop.cpp")
set(VIC2WORLD_POPS_SOURCES ${VIC2WORLD_POPS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Pops/PopFactory.cpp")
set(VIC2WORLD_PROVINCES_SOURCES ${VIC2WORLD_PROVINCES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Provinces/Province.cpp")
set(VIC2WORLD_PROVINCES_SOURCES ${VIC2WORLD_PROVINCES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Provinces/ProvinceFactory.cpp")
set(VIC2WORLD_STATES_SOURCES ${VIC2WORLD_STATES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/BuildingReader.cpp")
set(VIC2WORLD_STATES_SOURCES ${VIC2WORLD_STATES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/State.cpp")
set(VIC2WORLD_STATES_SOURCES ${VIC2WORLD_STATES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/StateDefinitions.cpp")
set(VIC2WORLD_STATES_SOURCES ${VIC2WORLD_STATES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/StateDefinitionsFactory.cpp")
set(VIC2WORLD_STATES_SOURCES ${VIC2WORLD_STATES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/StateFactory.cpp")
set(VIC2WORLD_STATES_SOURCES ${VIC2WORLD_STATES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/StateLanguageCategories.cpp")
set(VIC2WORLD_STATES_SOURCES ${VIC2WORLD_STATES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/StateLanguageCategoriesFactory.cpp")
set(VIC2WORLD_STOCKPILES_SOURCES ${VIC2WORLD_STOCKPILES_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Stockpiles/StockpileFactory.cpp")
set(VIC2WORLD_TECHNOLOGY_SOURCES ${VIC2WORLD_TECHNOLOGY_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Technology/Inventions.cpp")
set(VIC2WORLD_TECHNOLOGY_SOURCES ${VIC2WORLD_TECHNOLOGY_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Technology/InventionsFactory.cpp")
set(VIC2WORLD_TECHNOLOGY_SOURCES ${VIC2WORLD_TECHNOLOGY_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Technology/TechnologyFactory.cpp")
set(VIC2WORLD_WARS_SOURCES ${VIC2WORLD_WARS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Wars/WarFactory.cpp")
set(VIC2WORLD_WARS_SOURCES ${VIC2WORLD_WARS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Wars/WarGoalFactory.cpp")
set(VIC2WORLD_WORLD_SOURCES ${VIC2WORLD_WORLD_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/World/World.cpp")
set(VIC2WORLD_WORLD_SOURCES ${VIC2WORLD_WORLD_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/World/WorldFactory.cpp")
file(GLOB OUTHOI4_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/*.cpp")
set(OUTHOI4_AI_STRATEGY_SOURCES ${OUTHOI4_AI_STRATEGY_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/AiStrategy/OutAiStrategy.cpp")
set(OUTHOI4_CHARACTERS_SOURCES ${OUTHOI4_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Characters/OutAdmiralData.cpp")
set(OUTHOI4_CHARACTERS_SOURCES ${OUTHOI4_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Characters/OutAdvisorData.cpp")
set(OUTHOI4_CHARACTERS_SOURCES ${OUTHOI4_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Characters/OutCharacter.cpp")
set(OUTHOI4_CHARACTERS_SOURCES ${OUTHOI4_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Characters/OutCommanderData.cpp")
set(OUTHOI4_CHARACTERS_SOURCES ${OUTHOI4_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Characters/OutCountryLeaderData.cpp")
set(OUTHOI4_CHARACTERS_SOURCES ${OUTHOI4_CHARACTERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Characters/OutPortrait.cpp")
set(OUTHOI4_COUNTRY_SOURCES ${OUTHOI4_COUNTRY_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Countries/OutEquipment.cpp")
set(OUTHOI4_COUNTRY_SOURCES ${OUTHOI4_COUNTRY_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Countries/OutUnionCountry.cpp")
set(OUTHOI4_COUNTRY_CATEGORIES_SOURCES ${OUTHOI4_COUNTRY_CATEGORIES_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/CountryCategories/OutCountryCategories.cpp")
set(OUTHOI4_COUNTRY_CATEGORIES_SOURCES ${OUTHOI4_COUNTRY_CATEGORIES_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/CountryCategories/OutCountryCategory.cpp")
file(GLOB OUTHOI4_DECISIONS_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/Decisions/*.cpp")
file(GLOB OUTHOI4_DIPLOMACY_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/Diplomacy/*.cpp")
file(GLOB OUTHOI4_EVENTS_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/Events/*.cpp")
file(GLOB OUTHOI4_GAME_RULES_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/GameRules/*.cpp")
file(GLOB OUTHOI4_IDEAS_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/Ideas/*.cpp")
file(GLOB OUTHOI4_IDEOLOGIES_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/Ideologies/*.cpp")
file(GLOB OUTHOI4_INTELLIGENCE_AGENCIES_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/IntelligenceAgencies/*.cpp")
set(OUTHOI4_INTERFACE_SOURCES ${OUTHOI4_INTERFACE_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Interface/OutMonarchsInterface.cpp")
set(OUTHOI4_LEADERS_SOURCES ${OUTHOI4_LEADERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Leaders/OutAdvisor.cpp")
file(GLOB OUTHOI4_MAP_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/Map/*.cpp")
file(GLOB OUTHOI4_MILITARY_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/Military/*.cpp")
set(OUTHOI4_MODIFIERS_SOURCES ${OUTHOI4_MODIFIERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Modifiers/OutDynamicModifiers.cpp")
set(OUTHOI4_MODIFIERS_SOURCES ${OUTHOI4_MODIFIERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Modifiers/OutModifier.cpp")
file(GLOB OUTHOI4_NAVIES_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/Navies/*.cpp")
file(GLOB OUTHOI4_OCCUPATION_LAWS_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/OccupationLaws/*.cpp")
file(GLOB OUTHOI4_OPERATIONS_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/Operations/*.cpp")
file(GLOB OUTHOI4_OPERATIVE_NAMES_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/OperativeNames/*.cpp")
set(OUTHOI4_OPERATIVE_SOURCES ${OUTHOI4_OPERATIVE_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Operative/OutOperative.cpp")
set(OUTHOI4_PEACECONFERENCE_SOURCES ${OUTHOI4_PEACECONFERENCE_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/PeaceConference/OutAiPeace.cpp")
set(OUTHOI4_PEACECONFERENCE_SOURCES ${OUTHOI4_PEACECONFERENCE_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/PeaceConference/OutCostModifiers.cpp")
set(OUTHOI4_PLANE_DESIGNS_SOURCES ${OUTHOI4_PLANE_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/PlaneDesigns/OutPlaneDesign.cpp")
set(OUTHOI4_PLANE_DESIGNS_SOURCES ${OUTHOI4_PLANE_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/PlaneDesigns/OutPlaneDesigns.cpp")
set(OUTHOI4_PLANE_DESIGNS_SOURCES ${OUTHOI4_PLANE_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/PlaneDesigns/OutPlaneModules.cpp")
set(OUTHOI4_SCORERS_SOURCES ${OUTHOI4_SCORERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Scorers/OutScorers.cpp")
set(OUTHOI4_SCORERS_SOURCES ${OUTHOI4_SCORERS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Scorers/OutScorer.cpp")
set(OUTHOI4_SCRIPTED_EFFECTS_SOURCES ${OUTHOI4_SCRIPTED_EFFECTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/ScriptedEffects/OutScriptedEffects.cpp")
set(OUTHOI4_SCRIPTED_EFFECTS_SOURCES ${OUTHOI4_SCRIPTED_EFFECTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/ScriptedEffects/OutScriptedEffect.cpp")
file(GLOB OUTHOI4_SCRIPTED_LOCALISATIONS_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/ScriptedLocalisations/*.cpp")
file(GLOB OUTHOI4_SCRIPTED_TRIGGERS_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/ScriptedTriggers/*.cpp")
file(GLOB OUTHOI4_SHIP_TYPES_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/ShipTypes/*.cpp")
set(OUTHOI4_SOUNDS_SOURCES ${OUTHOI4_SOUNDS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Sounds/OutSounds.cpp")
file(GLOB OUTHOI4_STATES_SOURCES "${PROJECT_SOURCE_DIR}/src/OutHoi4/States/*.cpp")
set(OUTHOI4_TANK_DESIGNS_SOURCES ${OUTHOI4_TANK_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/TankDesigns/OutTankDesign.cpp")
set(OUTHOI4_TANK_DESIGNS_SOURCES ${OUTHOI4_TANK_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/TankDesigns/OutTankDesigns.cpp")
set(OUTHOI4_TANK_DESIGNS_SOURCES ${OUTHOI4_TANK_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/TankDesigns/OutTankModules.cpp")
set(OUTHOI4_TANK_DESIGNS_SOURCES ${OUTHOI4_TANK_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/TankDesigns/OutTankUpgrades.cpp")
set(OUTHOI4_UNIT_MEDALS_SOURCES ${OUTHOI4_TANK_DESIGNS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/UnitMedals/OutUnitMedals.cpp")
file(GLOB MAIN_SOURCE "${PROJECT_SOURCE_DIR}/src/main.cpp")
file(GLOB CONVERTER_SOURCES ${CONVERTER_SOURCES} "${PROJECT_SOURCE_DIR}/src/Configuration.cpp")
file(GLOB CONVERTER_SOURCES ${CONVERTER_SOURCES} "${PROJECT_SOURCE_DIR}/src/Vic2toHOI4Converter.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/BulkParser.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/Color.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/CommonFunctions.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ConvenientParser.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ConverterVersion.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/Date.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/GameVersion.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/iconvlite.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/LinuxUtils.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/Log.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ModLoader/ModFilesystem.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ModLoader/ModLoader.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ModLoader/ModParser.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/OSCommonLayer.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/Parser.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/ParserHelpers.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/StringUtils.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/targa.cpp")
set(COMMON_SOURCES ${COMMON_SOURCES} "${PROJECT_SOURCE_DIR}/external/common_items/external/zip/src/zip.c")
add_library(CommonItems ${COMMON_SOURCES})
# add all vic2 sources to a list.
list(APPEND ALL_HOI4_FILES
${CONVERTER_SOURCES}
${OUTHOI4_SOURCES}
${OUTHOI4_CHARACTERS_SOURCES}
${OUTHOI4_COUNTRY_SOURCES}
${OUTHOI4_COUNTRY_CATEGORIES_SOURCES}
${OUTHOI4_DECISIONS_SOURCES}
${OUTHOI4_AI_STRATEGY_SOURCES}
${OUTHOI4_DIPLOMACY_SOURCES}
${OUTHOI4_EVENTS_SOURCES}
${OUTHOI4_GAME_RULES_SOURCES}
${OUTHOI4_IDEAS_SOURCES}
${OUTHOI4_IDEOLOGIES_SOURCES}
${OUTHOI4_INTELLIGENCE_AGENCIES_SOURCES}
${OUTHOI4_INTERFACE_SOURCES}
${OUTHOI4_LEADERS_SOURCES}
${OUTHOI4_MAP_SOURCES}
${OUTHOI4_MILITARY_SOURCES}
${OUTHOI4_MODIFIERS_SOURCES}
${OUTHOI4_OCCUPATION_LAWS_SOURCES}
${OUTHOI4_OPERATIONS_SOURCES}
${OUTHOI4_OPERATIVE_NAMES_SOURCES}
${OUTHOI4_OPERATIVE_SOURCES}
${OUTHOI4_PEACECONFERENCE_SOURCES}
${OUTHOI4_PLANE_DESIGNS_SOURCES}
${OUTHOI4_NAVIES_SOURCES}
${OUTHOI4_SCORERS_SOURCES}
${OUTHOI4_SCRIPTED_EFFECTS_SOURCES}
${OUTHOI4_SCRIPTED_LOCALISATIONS_SOURCES}
${OUTHOI4_SCRIPTED_TRIGGERS_SOURCES}
${OUTHOI4_SHIP_TYPES_SOURCES}
${OUTHOI4_SOUNDS_SOURCES}
${OUTHOI4_STATES_SOURCES}
${OUTHOI4_TANK_DESIGNS_SOURCES}
${OUTHOI4_UNIT_MEDALS_SOURCES}
${OUTHOI4_VERSION}
${VIC2WORLD_AI_SOURCES}
${VIC2WORLD_COUNTRIES_SOURCES}
${VIC2WORLD_CULTURES_SOURCES}
${VIC2WORLD_DIPLOMACY_SOURCES}
${VIC2WORLD_EU4TOVIC2DATA_SOURCES}
${VIC2WORLD_ISSUES_SOURCES}
${VIC2WORLD_LOCALISATIONS_SOURCES}
${VIC2WORLD_MAP_SOURCES}
${VIC2WORLD_MILITARY_SOURCES}
${VIC2WORLD_MILITARY_LEADERS_SOURCES}
${VIC2WORLD_POLITICS_SOURCES}
${VIC2WORLD_POPS_SOURCES}
${VIC2WORLD_PROVINCES_SOURCES}
${VIC2WORLD_STATES_SOURCES}
${VIC2WORLD_STOCKPILES_SOURCES}
${VIC2WORLD_TECHNOLOGY_SOURCES}
${VIC2WORLD_WARS_SOURCES}
${VIC2WORLD_WORLD_SOURCES}
${MAPPERS_CASUS_BELLIS_SOURCES}
${MAPPERS_COUNTRY_SOURCES}
${MAPPERS_COUNTRYNAME_SOURCES}
${MAPPERS_FLAGS_TO_IDEAS_SOURCES}
${MAPPERS_GOVERNMENT_SOURCES}
${MAPPERS_GRAPHICS_SOURCES}
${MAPPERS_IDEOLOGY_SOURCES}
${MAPPERS_MERGE_RULES_SOURCES}
${MAPPERS_TECHNOLOGY_SOURCES}
${MAPPERS_PROVINCES_SOURCES}
${MAPPERS_FACTIONNAME_SOURCES}
${MAPS_SOURCES}
${HOI4_SOURCES}
${HOI4WORLD_CHARACTERS_SOURCES}
${HOI4_DECISIONS_SOURCES}
${HOI4_DIPLOMACY_SOURCES}
${HOI4_EVENTS_SOURCES}
${HOI4_NAVIES_SOURCES}
${HOI4_SCRIPTED_LOCALISATIONS_SOURCES}
${HOI4_SHIP_TYPES_SOURCES}
${HOI4_STATES_SOURCES}
${HOI4WORLD_SOURCES}
${HOI4WORLD_COUNTRY_SOURCES}
${HOI4WORLD_COUNTRY_CATEGORIES_SOURCES}
${HOI4WORLD_DECISIONS_SOURCES}
${HOI4WORLD_DIPLOMACY_SOURCES}
${HOI4WORLD_EVENTS_SOURCES}
${HOI4WORLD_FOCUS_TREES_SOURCES}
${HOI4WORLD_GAME_RULES_SOURCES}
${HOI4WORLD_IDEAS_SOURCES}
${HOI4WORLD_IDEOLOGIES_SOURCES}
${HOI4WORLD_INTELLIGENCE_AGENCIES_SOURCES}
${HOI4WORLD_LEADERS_SOURCES}
${HOI4WORLD_LOCALISATIONS_SOURCES}
${HOI4WORLD_LOCALISATIONS_ARTICLERULES_SOURCES}
${HOI4WORLD_MILITARY_SOURCES}
${HOI4WORLD_MILITARY_MAPPINGS_SOURCES}
${HOI4WORLD_MAP_SOURCES}
${HOI4WORLD_MODIFIERS_SOURCES}
${HOI4WORLD_NAMES_SOURCES}
${HOI4WORLD_NAVIES_SOURCES}
${HOI4WORLD_OCCUPATION_LAWS_SOURCES}
${HOI4WORLD_OPERATIONS_SOURCES}
${HOI4WORLD_OPERATIVE_NAMES_SOURCES}
${HOI4WORLD_PEACECONFERENCES_SOURCES}
${HOI4WORLD_PLANE_DESIGNS_SOURCES}
${HOI4WORLD_REGIONS_SOURCES}
${HOI4WORLD_SCORERS_SOURCES}
${HOI4WORLD_SCRIPTED_EFFECTS_SOURCES}
${HOI4WORLD_SCRIPTED_LOCALISATIONS_SOURCES}
${HOI4WORLD_SCRIPTED_TRIGGERS_SOURCES}
${HOI4WORLD_SHIP_TYPES_SOURCES}
${HOI4WORLD_STATES_SOURCES}
${HOI4WORLD_SOUNDS_SOURCES}
${HOI4WORLD_TANK_DESIGNS_SOURCES}
${HOI4WORLD_UNIT_MEDALS_SOURCES}
${HOI4WORLD_WAR_CREATOR_SOURCES}
)
# filter globbed tests out.
list(FILTER ALL_HOI4_FILES EXCLUDE REGEX ".*Tests\\.cpp$")
add_library(Vic2ToHoi4lib
${ALL_HOI4_FILES}
)
target_precompile_headers(Vic2ToHoi4lib PUBLIC ${PCH_SOURCES})
target_link_libraries(Vic2ToHoi4lib LINK_PUBLIC CommonItems)
add_executable(
Vic2ToHoi4Converter
${MAIN_SOURCE}
)
set_target_properties( Vic2ToHoi4Converter
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CONVERTER_OUTPUT_DIRECTORY}
)
target_precompile_headers(Vic2ToHoi4Converter REUSE_FROM Vic2ToHoi4lib)
target_link_libraries(Vic2ToHoi4Converter LINK_PUBLIC Vic2ToHoi4lib)
configure_file("${DATA_FILE_DIR}/configuration-example.txt" "${CONVERTER_OUTPUT_DIRECTORY}/configuration-example.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/FAQ.txt" "${CONVERTER_OUTPUT_DIRECTORY}/../FAQ.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/license.txt" "${CONVERTER_OUTPUT_DIRECTORY}/../license.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/ReadMe.txt" "${CONVERTER_OUTPUT_DIRECTORY}/../ReadMe.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/version.txt" "${CONVERTER_OUTPUT_DIRECTORY}/../version.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/arabic_operative_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/arabic_operative_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/CZE_operative_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/CZE_operative_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/ENG_operative_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/ENG_operative_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/EST_operative_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/EST_operative_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/GRE_operative_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/GRE_operative_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/HUN_operative_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/HUN_operative_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/LAT_operative_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/LAT_operative_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/NOR_opertive_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/NOR_opertive_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/RME_operative_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/RME_operative_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/SIA_opertive_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/SIA_opertive_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/SOV_operative_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/SOV_operative_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/SWE_opertive_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/SWE_opertive_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CodenamesOperatives/TUR_operative_codenames.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CodenamesOperatives/TUR_operative_codenames.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/Localisations/ArticleRules.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/Localisations/ArticleRules.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/Localisations/StateCategories.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/Localisations/StateCategories.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/Map/regions.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/Map/regions.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/casus_bellis_mappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/casus_bellis_mappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/converterDynamicModifiers.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/converterDynamicModifiers.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/Sounds/CultureToVoiceMappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/Sounds/CultureToVoiceMappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/Scorers/generic_platonic_scorers.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/Scorers/generic_platonic_scorers.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/converterFocuses.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/converterFocuses.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/converterIdeas.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/converterIdeas.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/converterIdeologies.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/converterIdeologies.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/converterLeaderTraits.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/converterLeaderTraits.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CountryGrammar.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CountryGrammar.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/CountryNamesMappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CountryNamesMappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/country_mappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/country_mappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/cultureGroupToGraphics.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/cultureGroupToGraphics.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/FlagsToIdeasMappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/FlagsToIdeasMappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/foreignInfluenceDecisions.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/foreignInfluenceDecisions.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/GovernmentMappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/GovernmentMappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/factions_mappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/factions_mappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/grammar.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/grammar.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/Greater Flavor Mod_province_mappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/Greater Flavor Mod_province_mappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/Historical Flavour Mod v1.27I_province_mappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/Historical Flavour Mod v1.27I_province_mappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/Historical Project Mod 0.4.6_province_mappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/Historical Project Mod 0.4.6_province_mappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/ideologicalAdvisors.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/ideologicalAdvisors.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/ideological_ai_peace.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/ideological_ai_peace.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/ideological_cost_modifiers.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/ideological_cost_modifiers.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/ideological_unit_medals.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/ideological_unit_medals.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/ideologicalDecisions.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/ideologicalDecisions.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/IdeologyMappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/IdeologyMappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/ImportCharacters.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/ImportCharacters.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/IntelligenceAgencyLogos.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/IntelligenceAgencyLogos.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/languageReplacements.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/languageReplacements.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/languageReplacementsBis.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/languageReplacementsBis.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/merge_nations.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/merge_nations.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/names.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/names.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/OperativeNamesMappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/OperativeNamesMappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/plane_designs.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/plane_designs.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/positions.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/positions.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/province_mappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/province_mappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/resources.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/resources.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/shipTypes.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/shipTypes.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/research_bonus_mappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/research_bonus_mappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/tankDesigns.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/tankDesigns.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/tech_mappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/tech_mappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/The Concert of Europe_province_mappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/The Concert of Europe_province_mappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/unit_mappings.txt" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/unit_mappings.txt" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/Vic2Localisations/Vic2Localisations.csv" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/Vic2Localisations/Vic2Localisations.csv" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/Vic2Localisations/dominions.csv" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/Vic2Localisations/dominions.csv" COPYONLY)
configure_file("${DATA_FILE_DIR}/configurables/Vic2Localisations/unrecognized_nations.csv" "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/Vic2Localisations/unrecognized_nations.csv" COPYONLY)
file(COPY "${DATA_FILE_DIR}/blank_mod/" DESTINATION "${CONVERTER_OUTPUT_DIRECTORY}/blankmod/")
file(COPY "${DATA_FILE_DIR}/configurables/CustomizedFocusBranches/" DESTINATION "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/CustomizedFocusBranches/")
file(COPY "${DATA_FILE_DIR}/configurables/IdeologicalIdeas/" DESTINATION "${CONVERTER_OUTPUT_DIRECTORY}/Configurables/ideologicalIdeas/")
file(COPY "${DATA_FILE_DIR}/flags" DESTINATION "${CONVERTER_OUTPUT_DIRECTORY}")
add_custom_command(TARGET Vic2ToHoi4Converter POST_BUILD WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} COMMAND git rev-parse HEAD > build/Release-Linux/commit_id.txt)
#### Fronter ####
file(GLOB F_MAIN_SOURCES "${FRONTER_SOURCE_DIR}/*.cpp")
file(GLOB F_CONFIGURATION_SOURCES "${FRONTER_SOURCE_DIR}/Configuration/*.cpp")
file(GLOB F_CONFIGURATION_OPTIONS_SOURCES "${FRONTER_SOURCE_DIR}/Configuration/Options/*.cpp")
file(GLOB F_FRAMES_SOURCES "${FRONTER_SOURCE_DIR}/Frames/*.cpp")
file(GLOB F_FRAMES_TABS_SOURCES "${FRONTER_SOURCE_DIR}/Frames/Tabs/*.cpp")
file(GLOB F_UTILS_SOURCES "${FRONTER_SOURCE_DIR}/Utils/*.cpp")
file(GLOB F_UTILS_LOCALIZATION_SOURCES "${FRONTER_SOURCE_DIR}/Utils/Localization/*.cpp")
file(GLOB F_CONVERTERLAUNCHER_SOURCES "${FRONTER_SOURCE_DIR}/WorkerThreads/ConverterLauncher/*.cpp")
list(REMOVE_ITEM F_CONVERTERLAUNCHER_SOURCES "${FRONTER_SOURCE_DIR}/WorkerThreads/ConverterLauncher/WinConverterLauncher.cpp")
file(GLOB F_LOGWATCHER_SOURCES "${FRONTER_SOURCE_DIR}/WorkerThreads/LogWatcher/*.cpp")
file(GLOB F_MODCOPIER_SOURCES "${FRONTER_SOURCE_DIR}/WorkerThreads/ModCopier/*.cpp")
file(GLOB F_UPDATECHECKER_SOURCES "${FRONTER_SOURCE_DIR}/UpdateChecker/*.cpp")
file(GLOB F_SQLITE_SOURCES "${FRONTER_SOURCE_DIR}/../../external/SQLiteCpp/src/*.cpp")
file(GLOB F_SQLITE3_SOURCES "${FRONTER_SOURCE_DIR}/../../external/SQLiteCpp/sqlite3/*.c")
add_executable(ConverterFrontend
${F_MAIN_SOURCES}
${F_CONFIGURATION_SOURCES}
${F_CONFIGURATION_OPTIONS_SOURCES}
${F_FRAMES_SOURCES}
${F_FRAMES_TABS_SOURCES}
${F_UTILS_SOURCES}
${F_UTILS_LOCALIZATION_SOURCES}
${F_CONVERTERLAUNCHER_SOURCES}
${F_LOGWATCHER_SOURCES}
${F_MODCOPIER_SOURCES}
${F_UPDATECHECKER_SOURCES}
${F_SQLITE_SOURCES}
${F_SQLITE3_SOURCES}
)
find_package(wxWidgets REQUIRED COMPONENTS net core base)
include(${wxWidgets_USE_FILE})
set_target_properties(ConverterFrontend
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${FRONTER_OUTPUT_DIRECTORY}
)
target_link_libraries(ConverterFrontend LINK_PUBLIC ${wxWidgets_LIBRARIES} ${CURL_LIBRARIES} CommonItems)
add_custom_command(TARGET ConverterFrontend
COMMAND mkdir -p "${FRONTER_OUTPUT_DIRECTORY}/Configuration/" &&
cp -r "data/fronter/*" "${FRONTER_OUTPUT_DIRECTORY}/Configuration/" &&
cp -r "external/Fronter/Fronter/Resources/*yml" "${FRONTER_OUTPUT_DIRECTORY}/Configuration/" &&
cp external/Fronter/Fronter/Resources/converter.ico ${FRONTER_OUTPUT_DIRECTORY} &&
cp external/Fronter/Fronter/Resources/GeneralFAQ-READ.ME.FIRST.txt ${FRONTER_OUTPUT_DIRECTORY}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
#### Tests ####
set(GMOCK_SOURCES "external/common_items/external/googletest/googletest/src/gtest_main.cc")
set(GMOCK_SOURCES ${GMOCK_SOURCES} "external/common_items/external/googletest/googletest/src/gtest-all.cc")
set(GMOCK_SOURCES ${GMOCK_SOURCES} "external/common_items/external/googletest/googlemock/src/gmock-all.cc")
file(GLOB CONFIGURATION_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/ConfigurationTests.cpp")
set(HOI4WORLD_TESTS_SOURCES ${HOI4WORLD_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/TechnologiesTests.cpp")
set(HOI4WORLD_CHARACTERS_TESTS_SOURCES ${HOI4WORLD_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/AdmiralDataTests.cpp")
set(HOI4WORLD_CHARACTERS_TESTS_SOURCES ${HOI4WORLD_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/AdvisorDataTests.cpp")
set(HOI4WORLD_CHARACTERS_TESTS_SOURCES ${HOI4WORLD_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/CharacterFactoryTests.cpp")
set(HOI4WORLD_CHARACTERS_TESTS_SOURCES ${HOI4WORLD_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/CharactersFactoryTests.cpp")
set(HOI4WORLD_CHARACTERS_TESTS_SOURCES ${HOI4WORLD_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/CharactersCountryFactoryTests.cpp")
set(HOI4WORLD_CHARACTERS_TESTS_SOURCES ${HOI4WORLD_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/CommanderDataTests.cpp")
set(HOI4WORLD_CHARACTERS_TESTS_SOURCES ${HOI4WORLD_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/CountryLeaderDataTests.cpp")
set(HOI4WORLD_CHARACTERS_TESTS_SOURCES ${HOI4WORLD_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/PortraitsFactoryTests.cpp")
set(HOI4WORLD_CHARACTERS_TESTS_SOURCES ${HOI4WORLD_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/PortraitTests.cpp")
set(HOI4WORLD_CHARACTERS_TESTS_SOURCES ${HOI4WORLD_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Characters/PortraitTypeFactoryTests.cpp")
set(HOI4WORLD_COUNTRY_TESTS_SOURCES ${HOI4WORLD_COUNTRY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Countries/EquipmentTests.cpp")
set(HOI4WORLD_COUNTRY_TESTS_SOURCES ${HOI4WORLD_COUNTRY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Countries/UnionCountryTests.cpp")
set(HOI4WORLD_COUNTRY_CATEGORIES_TESTS_SOURCES ${HOI4WORLD_COUNTRY_CATEGORIES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/CountryCategories/CountryCategoriesTests.cpp")
set(HOI4WORLD_COUNTRY_CATEGORIES_TESTS_SOURCES ${HOI4WORLD_COUNTRY_CATEGORIES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/CountryCategories/CountryGrammarRuleTests.cpp")
set(HOI4WORLD_COUNTRY_CATEGORIES_TESTS_SOURCES ${HOI4WORLD_COUNTRY_CATEGORIES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/CountryCategories/CountryGrammarTests.cpp")
file(GLOB HOI4WORLD_DECISIONS_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Decisions/*.cpp")
file(GLOB HOI4WORLD_DIPLOMACY_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Diplomacy/*.cpp")
file(GLOB HOI4WORLD_EVENTS_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Events/*.cpp")
file(GLOB HOI4WORLD_FOCUS_TREES_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/FocusTrees/*.cpp")
file(GLOB HOI4WORLD_GAME_RULES_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/GameRules/*.cpp")
file(GLOB HOI4WORLD_IDEAS_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Ideas/*.cpp")
file(GLOB HOI4WORLD_IDEOLOGIES_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Ideologies/*.cpp")
file(GLOB HOI4WORLD_INTELLIGENCE_AGENCIES_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/IntelligenceAgencies/*.cpp")
set(HOI4WORLD_LEADER_TESTS_SOURCES ${HOI4WORLD_LEADER_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Leaders/AdvisorTests.cpp")
set(HOI4WORLD_LOCALISATIONS_TESTS_SOURCES ${HOI4WORLD_LOCALISATIONS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/AllReplacementRulesTests.cpp")
set(HOI4WORLD_LOCALISATIONS_TESTS_SOURCES ${HOI4WORLD_LOCALISATIONS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/GrammarMappingsTests.cpp")
set(HOI4WORLD_LOCALISATIONS_TESTS_SOURCES ${HOI4WORLD_LOCALISATIONS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/LanguageReplacementRuleTests.cpp")
set(HOI4WORLD_LOCALISATIONS_TESTS_SOURCES ${HOI4WORLD_LOCALISATIONS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/LanguageReplacementRulesTests.cpp")
set(HOI4WORLD_LOCALISATIONS_TESTS_SOURCES ${HOI4WORLD_LOCALISATIONS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/LanguageReplacementsTests.cpp")
set(HOI4WORLD_LOCALISATIONS_ARTICLERULES_TESTS_SOURCES ${HOI4WORLD_LOCALISATIONS_ARTICLERULES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/ArticleRules/ArticleRuleTests.cpp")
set(HOI4WORLD_LOCALISATIONS_ARTICLERULES_TESTS_SOURCES ${HOI4WORLD_LOCALISATIONS_ARTICLERULES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/ArticleRules/ArticleRulesTests.cpp")
set(HOI4WORLD_LOCALISATIONS_ARTICLERULES_TESTS_SOURCES ${HOI4WORLD_LOCALISATIONS_ARTICLERULES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/ArticleRules/ArticleRulesDefinitionTests.cpp")
set(HOI4WORLD_LOCALISATIONS_ARTICLERULES_TESTS_SOURCES ${HOI4WORLD_LOCALISATIONS_ARTICLERULES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Localisations/ArticleRules/ArticleRulesFactoryTests.cpp")
file(GLOB HOI4WORLD_MAP_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Map/*.cpp")
file(GLOB HOI4WORLD_MILITARY_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Military/*.cpp")
file(GLOB HOI4WORLD_MILITARY_MAPPINGS_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/MilitaryMappings/*.cpp")
set(HOI4WORLD_MODIFIERS_TESTS_SOURCES ${HOI4WORLD_MODIFIERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Modifiers/DynamicModifiersTests.cpp")
file(GLOB HOI4WORLD_NAMES_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Names/*.cpp")
file(GLOB HOI4WORLD_NAVIES_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Navies/*.cpp")
file(GLOB HOI4WORLD_OCCUPATION_LAWS_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/OccupationLaws/*.cpp")
file(GLOB HOI4WORLD_OPERATIONS_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/Operations/*.cpp")
file(GLOB HOI4WORLD_OPERATIVE_NAMES_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/OperativeNames/*.cpp")
set(HOI4WORLD_PEACECONFERENCES_TESTS_SOURCES ${HOI4WORLD_PEACECONFERENCES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PeaceConferences/IdeologicalAiPeaceTests.cpp")
set(HOI4WORLD_PEACECONFERENCES_TESTS_SOURCES ${HOI4WORLD_PEACECONFERENCES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PeaceConferences/IdeologicalCostModifiersTests.cpp")
set(HOI4WORLD_PLANE_DESIGNS_TESTS_SOURCES ${HOI4WORLD_PLANE_DESIGNS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PlaneDesigns/PlaneDesignTests.cpp")
set(HOI4WORLD_PLANE_DESIGNS_TESTS_SOURCES ${HOI4WORLD_PLANE_DESIGNS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PlaneDesigns/PlaneDesignsTests.cpp")
set(HOI4WORLD_PLANE_DESIGNS_TESTS_SOURCES ${HOI4WORLD_PLANE_DESIGNS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PlaneDesigns/PlaneModulesTests.cpp")
set(HOI4WORLD_PLANE_DESIGNS_TESTS_SOURCES ${HOI4WORLD_PLANE_DESIGNS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/PlaneDesigns/PossiblePlaneDesignsTests.cpp")
set(HOI4WORLD_REGIONS_TESTS_SOURCES ${HOI4WORLD_REGIONS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Regions/RegionTests.cpp")
set(HOI4WORLD_REGIONS_TESTS_SOURCES ${HOI4WORLD_REGIONS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Regions/RegionsTests.cpp")
set(HOI4WORLD_SCORERS_TESTS_SOURCES ${HOI4WORLD_SCORERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Scorers/ScorerFactoryTests.cpp")
set(HOI4WORLD_SCORERS_TESTS_SOURCES ${HOI4WORLD_SCORERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Scorers/ScorerTests.cpp")
set(HOI4WORLD_SCORERS_TESTS_SOURCES ${HOI4WORLD_SCORERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Scorers/ScorersFactoryTests.cpp")
set(HOI4WORLD_SCORERS_TESTS_SOURCES ${HOI4WORLD_SCORERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Scorers/ScorersTests.cpp")
set(HOI4WORLD_SCRIPTED_EFFECTS_TESTS_SOURCES ${HOI4WORLD_SCRIPTED_EFFECTS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedEffects/ScriptedEffectTests.cpp")
set(HOI4WORLD_SCRIPTED_EFFECTS_TESTS_SOURCES ${HOI4WORLD_SCRIPTED_EFFECTS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedEffects/ScriptedEffectFileTests.cpp")
set(HOI4WORLD_SCRIPTED_LOCALISATIONS_TESTS_SOURCES ${HOI4WORLD_SCRIPTED_LOCALISATIONS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedLocalisations/ScriptedLocalisationTests.cpp")
set(HOI4WORLD_SCRIPTED_LOCALISATIONS_TESTS_SOURCES ${HOI4WORLD_SCRIPTED_LOCALISATIONS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedLocalisations/ScriptedLocalisationsTests.cpp")
set(HOI4WORLD_SOUNDS_TESTS_SOURCES ${HOI4WORLD_SOUNDS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Sounds/SoundEffectMappingTests.cpp")
set(HOI4WORLD_SOUNDS_TESTS_SOURCES ${HOI4WORLD_SOUNDS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Sounds/SoundEffectsFactoryTests.cpp")
set(HOI4WORLD_SOUNDS_TESTS_SOURCES ${HOI4WORLD_SOUNDS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Sounds/SoundEffectsMapperLinkTests.cpp")
set(HOI4WORLD_SOUNDS_TESTS_SOURCES ${HOI4WORLD_SOUNDS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Sounds/SoundEffectsMapperTests.cpp")
set(HOI4WORLD_SOUNDS_TESTS_SOURCES ${HOI4WORLD_SOUNDS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/Sounds/SoundEffectsMappingTests.cpp")
file(GLOB HOI4WORLD_SCRIPTED_TRIGGERS_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/ScriptedTriggers/*.cpp")
file(GLOB HOI4WORLD_SHIP_TYPES_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/ShipTypes/*.cpp")
file(GLOB HOI4WORLD_STATES_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/HOI4World/States/*.cpp")
set(HOI4WORLD_TANK_DESIGNS_TESTS_SOURCES ${HOI4WORLD_TANK_DESIGNS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/TankDesigns/PossibleTankDesignsTests.cpp")
set(HOI4WORLD_TANK_DESIGNS_TESTS_SOURCES ${HOI4WORLD_TANK_DESIGNS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/TankDesigns/TankDesignsTests.cpp")
set(HOI4WORLD_TANK_DESIGNS_TESTS_SOURCES ${HOI4WORLD_TANK_DESIGNS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/TankDesigns/TankDesignTests.cpp")
set(HOI4WORLD_TANK_DESIGNS_TESTS_SOURCES ${HOI4WORLD_TANK_DESIGNS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/TankDesigns/TankModulesTests.cpp")
set(HOI4WORLD_TANK_DESIGNS_TESTS_SOURCES ${HOI4WORLD_TANK_DESIGNS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/TankDesigns/TankUpgradesTests.cpp")
set(HOI4WORLD_UNIT_MEDALS_TESTS_SOURCES ${HOI4WORLD_UNIT_MEDALS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/HOI4World/UnitMedals/IdeologicalUnitMedalsTests.cpp")
file(GLOB MAPPERS_TESTS_SOURCES "${PROJECT_SOURCE_DIR}/src/Mappers/*.cpp")
set(MAPPERS_CASUS_BELLIS_TESTS_SOURCES ${MAPPERS_CASUS_BELLIS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/CasusBelli/CasusBelliMappingTests.cpp")
set(MAPPERS_CASUS_BELLIS_TESTS_SOURCES ${MAPPERS_CASUS_BELLIS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/CasusBelli/CasusBellisTests.cpp")
set(MAPPERS_COUNTRY_TESTS_SOURCES ${MAPPERS_COUNTRY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Country/CountryMapperTests.cpp")
set(MAPPERS_COUNTRY_TESTS_SOURCES ${MAPPERS_COUNTRY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Country/CountryMappingRuleFactoryTests.cpp")
set(MAPPERS_COUNTRYNAME_TESTS_SOURCES ${MAPPERS_COUNTRYNAME_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/CountryName/CountryNameMapperTests.cpp")
set(MAPPERS_COUNTRYNAME_TESTS_SOURCES ${MAPPERS_COUNTRYNAME_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/CountryName/CountryNameMappingTests.cpp")
set(MAPPERS_FLAGS_TO_IDEAS_TESTS_SOURCES ${MAPPERS_FLAGS_TO_IDEAS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/FlagsToIdeas/FlagsToIdeasMapperTests.cpp")
set(MAPPERS_FLAGS_TO_IDEAS_TESTS_SOURCES ${MAPPERS_FLAGS_TO_IDEAS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/FlagsToIdeas/FlagToIdeaMappingTests.cpp")
set(MAPPERS_GOVERNMENT_TESTS_SOURCES ${MAPPERS_GOVERNMENT_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Government/GovernmentMapperTests.cpp")
set(MAPPERS_GOVERNMENT_TESTS_SOURCES ${MAPPERS_GOVERNMENT_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Government/GovernmentMappingTests.cpp")
set(MAPPERS_GRAPHICS_TESTS_SOURCES ${MAPPERS_GRAPHICS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Graphics/IdeologyToPortraitsMappingFactoryTests.cpp")
set(MAPPERS_GRAPHICS_TESTS_SOURCES ${MAPPERS_GRAPHICS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Graphics/GraphicsCultureGroupTests.cpp")
set(MAPPERS_GRAPHICS_TESTS_SOURCES ${MAPPERS_GRAPHICS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Graphics/GraphicsMapperTests.cpp")
set(MAPPERS_IDEOLOGY_TESTS_SOURCES ${MAPPERS_IDEOLOGY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Ideology/IdeologyMappingTests.cpp")
set(MAPPERS_IDEOLOGY_TESTS_SOURCES ${MAPPERS_IDEOLOGY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Ideology/IdeologyMapperTests.cpp")
set(MAPPERS_MERGE_RULES_TESTS_SOURCES ${MAPPERS_MERGE_RULES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/MergeRules/MergeRulesTests.cpp")
set(MAPPERS_MERGE_RULES_TESTS_SOURCES ${MAPPERS_MERGE_RULES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/MergeRules/MergeRuleTests.cpp")
set(MAPPERS_PROVINCES_TESTS_SOURCES ${MAPPERS_PROVINCES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Provinces/ProvinceMapperTests.cpp")
set(MAPPERS_PROVINCES_TESTS_SOURCES ${MAPPERS_PROVINCES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Provinces/ProvinceMappingTests.cpp")
set(MAPPERS_PROVINCES_TESTS_SOURCES ${MAPPERS_PROVINCES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Provinces/VersionedMappingsTests.cpp")
set(MAPPERS_TECHNOLOGY_TESTS_SOURCES ${MAPPERS_TECHNOLOGY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Technology/ResearchBonusMapperTests.cpp")
set(MAPPERS_TECHNOLOGY_TESTS_SOURCES ${MAPPERS_TECHNOLOGY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Technology/ResearchBonusMappingTests.cpp")
set(MAPPERS_TECHNOLOGY_TESTS_SOURCES ${MAPPERS_TECHNOLOGY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Technology/TechMapperTests.cpp")
set(MAPPERS_TECHNOLOGY_TESTS_SOURCES ${MAPPERS_TECHNOLOGY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/Technology/TechMappingTests.cpp")
set(MAPPERS_FACTIONNAME_TESTS_SOURCES ${MAPPERS_FACTIONNAME_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/FactionName/FactionNameMapperTests.cpp")
set(MAPPERS_FACTIONNAME_TESTS_SOURCES ${MAPPERS_FACTIONNAME_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Mappers/FactionName/FactionNameMappingTests.cpp")
set(MAPS_TESTS_SOURCES ${MAPS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Maps/MapDataTests.cpp")
set(MAPS_TESTS_SOURCES ${MAPS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Maps/ProvinceDefinitionsTests.cpp")
set(MAPS_TESTS_SOURCES ${MAPS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/Maps/ProvincePointsTests.cpp")
set(OUTHOI4_CHARACTERS_TESTS_SOURCES ${OUTHOI4_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Characters/OutAdmiralDataTests.cpp")
set(OUTHOI4_CHARACTERS_TESTS_SOURCES ${OUTHOI4_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Characters/OutAdvisorDataTests.cpp")
set(OUTHOI4_CHARACTERS_TESTS_SOURCES ${OUTHOI4_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Characters/OutCommanderDataTests.cpp")
set(OUTHOI4_CHARACTERS_TESTS_SOURCES ${OUTHOI4_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Characters/OutCountryLeaderDataTests.cpp")
set(OUTHOI4_CHARACTERS_TESTS_SOURCES ${OUTHOI4_CHARACTERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Characters/OutPortraitTests.cpp")
set(OUTHOI4_MAP_TESTS_SOURCES ${OUTHOI4_MAP_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Map/OutRailwaysTests.cpp")
set(OUTHOI4_MAP_TESTS_SOURCES ${OUTHOI4_MAP_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/OutHoi4/Map/OutSupplyNodesTests.cpp")
set(VIC2WORLD_AI_TESTS_SOURCES ${VIC2WORLD_AI_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Ai/AIStrategyTests.cpp")
set(VIC2WORLD_AI_TESTS_SOURCES ${VIC2WORLD_AI_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Ai/AITests.cpp")
set(VIC2WORLD_COUNTRIES_TESTS_SOURCES ${VIC2WORLD_COUNTRIES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Countries/CommonCountriesDataFactoryTests.cpp")
set(VIC2WORLD_COUNTRIES_TESTS_SOURCES ${VIC2WORLD_COUNTRIES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Countries/CommonCountryDataTests.cpp")
set(VIC2WORLD_COUNTRIES_TESTS_SOURCES ${VIC2WORLD_COUNTRIES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Countries/CountryTests.cpp")
set(VIC2WORLD_COUNTRIES_TESTS_SOURCES ${VIC2WORLD_COUNTRIES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Countries/UnitNamesFactoryTests.cpp")
set(VIC2WORLD_CULTURE_TESTS_SOURCES ${VIC2WORLD_CULTURE_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Culture/CultureGroupFactoryTests.cpp")
set(VIC2WORLD_CULTURE_TESTS_SOURCES ${VIC2WORLD_CULTURE_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Culture/CultureGroupsTests.cpp")
set(VIC2WORLD_DIPLOMACY_TESTS_SOURCES ${VIC2WORLD_DIPLOMACY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Diplomacy/AgreementTests.cpp")
set(VIC2WORLD_DIPLOMACY_TESTS_SOURCES ${VIC2WORLD_DIPLOMACY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Diplomacy/DiplomacyTests.cpp")
set(VIC2WORLD_DIPLOMACY_TESTS_SOURCES ${VIC2WORLD_DIPLOMACY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Diplomacy/RelationsTests.cpp")
set(VIC2WORLD_EU4TOVIC2DATA_TESTS_SOURCES ${VIC2WORLD_EU4TOVIC2DATA_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/EU4ToVic2Data/CountriesDataTests.cpp")
set(VIC2WORLD_EU4TOVIC2DATA_TESTS_SOURCES ${VIC2WORLD_EU4TOVIC2DATA_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/EU4ToVic2Data/CountryDataTests.cpp")
set(VIC2WORLD_ISSUES_TESTS_SOURCES ${VIC2WORLD_ISSUES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Issues/IssueCategoryHelperTests.cpp")
set(VIC2WORLD_ISSUES_TESTS_SOURCES ${VIC2WORLD_ISSUES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Issues/IssueHelperTests.cpp")
set(VIC2WORLD_ISSUES_TESTS_SOURCES ${VIC2WORLD_ISSUES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Issues/IssuesBuilderTests.cpp")
set(VIC2WORLD_ISSUES_TESTS_SOURCES ${VIC2WORLD_ISSUES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Issues/IssuesFactoryTests.cpp")
set(VIC2WORLD_LOCALISATIONS_TESTS_SOURCES ${VIC2WORLD_LOCALISATIONS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Localisations/LocalisationsTests.cpp")
set(VIC2WORLD_MAP_TESTS_SOURCES ${VIC2WORLD_MAP_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Map/Vic2ProvinceDefinitionImporterTests.cpp")
set(VIC2WORLD_MILITARY_TESTS_SOURCES ${VIC2WORLD_MILITARY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/ArmyTests.cpp")
set(VIC2WORLD_MILITARY_TESTS_SOURCES ${VIC2WORLD_MILITARY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/UnitTests.cpp")
set(VIC2WORLD_MILITARY_LEADERS_TESTS_SOURCES ${VIC2WORLD_MILITARY_LEADERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/Leaders/LeaderTests.cpp")
set(VIC2WORLD_MILITARY_LEADERS_TESTS_SOURCES ${VIC2WORLD_MILITARY_LEADERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/Leaders/TraitGroupTests.cpp")
set(VIC2WORLD_MILITARY_LEADERS_TESTS_SOURCES ${VIC2WORLD_MILITARY_LEADERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/Leaders/TraitsTests.cpp")
set(VIC2WORLD_MILITARY_LEADERS_TESTS_SOURCES ${VIC2WORLD_MILITARY_LEADERS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Military/Leaders/TraitTests.cpp")
set(VIC2WORLD_POLITICS_TESTS_SOURCES ${VIC2WORLD_POLITICS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Politics/PartyTests.cpp")
set(VIC2WORLD_POPS_TESTS_SOURCES ${VIC2WORLD_POPS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Pops/PopFactoryTests.cpp")
set(VIC2WORLD_POPS_TESTS_SOURCES ${VIC2WORLD_POPS_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Pops/PopTests.cpp")
set(VIC2WORLD_PROVINCES_TESTS_SOURCES ${VIC2WORLD_PROVINCES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Provinces/ProvinceBuilderTests.cpp")
set(VIC2WORLD_PROVINCES_TESTS_SOURCES ${VIC2WORLD_PROVINCES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Provinces/ProvinceFactoryTests.cpp")
set(VIC2WORLD_PROVINCES_TESTS_SOURCES ${VIC2WORLD_PROVINCES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Provinces/ProvinceTests.cpp")
set(VIC2WORLD_STATES_TESTS_SOURCES ${VIC2WORLD_STATES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/BuildingTests.cpp")
set(VIC2WORLD_STATES_TESTS_SOURCES ${VIC2WORLD_STATES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/StateDefinitionsFactoryTests.cpp")
set(VIC2WORLD_STATES_TESTS_SOURCES ${VIC2WORLD_STATES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/StateDefinitionsTests.cpp")
set(VIC2WORLD_STATES_TESTS_SOURCES ${VIC2WORLD_STATES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/StateFactoryTests.cpp")
set(VIC2WORLD_STATES_TESTS_SOURCES ${VIC2WORLD_STATES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/StateLanguageCategoriesTests.cpp")
set(VIC2WORLD_STATES_TESTS_SOURCES ${VIC2WORLD_STATES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/StateLanguageCategoriesFactoryTests.cpp")
set(VIC2WORLD_STATES_TESTS_SOURCES ${VIC2WORLD_STATES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/States/StateTests.cpp")
set(VIC2WORLD_STOCKPILES_TESTS_SOURCES ${VIC2WORLD_STOCKPILES_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Stockpiles/StockpileTests.cpp")
set(VIC2WORLD_TECHNOLOGY_TESTS_SOURCES ${VIC2WORLD_TECHNOLOGY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Technology/InventionTests.cpp")
set(VIC2WORLD_TECHNOLOGY_TESTS_SOURCES ${VIC2WORLD_TECHNOLOGY_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Technology/TechnologyFactoryTests.cpp")
set(VIC2WORLD_WAR_TESTS_SOURCES ${VIC2WORLD_WAR_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Wars/WarFactoryTests.cpp")
set(VIC2WORLD_WAR_TESTS_SOURCES ${VIC2WORLD_WAR_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/Wars/WarGoalFactoryTests.cpp")
set(VIC2WORLD_WORLD_TESTS_SOURCES ${VIC2WORLD_WORLD_TESTS_SOURCES} "${PROJECT_SOURCE_DIR}/src/V2World/World/WorldTests.cpp")
list(APPEND ALL_HOI4_TESTS_FILES
${CONVERTER_SOURCES}
${CONFIGURATION_TESTS_SOURCES}
${HOI4WORLD_TESTS_SOURCES}
${HOI4WORLD_CHARACTERS_TESTS_SOURCES}
${HOI4WORLD_COUNTRY_TESTS_SOURCES}
${HOI4WORLD_COUNTRY_CATEGORIES_TESTS_SOURCES}
${HOI4WORLD_DECISIONS_TESTS_SOURCES}
${HOI4WORLD_DIPLOMACY_TESTS_SOURCES}
${HOI4WORLD_EVENTS_TESTS_SOURCES}
${HOI4WORLD_FOCUS_TREES_TESTS_SOURCES}
${HOI4WORLD_GAME_RULES_TESTS_SOURCES}
${HOI4WORLD_IDEAS_TESTS_SOURCES}
${HOI4WORLD_IDEOLOGIES_TESTS_SOURCES}
${HOI4WORLD_INTELLIGENCE_AGENCIES_TESTS_SOURCES}
${HOI4WORLD_LEADER_TESTS_SOURCES}
${HOI4WORLD_LOCALISATIONS_TESTS_SOURCES}
${HOI4WORLD_LOCALISATIONS_ARTICLERULES_TESTS_SOURCES}
${HOI4WORLD_MAP_TESTS_SOURCES}
${HOI4WORLD_MILITARY_TESTS_SOURCES}
${HOI4WORLD_MILITARY_MAPPINGS_TESTS_SOURCES}
${HOI4WORLD_MODIFIERS_TESTS_SOURCES}
${HOI4WORLD_NAMES_TESTS_SOURCES}
${HOI4WORLD_NAVIES_TESTS_SOURCES}
${HOI4WORLD_OCCUPATION_LAWS_TESTS_SOURCES}
${HOI4WORLD_OPERATIONS_TESTS_SOURCES}
${HOI4WORLD_OPERATIVE_NAMES_TESTS_SOURCES}
${HOI4WORLD_PEACECONFERENCES_TESTS_SOURCES}
${HOI4WORLD_PLANE_DESIGNS_TESTS_SOURCES}
${HOI4WORLD_REGIONS_TESTS_SOURCES}
${HOI4WORLD_SCORERS_TESTS_SOURCES}
${HOI4WORLD_SCRIPTED_EFFECTS_TESTS_SOURCES}
${HOI4WORLD_SCRIPTED_LOCALISATIONS_TESTS_SOURCES}
${HOI4WORLD_SCRIPTED_TRIGGERS_TESTS_SOURCES}
${HOI4WORLD_SHIP_TYPES_TESTS_SOURCES}
${HOI4WORLD_SOUNDS_TESTS_SOURCES}
${HOI4WORLD_STATES_TESTS_SOURCES}
${HOI4WORLD_TANK_DESIGNS_TESTS_SOURCES}
${HOI4WORLD_UNIT_MEDALS_TESTS_SOURCES}
${MAPPERS_TESTS_SOURCES}
${MAPPERS_CASUS_BELLIS_TESTS_SOURCES}
${MAPPERS_COUNTRY_TESTS_SOURCES}
${MAPPERS_COUNTRYNAME_TESTS_SOURCES}
${MAPPERS_FLAGS_TO_IDEAS_TESTS_SOURCES}
${MAPPERS_GOVERNMENT_TESTS_SOURCES}
${MAPPERS_GRAPHICS_TESTS_SOURCES}
${MAPPERS_IDEOLOGY_TESTS_SOURCES}
${MAPPERS_MERGE_RULES_TESTS_SOURCES}
${MAPPERS_PROVINCES_TESTS_SOURCES}
${MAPPERS_TECHNOLOGY_TESTS_SOURCES}
${MAPPERS_FACTIONNAME_TESTS_SOURCES}
${MAPS_TESTS_SOURCES}
${OUTHOI4_CHARACTERS_TESTS_SOURCES}
${OUTHOI4_MAP_TESTS_SOURCES}
${VIC2WORLD_AI_TESTS_SOURCES}
${VIC2WORLD_COUNTRIES_TESTS_SOURCES}
${VIC2WORLD_CULTURE_TESTS_SOURCES}
${VIC2WORLD_DIPLOMACY_TESTS_SOURCES}
${VIC2WORLD_EU4TOVIC2DATA_TESTS_SOURCES}
${VIC2WORLD_ISSUES_TESTS_SOURCES}
${VIC2WORLD_LOCALISATIONS_TESTS_SOURCES}
${VIC2WORLD_MAP_TESTS_SOURCES}
${VIC2WORLD_MILITARY_TESTS_SOURCES}
${VIC2WORLD_MILITARY_LEADERS_TESTS_SOURCES}
${VIC2WORLD_MODS_TESTS_SOURCES}
${VIC2WORLD_POLITICS_TESTS_SOURCES}
${VIC2WORLD_POPS_TESTS_SOURCES}
${VIC2WORLD_PROVINCES_TESTS_SOURCES}
${VIC2WORLD_STATES_TESTS_SOURCES}
${VIC2WORLD_STOCKPILES_TESTS_SOURCES}
${VIC2WORLD_TECHNOLOGY_TESTS_SOURCES}
${VIC2WORLD_WAR_TESTS_SOURCES}
${VIC2WORLD_WORLD_TESTS_SOURCES}
)
# fish out only actual tests.
list(FILTER ALL_HOI4_TESTS_FILES INCLUDE REGEX ".*Tests\\.cpp$")
add_executable(
Vic2ToHoi4ConverterTests
${ALL_HOI4_TESTS_FILES}
${GMOCK_SOURCES}
)
set_target_properties( Vic2ToHoi4ConverterTests
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${TEST_OUTPUT_DIRECTORY}
)
target_precompile_headers(Vic2ToHoi4ConverterTests REUSE_FROM Vic2ToHoi4lib)
configure_file("data/test_files/blank_operative_codenames.txt" "${TEST_OUTPUT_DIRECTORY}/common/units/codenames_operatives/blank_operative_codenames.txt" COPYONLY)
configure_file("data/test_files/definition.csv" "${TEST_OUTPUT_DIRECTORY}/HoI4Linux/map/definition.csv" COPYONLY)
configure_file("data/test_files/Configurables/ideological_ai_peace.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/ideological_ai_peace.txt" COPYONLY)
configure_file("data/test_files/Configurables/ideological_cost_modifiers.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/ideological_cost_modifiers.txt" COPYONLY)
configure_file("data/test_files/Configurables/ideological_unit_medals.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/ideological_unit_medals.txt" COPYONLY)
configure_file("data/test_files/Countries/blankCommonCountryData.txt" "${TEST_OUTPUT_DIRECTORY}/common/countries/blankCommonCountryData.txt" COPYONLY)
configure_file("data/test_files/Countries/BlankTechnologyFile.txt" "${TEST_OUTPUT_DIRECTORY}/countries/blank/inventions/BlankTechnologyFile.txt" COPYONLY)
configure_file("data/test_files/Countries/BlankTraitsFile.txt" "${TEST_OUTPUT_DIRECTORY}/countries/blank/common/traits.txt" COPYONLY)
configure_file("data/test_files/Countries/CommonCountryTestData.txt" "${TEST_OUTPUT_DIRECTORY}/common/countries/CommonCountryTestData.txt" COPYONLY)
configure_file("data/test_files/Countries/CountryBlankCultures.txt" "${TEST_OUTPUT_DIRECTORY}/countries/blank/common/cultures.txt" COPYONLY)
configure_file("data/test_files/Countries/TestCountryCultures.txt" "${TEST_OUTPUT_DIRECTORY}/countryTests/common/cultures.txt" COPYONLY)
configure_file("data/test_files/Countries/TestCountryOne.txt" "${TEST_OUTPUT_DIRECTORY}/vanilla_common_countries_data/common/countries/TestCountryOne.txt" COPYONLY)
configure_file("data/test_files/Countries/TestCountryTwo.txt" "${TEST_OUTPUT_DIRECTORY}/vanilla_common_countries_data/common/countries/TestCountryTwo.txt" COPYONLY)
configure_file("data/test_files/Countries/TestTechnologyFile.txt" "${TEST_OUTPUT_DIRECTORY}/countryTests/inventions/TestTechnologyFile.txt" COPYONLY)
configure_file("data/test_files/Countries/VanillaCommonCountriesData.txt" "${TEST_OUTPUT_DIRECTORY}/vanilla_common_countries_data/common/countries.txt" COPYONLY)
configure_file("data/test_files/CountryNames/CountryNamesMappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/CountryNamesMappings.txt" COPYONLY)
configure_file("data/test_files/Cultures/BaseCultures.txt" "${TEST_OUTPUT_DIRECTORY}/BaseCultures/common/cultures.txt" COPYONLY)
configure_file("data/test_files/GameRules.txt" "${TEST_OUTPUT_DIRECTORY}/GameRules.txt" COPYONLY)
configure_file("data/test_files/GameRulesEmpty.txt" "${TEST_OUTPUT_DIRECTORY}/GameRulesEmpty.txt" COPYONLY)
configure_file("data/test_files/generic_opertive_codenames.txt" "${TEST_OUTPUT_DIRECTORY}/common/units/codenames_operatives/generic_opertive_codenames.txt" COPYONLY)
configure_file("data/test_files/HoI4Files/Characters/ImportCharacters.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/ImportCharacters.txt" COPYONLY)
configure_file("data/test_files/HoI4Files/CountryCategories/CountryGrammar.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/CountryGrammar.txt" COPYONLY)
configure_file("data/test_files/hoi4" "${TEST_OUTPUT_DIRECTORY}/HoI4Linux/hoi4" COPYONLY)
configure_file("data/test_files/hoi4.exe" "${TEST_OUTPUT_DIRECTORY}/HoI4Windows/hoi4.exe" COPYONLY)
configure_file("data/test_files/IntelligenceAgencyLogos.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/IntelligenceAgencyLogos.txt" COPYONLY)
configure_file("data/test_files/Issues/emptyIssues.txt" "${TEST_OUTPUT_DIRECTORY}/EmptyIssues/common/issues.txt" COPYONLY)
configure_file("data/test_files/Issues/issues.txt" "${TEST_OUTPUT_DIRECTORY}/common/issues.txt" COPYONLY)
configure_file("data/test_files/launcher-settings.json" "${TEST_OUTPUT_DIRECTORY}/HoI4Windows/launcher-settings.json" COPYONLY)
configure_file("data/test_files/launcher-settings.json" "${TEST_OUTPUT_DIRECTORY}/HoI4Linux/launcher-settings.json" COPYONLY)
configure_file("data/test_files/Localisations/ArticleRules.txt" "${TEST_OUTPUT_DIRECTORY}/ArticleRules.txt" COPYONLY)
configure_file("data/test_files/Localisations/grammar.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/grammar.txt" COPYONLY)
configure_file("data/test_files/Localisations/BaseLocalisations.txt" "${TEST_OUTPUT_DIRECTORY}/localisation/BaseLocalisations.txt" COPYONLY)
configure_file("data/test_files/Localisations/ConverterLocalisations.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/Vic2Localisations/Vic2Localisations.csv" COPYONLY)
configure_file("data/test_files/Localisations/EmptyLocalisations.txt" "${TEST_OUTPUT_DIRECTORY}/BlankLocalisations/localisation/EmptyLocalisations.txt" COPYONLY)
configure_file("data/test_files/Localisations/ModLocalisations.txt" "${TEST_OUTPUT_DIRECTORY}/modLocalisations/localisation/ModLocalisations.txt" COPYONLY)
configure_file("data/test_files/Localisations/StateCategories.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/Localisations/StateCategories.txt" COPYONLY)
configure_file("data/test_files/Mappers/CasusBelli/casus_bellis_mappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/casus_bellis_mappings.txt" COPYONLY)
configure_file("data/test_files/Mappers/Country/country_mappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/country_mappings.txt" COPYONLY)
configure_file("data/test_files/Mappers/FlagsToIdeas/FlagsToIdeasMappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/FlagsToIdeasMappings.txt" COPYONLY)
configure_file("data/test_files/Mappers/Government/GovernmentMappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/GovernmentMappings.txt" COPYONLY)
configure_file("data/test_files/Mappers/Graphics/cultureGroupToGraphics.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/cultureGroupToGraphics.txt" COPYONLY)
configure_file("data/test_files/Mappers/Ideology/IdeologyMappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/IdeologyMappings.txt" COPYONLY)
configure_file("data/test_files/Mappers/MergeRules/merge_nations.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/merge_nations.txt" COPYONLY)
configure_file("data/test_files/Mappers/Provinces/bad_line_definition.csv" "${TEST_OUTPUT_DIRECTORY}/bad_line_definition/map/definition.csv" COPYONLY)
configure_file("data/test_files/Mappers/Provinces/empty_definition.csv" "${TEST_OUTPUT_DIRECTORY}/empty_definition/map/definition.csv" COPYONLY)
configure_file("data/test_files/Mappers/Provinces/good_definition.csv" "${TEST_OUTPUT_DIRECTORY}/good_definition/map/definition.csv" COPYONLY)
configure_file("data/test_files/Mappers/Provinces/missing_definition.csv" "${TEST_OUTPUT_DIRECTORY}/missing_definition/map/definition.csv" COPYONLY)
configure_file("data/test_files/Mappers/Provinces/mod_province_mappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/mod_province_mappings.txt" COPYONLY)
configure_file("data/test_files/Mappers/Provinces/vanilla_province_mappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/province_mappings.txt" COPYONLY)
configure_file("data/test_files/Mappers/Technology/research_bonus_mappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/research_bonus_mappings.txt" COPYONLY)
configure_file("data/test_files/Mappers/Technology/tech_mappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/tech_mappings.txt" COPYONLY)
configure_file("data/test_files/Mappers/FactionName/factions_mappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/factions_mappings.txt" COPYONLY)
configure_file("data/test_files/Maps/adjacencies.csv" "${TEST_OUTPUT_DIRECTORY}/maptests/map/adjacencies.csv" COPYONLY)
configure_file("data/test_files/Maps/nocsv.bmp" "${TEST_OUTPUT_DIRECTORY}/maptests/nocsv/map/nocsv.bmp" COPYONLY)
configure_file("data/test_files/Maps/provinces.bmp" "${TEST_OUTPUT_DIRECTORY}/maptests/map/provinces.bmp" COPYONLY)
configure_file("data/test_files/Mods/Dependencies.mod" "${TEST_OUTPUT_DIRECTORY}/Vic2/mod/Dependencies.mod" COPYONLY)
configure_file("data/test_files/Mods/Dependent.mod" "${TEST_OUTPUT_DIRECTORY}/Vic2/mod/Dependent.mod" COPYONLY)
configure_file("data/test_files/Mods/DependencyOne.mod" "${TEST_OUTPUT_DIRECTORY}/Vic2/mod/DependencyOne.mod" COPYONLY)
configure_file("data/test_files/Mods/DependencyTwo.mod" "${TEST_OUTPUT_DIRECTORY}/Vic2/mod/DependencyTwo.mod" COPYONLY)
configure_file("data/test_files/Mods/DirectoryMissing.mod" "${TEST_OUTPUT_DIRECTORY}/Vic2/mod/DirectoryMissing.mod" COPYONLY)
configure_file("data/test_files/Mods/DirectoryUnspecified.mod" "${TEST_OUTPUT_DIRECTORY}/Vic2/mod/DirectoryUnspecified.mod" COPYONLY)
configure_file("data/test_files/Mods/dummy.txt" "${TEST_OUTPUT_DIRECTORY}/Vic2/mod/test_directory/dummy.txt" COPYONLY)
configure_file("data/test_files/Mods/EmptyModFile.mod" "${TEST_OUTPUT_DIRECTORY}/Vic2/mod/EmptyModFile.mod" COPYONLY)
configure_file("data/test_files/Mods/Test.mod" "${TEST_OUTPUT_DIRECTORY}/Vic2/mod/Test.mod" COPYONLY)
configure_file("data/test_files/OccupationLaws.txt" "${TEST_OUTPUT_DIRECTORY}/blankmod/common/occupation_laws/occupation_laws.txt" COPYONLY)
configure_file("data/test_files/OperativeNamesMappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/OperativeNamesMappings.txt" COPYONLY)
configure_file("data/test_files/operations.txt" "${TEST_OUTPUT_DIRECTORY}/blankmod/common/operations/00_operations.txt" COPYONLY)
configure_file("data/test_files/regions.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/Map/regions.txt" COPYONLY)
configure_file("data/test_files/ReadMe.txt" "${TEST_OUTPUT_DIRECTORY}/Vic2Windows/ReadMe.txt" COPYONLY)
configure_file("data/test_files/ReadMe.txt" "${TEST_OUTPUT_DIRECTORY}/Vic2Linux/ReadMe.txt" COPYONLY)
configure_file("data/test_files/Scorers.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/Scorers/generic_platonic_scorers.txt" COPYONLY)
configure_file("data/test_files/ScriptedEffects/effects_file.txt" "${TEST_OUTPUT_DIRECTORY}/ScriptedEffects/effects_file.txt" COPYONLY)
configure_file("data/test_files/ScriptedEffects/empty_effects_file.txt" "${TEST_OUTPUT_DIRECTORY}/ScriptedEffects/empty_effects_file.txt" COPYONLY)
configure_file("data/test_files/Sounds/CultureToVoiceMappings.txt" "${TEST_OUTPUT_DIRECTORY}/Configurables/Sounds/CultureToVoiceMappings.txt" COPYONLY)
configure_file("data/test_files/Technology/BaseGameTech1.txt" "${TEST_OUTPUT_DIRECTORY}/BaseGameInventions/inventions/Tech1.txt" COPYONLY)
configure_file("data/test_files/Technology/BaseGameTech2.txt" "${TEST_OUTPUT_DIRECTORY}/BaseGameInventions/inventions/Tech2.txt" COPYONLY)
configure_file("data/test_files/Technology/ModTech3.txt" "${TEST_OUTPUT_DIRECTORY}/ModInventions/Mod1/inventions/Tech3.txt" COPYONLY)
configure_file("data/test_files/Technology/ModTech4.txt" "${TEST_OUTPUT_DIRECTORY}/ModInventions/Mod2/inventions/Tech4.txt" COPYONLY)
configure_file("data/test_files/Technology/ModTechOverride1.txt" "${TEST_OUTPUT_DIRECTORY}/ModInventions/Mod3/inventions/Tech1.txt" COPYONLY)
configure_file("data/test_files/Technology/ModTechOverride2.txt" "${TEST_OUTPUT_DIRECTORY}/ModInventions/Mod3/inventions/Tech3.txt" COPYONLY)
configure_file("data/test_files/Vic2Military/traits.txt" "${TEST_OUTPUT_DIRECTORY}/common/traits.txt" COPYONLY)
configure_file("data/test_files/World/BAR.txt" "${TEST_OUTPUT_DIRECTORY}/MergeWorld/common/countries/BAR.txt" COPYONLY)
configure_file("data/test_files/World/BlankWorld.v2" "${TEST_OUTPUT_DIRECTORY}/V2World/BlankWorld.txt" COPYONLY)
configure_file("data/test_files/World/BlankWorldProvinceAdjacencies.csv" "${TEST_OUTPUT_DIRECTORY}/BlankWorld/map/adjacencies.csv" COPYONLY)
configure_file("data/test_files/World/BlankWorldProvinceDefinitions.csv" "${TEST_OUTPUT_DIRECTORY}/BlankWorld/map/definition.csv" COPYONLY)
configure_file("data/test_files/World/BlankWorldProvinces.bmp" "${TEST_OUTPUT_DIRECTORY}/BlankWorld/map/provinces.bmp" COPYONLY)
configure_file("data/test_files/World/countries.txt" "${TEST_OUTPUT_DIRECTORY}/V2World/common/countries.txt" COPYONLY)
configure_file("data/test_files/World/DED.txt" "${TEST_OUTPUT_DIRECTORY}/V2World/common/countries/DED.txt" COPYONLY)
configure_file("data/test_files/World/FOO.txt" "${TEST_OUTPUT_DIRECTORY}/MergeWorld/common/countries/FOO.txt" COPYONLY)
configure_file("data/test_files/World/MergeWorld.v2" "${TEST_OUTPUT_DIRECTORY}/MergeWorld/MergeWorld.v2" COPYONLY)
configure_file("data/test_files/World/MergeWorldProvinceAdjacencies.csv" "${TEST_OUTPUT_DIRECTORY}/MergeWorld/map/adjacencies.csv" COPYONLY)
configure_file("data/test_files/World/MergeWorldProvinceDefinitions.csv" "${TEST_OUTPUT_DIRECTORY}/MergeWorld/map/definition.csv" COPYONLY)
configure_file("data/test_files/World/mergeWorldProvinces.bmp" "${TEST_OUTPUT_DIRECTORY}/MergeWorld/map/provinces.bmp" COPYONLY)
configure_file("data/test_files/World/merge_countries.txt" "${TEST_OUTPUT_DIRECTORY}/MergeWorld/common/countries.txt" COPYONLY)
configure_file("data/test_files/World/MoveArmiesProvinceAdjacencies.csv" "${TEST_OUTPUT_DIRECTORY}/MoveArmiesWorld/map/adjacencies.csv" COPYONLY)
configure_file("data/test_files/World/MoveArmiesProvinceDefinitions.csv" "${TEST_OUTPUT_DIRECTORY}/MoveArmiesWorld/map/definition.csv" COPYONLY)
configure_file("data/test_files/World/moveArmiesProvinces.bmp" "${TEST_OUTPUT_DIRECTORY}/MoveArmiesWorld/map/provinces.bmp" COPYONLY)
configure_file("data/test_files/World/MoveArmiesWorld.v2" "${TEST_OUTPUT_DIRECTORY}/MoveArmiesWorld/MoveArmiesWorld.v2" COPYONLY)
configure_file("data/test_files/World/NON.txt" "${TEST_OUTPUT_DIRECTORY}/V2World/common/countries/NON.txt" COPYONLY)
configure_file("data/test_files/World/NOT.txt" "${TEST_OUTPUT_DIRECTORY}/V2World/common/countries/NOT.txt" COPYONLY)
configure_file("data/test_files/World/ONE.txt" "${TEST_OUTPUT_DIRECTORY}/V2World/common/countries/ONE.txt" COPYONLY)
configure_file("data/test_files/World/region.txt" "${TEST_OUTPUT_DIRECTORY}/V2World/map/region.txt" COPYONLY)
configure_file("data/test_files/World/ResolveBattlesProvinceAdjacencies.csv" "${TEST_OUTPUT_DIRECTORY}/ResolveBattlesWorld/map/adjacencies.csv" COPYONLY)
configure_file("data/test_files/World/ResolveBattlesProvinceDefinitions.csv" "${TEST_OUTPUT_DIRECTORY}/ResolveBattlesWorld/map/definition.csv" COPYONLY)
configure_file("data/test_files/World/resolveBattlesProvinces.bmp" "${TEST_OUTPUT_DIRECTORY}/ResolveBattlesWorld/map/provinces.bmp" COPYONLY)
configure_file("data/test_files/World/ResolveBattlesWorld.v2" "${TEST_OUTPUT_DIRECTORY}/ResolveBattlesWorld/ResolveBattlesWorld.v2" COPYONLY)
configure_file("data/test_files/World/TestWorldProvinceAdjacencies.csv" "${TEST_OUTPUT_DIRECTORY}/V2World/map/adjacencies.csv" COPYONLY)
configure_file("data/test_files/World/TestWorldProvinceDefinitions.csv" "${TEST_OUTPUT_DIRECTORY}/V2World/map/definition.csv" COPYONLY)
configure_file("data/test_files/World/TestWorldProvinces.bmp" "${TEST_OUTPUT_DIRECTORY}/V2World/map/provinces.bmp" COPYONLY)
configure_file("data/test_files/World/TestWorld.v2" "${TEST_OUTPUT_DIRECTORY}/V2World/TestWorld.v2" COPYONLY)
configure_file("data/test_files/World/test_localisations.txt" "${TEST_OUTPUT_DIRECTORY}/V2World/localisation/test_localisations.txt" COPYONLY)
configure_file("data/test_files/World/TWO.txt" "${TEST_OUTPUT_DIRECTORY}/V2World/common/countries/TWO.txt" COPYONLY)
configure_file("data/test_files/Vic2World/EU4ToVic2Data/botanical_expedition.txt" "${TEST_OUTPUT_DIRECTORY}/Vic2/mod/test_directory/common/botanical_expedition.txt" COPYONLY)
configure_file("data/test_files/Vic2World/Map/definition.csv" "${TEST_OUTPUT_DIRECTORY}/ProvinceDefinition/map/definition.csv" COPYONLY)
configure_file("data/test_files/v2game" "${TEST_OUTPUT_DIRECTORY}/Vic2Linux/v2game" COPYONLY)
configure_file("data/test_files/v2game.exe" "${TEST_OUTPUT_DIRECTORY}/Vic2Windows/v2game.exe" COPYONLY)
configure_file("data/test_files/v2game.exe" "${TEST_OUTPUT_DIRECTORY}/Vic2/v2game.exe" COPYONLY)
configure_file("data/test_files/v2gameMac" "${TEST_OUTPUT_DIRECTORY}/somethingWithMacOS/somethingElse/Vic2Path/v2game" COPYONLY)
configure_file("data/test_files/v2gameMacApp" "${TEST_OUTPUT_DIRECTORY}/Vic2MacApp/Victoria 2 - Heart Of Darkness.app/v2game" COPYONLY)
configure_file("data/test_files/v2gameMacOS" "${TEST_OUTPUT_DIRECTORY}/somethingWithMacOS/MacOS/v2game" COPYONLY)
configure_file("data/test_files/vic2_mod_regions.txt" "${TEST_OUTPUT_DIRECTORY}/mod/test_mod/map/region.txt" COPYONLY)
configure_file("data/test_files/vic2_vanilla_regions.txt" "${TEST_OUTPUT_DIRECTORY}/map/region.txt" COPYONLY)
target_link_libraries(Vic2ToHoi4ConverterTests LINK_PUBLIC Vic2ToHoi4lib)
#### Coverage ####
add_custom_target(gcov
COMMAND mkdir -p gcoverage
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
add_custom_command(TARGET gcov
COMMAND echo "=================== GCOV ===================="
COMMAND echo "-- Source directories:"
COMMAND echo " ${CMAKE_SOURCE_DIR}/src/"
COMMAND echo "-- Coverage files have been output to ${CMAKE_BINARY_DIR}/gcoverage"
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/gcoverage
)
add_custom_target(lcov
COMMAND mkdir -p lcoverage
)
add_custom_command(TARGET lcov
COMMAND echo "=================== LCOV ===================="
COMMAND echo "-- Passing lcov tool under code coverage"
COMMAND lcov --capture --directory CMakeFiles/Vic2ToHoi4ConverterTests.dir/src/ --output-file lcoverage/main_coverage.info --exclude *Tests.cpp
COMMAND echo "-- Generating HTML output files"
COMMAND genhtml lcoverage/main_coverage.info --output-directory lcoverage
)
add_dependencies(gcov Vic2ToHoi4ConverterTests)
# Make sure to clean up the coverage folder
set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES gcoverage)
# Create the gcov-clean target. This cleans the build as well as generated
# .gcda and .gcno files.
add_custom_target(init