mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-10 12:54:50 -04:00
platform variants
This commit is contained in:
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"cmake.buildDirectory": "${workspaceFolder}/build/dusk",
|
||||
"cmake.buildDirectory": "${workspaceFolder}/build/dusk/${buildType}/${variant:platform}",
|
||||
"[c]": {
|
||||
"files.encoding": "utf8",
|
||||
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ add_library(game_debug STATIC ${JSYSTEM_DEBUG_FILES} ${SSYSTEM_FILES})
|
||||
target_compile_definitions(game_debug PRIVATE TARGET_PC VERSION=0 $<$<CONFIG:Debug>:DEBUG=1>)
|
||||
|
||||
# Make these properties PUBLIC so that the regular game target also sees them.
|
||||
target_include_directories(game_debug PUBLIC include src assets/${DUSK_TP_VERSION} ${CMAKE_BINARY_DIR}/../${DUSK_TP_VERSION}/include)
|
||||
target_include_directories(game_debug PUBLIC include src assets/${DUSK_TP_VERSION} ${CMAKE_SOURCE_DIR}/build/${DUSK_TP_VERSION}/include)
|
||||
target_link_libraries(game_debug PUBLIC aurora::core aurora::gx aurora::si aurora::vi aurora::pad aurora::mtx)
|
||||
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
buildType:
|
||||
default: Debug
|
||||
choices:
|
||||
debug:
|
||||
short: Debug
|
||||
long: Unoptimized with debug symbols
|
||||
buildType: Debug
|
||||
release:
|
||||
short: Release
|
||||
long: Optimized, no debug symbols
|
||||
buildType: Release
|
||||
|
||||
platform:
|
||||
default: win64
|
||||
description: Target platform
|
||||
choices:
|
||||
win32:
|
||||
short: Win32
|
||||
long: Windows 32-bit (MSVC)
|
||||
settings:
|
||||
CMAKE_GENERATOR_PLATFORM: Win32
|
||||
|
||||
win64:
|
||||
short: Win64
|
||||
long: Windows 64-bit (MSVC)
|
||||
settings:
|
||||
CMAKE_GENERATOR_PLATFORM: x64
|
||||
Reference in New Issue
Block a user