vs config file

This commit is contained in:
yzh 2024-02-01 14:58:32 +08:00
parent ea28fc8071
commit 98472dbb7b
No known key found for this signature in database
GPG Key ID: 42F9CE5DC67BB975
2 changed files with 17 additions and 7 deletions

5
.gitignore vendored
View File

@ -5,9 +5,8 @@ enc_temp_folder/
.cache/ .cache/
attic/chucklefish/ attic/chucklefish/
tiled/ tiled/
assets/user/ assets/*
assets/devel/ !assets/opensb
assets/packed.pak
mods/*.pak mods/*.pak
mods/* mods/*
*/.vs/ */.vs/

View File

@ -2,11 +2,11 @@
"configurations": [ "configurations": [
{ {
"name": "x64-RelWithDebInfo", "name": "x64-RelWithDebInfo",
"generator": "Ninja", "generator": "Visual Studio 17 2022 Win64",
"configurationType": "RelWithDebInfo", "configurationType": "RelWithDebInfo",
"inheritEnvironments": [ "msvc_x64_x64" ], "inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${projectDir}\\..\\build", "buildRoot": "${projectDir}\\..\\build\\${name}",
"installRoot": "${projectDir}\\..\\out\\install\\${name}", "installRoot": "${projectDir}\\..\\dist\\install\\${name}",
"cmakeCommandArgs": "-DCMAKE_INCLUDE_PATH=\"..\\lib\\windows\\include\" -DCMAKE_LIBRARY_PATH=\"..\\lib\\windows\"", "cmakeCommandArgs": "-DCMAKE_INCLUDE_PATH=\"..\\lib\\windows\\include\" -DCMAKE_LIBRARY_PATH=\"..\\lib\\windows\"",
"variables": [ "variables": [
{ {
@ -18,8 +18,19 @@
"name": "STAR_ENABLE_DISCORD_INTEGRATION", "name": "STAR_ENABLE_DISCORD_INTEGRATION",
"value": "True", "value": "True",
"type": "BOOL" "type": "BOOL"
} },
] {
"name": "STAR_USE_JEMALLOC",
"value": "True",
"type": "BOOL"
},
{
"name": "CMAKE_CONFIGURATION_TYPES",
"value": "RelWithAsserts",
"type": "STRING"
}
],
"cmakeExecutable": "C:/Program Files/CMake/bin/cmake.exe"
} }
] ]
} }