CMake用于编译一些C++文件.assert代码中有调用.在CMake的发布模式下禁用这些调用.NDEBUG我猜它在发布模式中定义.
assert
NDEBUG
如果我对在CMake的发布模式下断言感兴趣,我该如何启用它?
assert cmake ndebug
assert ×1
cmake ×1
ndebug ×1