From 57c1f2e231c22ee5e5e6c0b8210ac744a6dd6058 Mon Sep 17 00:00:00 2001 From: elsid Date: Sat, 19 Feb 2022 02:49:22 +0100 Subject: [PATCH] Make sure everything compiles in ESM4 --- apps/openmw_test_suite/CMakeLists.txt | 2 + apps/openmw_test_suite/esm4/includes.cpp | 89 ++++++++++++++++++++++ components/CMakeLists.txt | 97 ++++++++++++++++++++++-- 3 files changed, 181 insertions(+), 7 deletions(-) create mode 100644 apps/openmw_test_suite/esm4/includes.cpp diff --git a/apps/openmw_test_suite/CMakeLists.txt b/apps/openmw_test_suite/CMakeLists.txt index 16d820c4f9..73e7af1d9e 100644 --- a/apps/openmw_test_suite/CMakeLists.txt +++ b/apps/openmw_test_suite/CMakeLists.txt @@ -72,6 +72,8 @@ if (GTEST_FOUND AND GMOCK_FOUND) files/hash.cpp toutf8/toutf8.cpp + + esm4/includes.cpp ) source_group(apps\\openmw_test_suite FILES openmw_test_suite.cpp ${UNITTEST_SRC_FILES}) diff --git a/apps/openmw_test_suite/esm4/includes.cpp b/apps/openmw_test_suite/esm4/includes.cpp new file mode 100644 index 0000000000..8272571099 --- /dev/null +++ b/apps/openmw_test_suite/esm4/includes.cpp @@ -0,0 +1,89 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/components/CMakeLists.txt b/components/CMakeLists.txt index a0cc7ce2ce..8ab71b4cdf 100644 --- a/components/CMakeLists.txt +++ b/components/CMakeLists.txt @@ -95,13 +95,96 @@ add_component_dir (esm3terrain ) add_component_dir (esm4 - loadachr loadacre loadacti loadalch loadaloc loadammo loadanio loadappa loadarma loadarmo loadaspc loadbook - loadbptd loadcell loadclas loadclfm loadclot common loadcont loadcrea loaddial loaddobj loaddoor loadeyes - loadflor loadflst formid loadfurn loadglob loadgras loadhair loadhdpt loadidle loadidlm loadimod loadinfo - loadingr loadkeym loadland loadlgtm loadligh loadltex loadlvlc loadlvli loadlvln loadmato loadmisc loadmset - loadmstt loadmusc loadnavi loadnavm loadnote loadnpc loadotft loadpack loadpgrd loadpgre loadpwat loadqust - loadrace loadrefr loadregn loadroad loadsbsp loadscol loadscpt loadscrl loadsgst loadslgm loadsndr - loadsoun loadstat loadtact loadterm loadtes4 loadtree loadtxst loadweap loadwrld reader + acti + actor + common + dialogue + effect + formid + inventory + lighting + loadachr + loadacre + loadacti + loadalch + loadaloc + loadammo + loadanio + loadappa + loadarma + loadarmo + loadaspc + loadbook + loadbptd + loadcell + loadclas + loadclfm + loadclot + loadcont + loadcrea + loaddial + loaddobj + loaddoor + loadeyes + loadflor + loadflst + loadfurn + loadglob + loadgras + loadgrup + loadhair + loadhdpt + loadidle + loadidlm + loadimod + loadinfo + loadingr + loadkeym + loadland + loadlgtm + loadligh + loadltex + loadlvlc + loadlvli + loadlvln + loadmato + loadmisc + loadmset + loadmstt + loadmusc + loadnavi + loadnavm + loadnote + loadnpc + loadotft + loadpack + loadpgrd + loadpgre + loadpwat + loadqust + loadrace + loadrefr + loadregn + loadroad + loadsbsp + loadscol + loadscpt + loadscrl + loadsgst + loadslgm + loadsndr + loadsoun + loadstat + loadtact + loadterm + loadtes4 + loadtree + loadtxst + loadweap + loadwrld + reader + reference + script ) add_component_dir (misc