In your main CMakeLists. ![]() To compile only some part of your project in debug mode, you can proceed as follow. The content of the top-level CMakelists. Note that CMAKEBUILDTYPE can be set from command line or from cmake-gui, you shouldn't set it in the CMakeLists.txt file. It has a top level CMakeLists.txt file, in addition to each CZMakeLists.txt under src/ and its subdirectories. I am running the code on linux and my cmake version is 3.5. Currently, it doesnt print out the debug info above, but only prints out logger info as below: logger (MYMODULELOGERROR, 'config is null ') The project is made through cmake. I would very much appreciate if someone link some resources for understanding the usage of these flags to this thread, I am having a hard time finding these in the cmake documentation. I am pretty new to CMake and debugging so, sorry if my questions are wrong in some sense. I may have to debug it in the future so I would like to have a clear understanding on how the release and debug modes play along with these flags.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |