Closed skb666 closed 12 months ago
编译命令:
cd examples/demo1 cmake -S. -Bbuild cmake --build build -t all
使用 cmake 而不是 python 进行编译时,若不指定 CMAKE_BUILD_TYPE ,遇到以下问题:
cmake
python
CMAKE_BUILD_TYPE
原因应该是 compile.cmake 中版本判断错误,导致 global_config.h 中 DEBUG 与 RELEASE 定义的值与传入的宏不一致。
global_config.h
DEBUG
RELEASE
啊确实是bug了,感谢!
编译命令:
使用
cmake
而不是python
进行编译时,若不指定CMAKE_BUILD_TYPE
,遇到以下问题:原因应该是 compile.cmake 中版本判断错误,导致
global_config.h
中DEBUG
与RELEASE
定义的值与传入的宏不一致。