Add cmake-variants.yaml to allow vscode to build Stratagus according to varaiants defined in the CMakeLists.txt

This commit is contained in:
alyokhin 2021-03-16 13:08:22 +03:00
parent 2eb5205563
commit 9dcda08817

15
cmake-variants.yaml Normal file
View 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