From 9dcda08817c4f49b66327c1ccd9be1c7b431c77f Mon Sep 17 00:00:00 2001 From: alyokhin Date: Tue, 16 Mar 2021 13:08:22 +0300 Subject: [PATCH] Add cmake-variants.yaml to allow vscode to build Stratagus according to varaiants defined in the CMakeLists.txt --- cmake-variants.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 cmake-variants.yaml diff --git a/cmake-variants.yaml b/cmake-variants.yaml new file mode 100644 index 000000000..9c6b71c3c --- /dev/null +++ b/cmake-variants.yaml @@ -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