1 Star 0 Fork 5

风笑水淡/uvws

forked from Kevin6188/uvws 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pepper-toolchain.cmake 766 Bytes
一键复制 编辑 原始数据 按行查看 历史
Kevin6188 提交于 2017-06-23 00:01 . 提交代码
# this is required
SET(CMAKE_SYSTEM_NAME Linux)
# specify the cross compiler
SET(CMAKE_C_COMPILER $ENV{CTC_ATOM_HOME}/bin/i686-aldebaran-linux-gnu-gcc)
SET(CMAKE_CXX_COMPILER $ENV{CTC_ATOM_HOME}/bin/i686-aldebaran-linux-gnu-g++)
# where is the target environment
SET(CMAKE_FIND_ROOT_PATH
$ENV{CTC_ATOM_HOME}/i686-aldebaran-linux-gnu/sysroot
$ENV{CTC_ATOM_HOME}/i686-aldebaran-linux-gnu
$ENV{THIRDPARTY_HOME}
)
# search for programs in the build host directories (not necessary)
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)
# configure Boost and others
SET(BOOST_ROOT $ENV{CTC_ATOM_HOME}/boost)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/cybernaut/uvws.git
[email protected]:cybernaut/uvws.git
cybernaut
uvws
uvws
master

搜索帮助