diff --git a/.gitignore b/.gitignore index 1690cd1f..bd4afd64 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,10 @@ cmake-*/ build*/ CMakeFiles/ *.xcodeproj -.*/ +.vscode/** +.vs +.idea +!.vscode/settings.json testmaps/*.bsp **/*decompile*.map testmaps/*.bsp.qbsplog diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..3cd43d70 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "search.exclude": { + "3rdparty/**": true + } +} \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 997b40ae..50aa0f57 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,6 +43,7 @@ set(CMAKE_C_STANDARD 99) set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON) set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_DEBUG OFF) +set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELWITHDEBINFO OFF) add_definitions(-DERICWTOOLS_VERSION="${GIT_DESCRIBE}") diff --git a/common/bspfile.cc b/common/bspfile.cc index 3768e179..215f4199 100644 --- a/common/bspfile.cc +++ b/common/bspfile.cc @@ -2713,7 +2713,7 @@ void PrintBSPFileSizes(const bspdata_t *bspdata) } if (bspdata->bspx.entries.size()) { - logging::print("\n{:<16 {:10}\n", "BSPX lump name", "byte size"); + logging::print("\n{:<16} {:10}\n", "BSPX lump name", "byte size"); for (auto &x : bspdata->bspx.entries) { logging::print("{:<16} {:10}\n", x.first, x.second.size());