CMake arm linux交叉编译CMakeLists.txt示例
set(tool_path /usr/local/arm/opt/EmbedSky/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf)set(CMAKE_C_COMPILER ${tool_path}/bin/arm-linux-gnueabihf-gcc)set(CMAKE_CXX_COMPILER ${tool_path}/bin/arm-linux-gnueabihf-g++)set(CMAKE_CROSSCOMPILING TRUE..
原创
2020-06-11 18:00:14 ·
2683 阅读 ·
0 评论