Replies: 1 comment 6 replies
-
@daeden, try using the variable "${buildType}" in the definition of your "buildDirectory". It should expand to the value of the current variant ("debug", "release", ...etc...). Let us know if this helps. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, changing the build directory requires making a change that impacts all configurations. This setting should have a default value, but it should be overridable per configuration.
It is fine to support a default build directory. In fact that's a good idea, but why no support for overriding the default path in the cmake_configurations.json file with a simple setting like:
"buildDirectory": "${sourceFolder}/my_custom_build_dir"
It is very frustrating how clumsy it is to switch between configurations. I have to think twice before changing from one config to the other knowing that it is going to eat up a huge amount of time re building from scratch.
As such, I have started using annoying workarounds:
All of which would be mercifully unnecessary if the config file allowed for this setting to be overriden.
Beta Was this translation helpful? Give feedback.
All reactions