Add cmake-variants.yaml to allow vscode to build Stratagus according to varaiants defined in the CMakeLists.txt
This commit is contained in:
parent
2eb5205563
commit
9dcda08817
1 changed files with 15 additions and 0 deletions
15
cmake-variants.yaml
Normal file
15
cmake-variants.yaml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
buildType:
|
||||||
|
default: debug
|
||||||
|
choices:
|
||||||
|
debug:
|
||||||
|
short: Debug
|
||||||
|
long: Emit debug information
|
||||||
|
buildType: Debug
|
||||||
|
profile:
|
||||||
|
short: Profiler
|
||||||
|
long: Add extra code to use profilers
|
||||||
|
buildType: Profile
|
||||||
|
release:
|
||||||
|
short: Release
|
||||||
|
long: Optimize generated code
|
||||||
|
buildType: Release
|
Loading…
Reference in a new issue