Replies: 1 comment 5 replies
-
This is tracked in #2120 and there is a PR out for it that we need to test before releasing a version with the fix. We're not sure how long this has been broken but it manifested itself in confusing ways which is why we made the change to log a warning and override the IntelliSense configuration temporarily. The warning is only about IntelliSense configuration and can be safely ignored until we release a fix. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello again!
I've started using variants somewhat recently and it is a great feature! My only issue is that the CMAKE_BUILD_TYPE is not being set to build_type and instead is being set to the full variant.
For example, this is what I have in my cmake-variants.yaml
build_type:
default: debug
choices:
debug:
short: Debug
build_type: Debug
settings:
_build_type: Debug
release:
short: Release
build_type: Release
settings:
_build_type: Release
cts_product:
default: all
choices:
all:
short: all
settings:
_cts_product: all
build_list:
default: cts
choices:
cts:
short: cts
settings:
_build_list:
- crabel-shared
- core
- cts
- nodes
qra:
short: qra
settings:
_build_list:
- crabel-shared
- qra
As you can see I set built_type as either 'Debug' or 'Release'. But when I build I see the following:
[build] Build finished with exit code 0
[cpptools] The build configurations generated do not contain the active build configuration. Using 'Debug' for CMAKE_BUILD_TYPE instead of 'Release all qra' to ensure that IntelliSense configurations can be found
[cpptools] The build configurations generated do not contain the active build configuration. Using 'Debug' for CMAKE_BUILD_TYPE instead of 'Release all qra' to ensure that IntelliSense configurations can be found
At first I thought this was not that big a deal, but recall that I'm using buildType to control my build directory!
#2208
Anyway, this seems like a bug maybe? Or am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions