zoukankan      html  css  js  c++  java
  • clion上,让openwrt用上CMakeLists.txt

    #在CMakeLists.txt上添加如下
    SET(CMAKE_C_COMPILER "/home/test/openwrt/Toolchain/toolchain/bin/mipsel-openwrt-linux-uclibc-gcc")
    SET(CMAKE_CXX_COMPILER "/home/test/openwrt/Toolchain/toolchain/bin/mipsel-openwrt-linux-uclibc-g++")
    SET(CMAKE_AR "/home/test/openwrt/Toolchain/toolchain/bin/mipsel-openwrt-linux-uclibc-ar")
    SET(CMAKE_LINKER "/home/test/openwrt/Toolchain/toolchain/bin/mipsel-openwrt-linux-uclibc-ld")
    SET(CMAKE_RANLIB "/home/test/openwrt/Toolchain/toolchain/bin/mipsel-openwrt-linux-ranlib")
    SET(CMAKE_NM "/home/test/openwrt/Toolchain/toolchain/bin/mipsel-openwrt-linux-nm")
    SET(CMAKE_OBJDUMP "/home/test/openwrt/Toolchain/toolchain/bin/mipsel-openwrt-linux-objdump")
    SET(CMAKE_OBJCOPY "/home/test/openwrt/Toolchain/toolchain/bin/mipsel-openwrt-linux-objcopy")
    SET(CMAKE_STRIP "/home/test/openwrt/Toolchain/toolchain/bin/mipsel-openwrt-linux-strip")

    #我的openwrt的toolchain地址是:/home/test/openwrt/Toolchain/toolchain

  • 相关阅读:
    线程池七大参数介绍
    线程池的三个使用方式
    线程池使用及优势
    css selector 定位
    xpath 定位小技巧
    centos7部署web测试环境 jdk,tomcat,mysql
    Java 访问修饰符
    webdriver的handle 切换窗口
    P1392 取数
    P3414 SAC#1
  • 原文地址:https://www.cnblogs.com/orangezs/p/8453610.html
Copyright © 2011-2022 走看看