Press "Enter" to skip to content

Linux下面用cmake构建项目,构建类型 debug

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
cmake -DCMAKE_BUILD_TYPE=Debug ../src
cmake -DCMAKE_BUILD_TYPE=Debug ../src
cmake -DCMAKE_BUILD_TYPE=Debug ../src

参考资料:

https://stackoverflow.com/questions/8443980/compiling-with-cmake-and-include-debug-information

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注