aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorF1F7Y <64418963+F1F7Y@users.noreply.github.com>2023-07-28 23:26:13 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-07-28 23:45:05 +0200
commit99e3d106d869866abf8bded9ee4dba9726fe767c (patch)
tree8c88950bc2ad497dcfc512006e88af9a987dcd75
parenta2ed8c19fe19adf774d059f7167b611471ce373a (diff)
downloadNorthstarLauncher-1.17.2.tar.gz
NorthstarLauncher-1.17.2.zip
Remove `pch.cpp` and all `#include "pch.h"` occurrences (#519)v1.17.2-rc1v1.17.2
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 (cherry picked from commit 82bff57d166ece1173ca7df33940171548015a71)
-rw-r--r--NorthstarDLL/dedicated/dedicatedlogtoclient.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/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
10 files changed, 1 insertions, 21 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/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/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.