美文网首页
代码的工程化和管理-随笔

代码的工程化和管理-随笔

作者: scott_yu779 | 来源:发表于2018-01-12 11:55 被阅读0次

    基础知识

    • make install做了什么
      如上所示,可以看到install将动态库放到了/tmp/usr/local/lib/libserial.so里边
      头文件放到了tmp/usr/local/include当中了
      如下所示
    cd build && make install
    make[1]: Entering directory '/home/yuhs/novatel_ws/src/serial/build'
    make[2]: Entering directory '/home/yuhs/novatel_ws/src/serial/build'
    make[3]: Entering directory '/home/yuhs/novatel_ws/src/serial/build'
    make[3]: Leaving directory '/home/yuhs/novatel_ws/src/serial/build'
    [ 66%] Built target serial
    make[3]: Entering directory '/home/yuhs/novatel_ws/src/serial/build'
    make[3]: Leaving directory '/home/yuhs/novatel_ws/src/serial/build'
    [100%] Built target serial_example
    make[2]: Leaving directory '/home/yuhs/novatel_ws/src/serial/build'
    Install the project...
    -- Install configuration: ""
    -- Installing: /tmp/usr/local/_setup_util.py
    -- Installing: /tmp/usr/local/env.sh
    -- Installing: /tmp/usr/local/setup.bash
    -- Installing: /tmp/usr/local/setup.sh
    -- Installing: /tmp/usr/local/setup.zsh
    -- Installing: /tmp/usr/local/.rosinstall
    -- Installing: /tmp/usr/local/lib/pkgconfig/serial.pc
    -- Installing: /tmp/usr/local/share/serial/cmake/serialConfig.cmake
    -- Installing: /tmp/usr/local/share/serial/cmake/serialConfig-version.cmake
    -- Installing: /tmp/usr/local/share/serial/package.xml
    -- Installing: /tmp/usr/local/lib/libserial.so
    -- Installing: /tmp/usr/local/include/serial/serial.h
    -- Installing: /tmp/usr/local/include/serial/v8stdint.h
    make[1]: Leaving directory '/home/yuhs/novatel_ws/src/serial/build'
    

    make、cmake和catkin_make的关系学习

    引用
    make cmake和catkin_make的区别

    关系

    相关文章

      网友评论

          本文标题:代码的工程化和管理-随笔

          本文链接:https://www.haomeiwen.com/subject/texfoxtx.html