cmake -DCMAKE_BUILD_TYPE=Debug ../src
参考资料:
https://stackoverflow.com/questions/8443980/compiling-with-cmake-and-include-debug-information
cmake -DCMAKE_BUILD_TYPE=Debug ../src
参考资料:
https://stackoverflow.com/questions/8443980/compiling-with-cmake-and-include-debug-information