1 Star 0 Fork 135

zcy / Camkit

forked from andyspider / Camkit 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
cross.cmake 686 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
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)
C
1
https://gitee.com/zhangchye/Camkit.git
git@gitee.com:zhangchye/Camkit.git
zhangchye
Camkit
Camkit
master

搜索帮助

14c37bed 8189591 565d56ea 8189591