aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorF1F7Y <64418963+F1F7Y@users.noreply.github.com>2023-07-28 23:26:13 +0200
committerGitHub <noreply@github.com>2023-07-28 23:26:13 +0200
commit82bff57d166ece1173ca7df33940171548015a71 (patch)
tree00d4bb129f5577026f2f63ceb16e9041003a70fb
parent24400184f35e64957f2c7544122557077b257886 (diff)
downloadNorthstarLauncher-82bff57d166ece1173ca7df33940171548015a71.tar.gz
NorthstarLauncher-82bff57d166ece1173ca7df33940171548015a71.zip
Remove `pch.cpp` and all `#include "pch.h"` occurrences (#519)
With the move to cmake there is no need for the `pch.cpp` files as it generates them automatically. Also removes leftover `#include "pch.h"` occurrences
-rw-r--r--NorthstarDLL/dedicated/dedicatedlogtoclient.cpp1
-rw-r--r--NorthstarDLL/mods/modsavefiles.cpp1
-rw-r--r--NorthstarDLL/pch.cpp5
-rw-r--r--NorthstarDLL/plugins/pluginbackend.cpp1
-rw-r--r--NorthstarDLL/plugins/pluginbackend.h1
-rw-r--r--NorthstarDLL/scripts/scriptjson.h1
-rw-r--r--NorthstarDLL/shared/gamepresence.cpp2
-rw-r--r--NorthstarDLL/shared/gamepresence.h3
-rw-r--r--loader_wsock32_proxy/CMakeLists.txt2
-rw-r--r--loader_wsock32_proxy/dllmain.cpp1
-rw-r--r--loader_wsock32_proxy/loader.cpp1
-rw-r--r--loader_wsock32_proxy/pch.cpp5
12 files changed, 1 insertions, 23 deletions
diff --git a/NorthstarDLL/dedicated/dedicatedlogtoclient.cpp b/NorthstarDLL/dedicated/dedicatedlogtoclient.cpp
index 8d19372f..a48b1b39 100644
--- a/NorthstarDLL/dedicated/dedicatedlogtoclient.cpp
+++ b/NorthstarDLL/dedicated/dedicatedlogtoclient.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "dedicatedlogtoclient.h"
#include "engine/r2engine.h"
diff --git a/NorthstarDLL/mods/modsavefiles.cpp b/NorthstarDLL/mods/modsavefiles.cpp
index 6676ec34..f8e5848c 100644
--- a/NorthstarDLL/mods/modsavefiles.cpp
+++ b/NorthstarDLL/mods/modsavefiles.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include <filesystem>
#include <sstream>
#include <fstream>
diff --git a/NorthstarDLL/pch.cpp b/NorthstarDLL/pch.cpp
deleted file mode 100644
index 64b7eef6..00000000
--- a/NorthstarDLL/pch.cpp
+++ /dev/null
@@ -1,5 +0,0 @@
-// pch.cpp: source file corresponding to the pre-compiled header
-
-#include "pch.h"
-
-// When you are using pre-compiled headers, this source file is necessary for compilation to succeed.
diff --git a/NorthstarDLL/plugins/pluginbackend.cpp b/NorthstarDLL/plugins/pluginbackend.cpp
index b442d702..091ddd2f 100644
--- a/NorthstarDLL/plugins/pluginbackend.cpp
+++ b/NorthstarDLL/plugins/pluginbackend.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "pluginbackend.h"
#include "plugin_abi.h"
#include "server/serverpresence.h"
diff --git a/NorthstarDLL/plugins/pluginbackend.h b/NorthstarDLL/plugins/pluginbackend.h
index ef42c508..898b3a99 100644
--- a/NorthstarDLL/plugins/pluginbackend.h
+++ b/NorthstarDLL/plugins/pluginbackend.h
@@ -1,5 +1,4 @@
#pragma once
-#include "pch.h"
#include "plugin_abi.h"
#include "shared/gamepresence.h"
diff --git a/NorthstarDLL/scripts/scriptjson.h b/NorthstarDLL/scripts/scriptjson.h
index 09926bef..b747106b 100644
--- a/NorthstarDLL/scripts/scriptjson.h
+++ b/NorthstarDLL/scripts/scriptjson.h
@@ -1,6 +1,5 @@
#pragma once
-#include "pch.h"
#include "rapidjson/document.h"
#include "rapidjson/writer.h"
#include "rapidjson/stringbuffer.h"
diff --git a/NorthstarDLL/shared/gamepresence.cpp b/NorthstarDLL/shared/gamepresence.cpp
index 86a87526..11cb7ade 100644
--- a/NorthstarDLL/shared/gamepresence.cpp
+++ b/NorthstarDLL/shared/gamepresence.cpp
@@ -1,5 +1,3 @@
-#include "pch.h"
-
#include "gamepresence.h"
#include "plugins/pluginbackend.h"
#include "plugins/plugins.h"
diff --git a/NorthstarDLL/shared/gamepresence.h b/NorthstarDLL/shared/gamepresence.h
index 167f83ab..439ec65c 100644
--- a/NorthstarDLL/shared/gamepresence.h
+++ b/NorthstarDLL/shared/gamepresence.h
@@ -1,6 +1,5 @@
-
#pragma once
-#include "pch.h"
+
#include "server/serverpresence.h"
class GameStateServerPresenceReporter : public ServerPresenceReporter
diff --git a/loader_wsock32_proxy/CMakeLists.txt b/loader_wsock32_proxy/CMakeLists.txt
index 3c21d010..3157f6c5 100644
--- a/loader_wsock32_proxy/CMakeLists.txt
+++ b/loader_wsock32_proxy/CMakeLists.txt
@@ -6,8 +6,6 @@ add_library(loader_wsock32_proxy SHARED
"dllmain.cpp"
"loader.cpp"
"loader.h"
- "pch.cpp"
- "pch.h"
"wsock32.asm"
"wsock32.def"
)
diff --git a/loader_wsock32_proxy/dllmain.cpp b/loader_wsock32_proxy/dllmain.cpp
index c5610042..4cc4f26e 100644
--- a/loader_wsock32_proxy/dllmain.cpp
+++ b/loader_wsock32_proxy/dllmain.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "loader.h"
#include <shlwapi.h>
diff --git a/loader_wsock32_proxy/loader.cpp b/loader_wsock32_proxy/loader.cpp
index c5046e2e..f8b3052b 100644
--- a/loader_wsock32_proxy/loader.cpp
+++ b/loader_wsock32_proxy/loader.cpp
@@ -1,4 +1,3 @@
-#include "pch.h"
#include "loader.h"
#include <string>
#include <system_error>
diff --git a/loader_wsock32_proxy/pch.cpp b/loader_wsock32_proxy/pch.cpp
deleted file mode 100644
index 64b7eef6..00000000
--- a/loader_wsock32_proxy/pch.cpp
+++ /dev/null
@@ -1,5 +0,0 @@
-// pch.cpp: source file corresponding to the pre-compiled header
-
-#include "pch.h"
-
-// When you are using pre-compiled headers, this source file is necessary for compilation to succeed.