cherry pick platform variants

This commit is contained in:
madeline
2026-03-02 10:42:51 -08:00
parent 4e0a80ea8d
commit dbd5bb53b1
3 changed files with 29 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -65,7 +65,7 @@ target_include_directories(game_debug PUBLIC
assets/${DUSK_TP_VERSION}
libs/JSystem/include
extern/aurora/include/dolphin
${CMAKE_BINARY_DIR}/../${DUSK_TP_VERSION}/include
${CMAKE_SOURCE_DIR}/build/${DUSK_TP_VERSION}/include
build/${DUSK_TP_VERSION}/include)
target_link_libraries(game_debug PUBLIC aurora::core aurora::gx aurora::si aurora::vi aurora::pad aurora::mtx aurora::os)
+27
View File
@@ -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