-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] Macro _conan_detect_build_type doesnt work with Visual Studio IDE #322
Comments
I have the same issue. Had to switch to conan_cmake_run |
Having a more close look at the issue, I think this is how it should work and the |
Hi @czoido, this helps and solves my problem. But I agree that its complicated to have manually set |
Hi @Sneder89, |
Hello everybody!
when I invoke conan_cmake_autodetect with Visual Studio IDE, the function returns inside the macro _conan_detect_build_type an error message because CMAKE_BUILD_TYPE is not defined. Multi Configuration IDE's like VS or XCode doesn't set the Variable CMAKE_BUILD_TYPE but CMAKE_CONFIGURATION_TYPES.
A solution could be that the Variable CMAKE_CONFIGURATION_TYPES is getting evaluated too after CMAKE_BUILD_TYPE and the corresponding settings are getting adapted.
The text was updated successfully, but these errors were encountered: