|
Is there some issue by using a Debug build to force the Release build from CMakeFiles.txt? |
Answered by
tsujan
Jul 13, 2023
Replies: 2 comments 4 replies
|
I didn't understand the question. Could you please be more specific? |
0 replies
|
I opened the CMakeLists.txt in QtCreator as project, then I selected the Debug configuration and an error said that only Release build is available, though Debug was choosen at first configuration. if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()so that the Debug was available when selected in QtC (or via command line). |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh, now I understand your question! You meant I might have forced the release build because I saw some issue with the debug build. The answer is no, I didn't. I just prefer the Release build and have a habit to do so. Those who want a debug build will find their way, I think.