-
Is there some issue by using a Debug build to force the Release build from CMakeFiles.txt? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I didn't understand the question. Could you please be more specific? |
Beta Was this translation helpful? Give feedback.
-
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). |
Beta Was this translation helpful? Give feedback.
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.