Skip to content

Commit

Permalink
Fix vs build
Browse files Browse the repository at this point in the history
  • Loading branch information
expipiplus1 committed Oct 30, 2024
1 parent 44dc5ea commit 3dd95da
Showing 1 changed file with 8 additions and 23 deletions.
31 changes: 8 additions & 23 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
"description": "Options specific for MSVC",
"cacheVariables": {
"CMAKE_C_FLAGS_INIT": "-D_ITERATOR_DEBUG_LEVEL=0 /MP",
"CMAKE_CXX_FLAGS_INIT": "-D_ITERATOR_DEBUG_LEVEL=0 /MP",
"CMAKE_DEFAULT_BUILD_TYPE": "RelWithDebInfo"
"CMAKE_CXX_FLAGS_INIT": "-D_ITERATOR_DEBUG_LEVEL=0 /MP"
}
},
{
Expand Down Expand Up @@ -96,35 +95,27 @@
"name": "emscripten",
"configurePreset": "emscripten",
"configuration": "Release",
"targets": [
"slang-wasm"
]
"targets": ["slang-wasm"]
},
{
"name": "generators",
"inherits": "release",
"configurePreset": "generators",
"targets": [
"all-generators"
]
"targets": ["all-generators"]
},
{
"name": "slang-llvm",
"inherits": "release",
"configurePreset": "slang-llvm",
"targets": [
"slang-llvm"
]
"targets": ["slang-llvm"]
}
],
"packagePresets": [
{
"name": "base",
"hidden": true,
"configurePreset": "default",
"generators": [
"ZIP"
],
"generators": ["ZIP"],
"variables": {
"CPACK_PACKAGE_FILE_NAME": "slang",
"CPACK_COMPONENTS_ALL": "Unspecified;metadata;slang-llvm"
Expand All @@ -133,25 +124,19 @@
{
"name": "release",
"inherits": "base",
"configurations": [
"Release"
],
"configurations": ["Release"],
"packageDirectory": "dist-release"
},
{
"name": "releaseWithDebugInfo",
"inherits": "base",
"configurations": [
"RelWithDebInfo"
],
"configurations": ["RelWithDebInfo"],
"packageDirectory": "dist-releaseWithDebugInfo"
},
{
"name": "debug",
"inherits": "base",
"configurations": [
"Debug"
],
"configurations": ["Debug"],
"packageDirectory": "dist-debug"
},
{
Expand Down

0 comments on commit 3dd95da

Please sign in to comment.