1 Star 0 Fork 138

luozhehao/Camkit

forked from andyspider/Camkit 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
cross.cmake 686 Bytes
一键复制 编辑 原始数据 按行查看 历史
Andy Huang 提交于 2015-02-11 19:46 . fix cross.cmake
SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_VERSION 1)
# specify the cross compiler, change this if needed
SET(CMAKE_C_COMPILER "cross_complier_cc") # Change this
SET(CMAKE_CXX_COMPILER "cross_complier_c++") # Change this
# where is the target environment, change this to the root system for cross compiling
SET(CMAKE_FIND_ROOT_PATH "location_of_cross_compile_rootsys") # Change this
# search for programs in the build host directories
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
# for libraries and headers in the target directories
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
# indicate it's cross compiled
SET(IS_CROSS ON)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/luozhehao/Camkit.git
git@gitee.com:luozhehao/Camkit.git
luozhehao
Camkit
Camkit
master

搜索帮助