diff options
author | Jan <sentrycraft123@gmail.com> | 2024-06-23 01:34:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-23 01:34:30 +0200 |
commit | c07ebd8728f89b0db621da6a2c512b33345df444 (patch) | |
tree | b7cb2ff0d509f168a900f2beec567b5679b3667f /primedev/primelauncher/CMakeLists.txt | |
parent | 1c9f39ddde4076b7a0f0b0527d89fc69b47d0602 (diff) | |
download | NorthstarLauncher-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
Diffstat (limited to 'primedev/primelauncher/CMakeLists.txt')
-rw-r--r-- | primedev/primelauncher/CMakeLists.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/primedev/primelauncher/CMakeLists.txt b/primedev/primelauncher/CMakeLists.txt new file mode 100644 index 00000000..f36781a9 --- /dev/null +++ b/primedev/primelauncher/CMakeLists.txt @@ -0,0 +1,28 @@ +# NorthstarLauncher + +add_executable(NorthstarLauncher "main.cpp" "resources.rc") + +target_compile_definitions(NorthstarLauncher PRIVATE UNICODE _UNICODE) + +target_link_libraries( + NorthstarLauncher + PRIVATE shlwapi.lib + kernel32.lib + user32.lib + gdi32.lib + winspool.lib + comdlg32.lib + advapi32.lib + shell32.lib + ole32.lib + oleaut32.lib + uuid.lib + odbc32.lib + odbccp32.lib + ws2_32.lib + ) + +set_target_properties( + NorthstarLauncher PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${NS_BINARY_DIR} LINK_FLAGS + "/MANIFEST:NO /DEBUG /STACK:8000000" + ) |