aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2024-06-23 01:34:30 +0200
committerGitHub <noreply@github.com>2024-06-23 01:34:30 +0200
commitc07ebd8728f89b0db621da6a2c512b33345df444 (patch)
treeb7cb2ff0d509f168a900f2beec567b5679b3667f
parent1c9f39ddde4076b7a0f0b0527d89fc69b47d0602 (diff)
downloadNorthstarLauncher-c07ebd8728f89b0db621da6a2c512b33345df444.tar.gz
NorthstarLauncher-c07ebd8728f89b0db621da6a2c512b33345df444.zip
Restructure primelauncher cmake logic (#727)
Move primelauncher cmake logic into its subdirectory allowing everything related to it to be self contained
-rw-r--r--primedev/CMakeLists.txt2
-rw-r--r--primedev/primelauncher/CMakeLists.txt (renamed from primedev/Launcher.cmake)2
2 files changed, 2 insertions, 2 deletions
diff --git a/primedev/CMakeLists.txt b/primedev/CMakeLists.txt
index 31dda4b2..a33fd351 100644
--- a/primedev/CMakeLists.txt
+++ b/primedev/CMakeLists.txt
@@ -1,3 +1,3 @@
include(Northstar.cmake)
-include(Launcher.cmake)
+add_subdirectory(primelauncher)
add_subdirectory(wsockproxy)
diff --git a/primedev/Launcher.cmake b/primedev/primelauncher/CMakeLists.txt
index d23c7c4b..f36781a9 100644
--- a/primedev/Launcher.cmake
+++ b/primedev/primelauncher/CMakeLists.txt
@@ -1,6 +1,6 @@
# NorthstarLauncher
-add_executable(NorthstarLauncher "primelauncher/main.cpp" "primelauncher/resources.rc")
+add_executable(NorthstarLauncher "main.cpp" "resources.rc")
target_compile_definitions(NorthstarLauncher PRIVATE UNICODE _UNICODE)