![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
cmake
文章平均质量分 75
baibingql
c++/python程序员,高级系统架构师
展开
-
linux 上安装OpenDDS
1.安装PERL使用以下安装脚本:sh <(curl -q https://platform.activestate.com/dl/cli/install.sh) --activate-default ActiveState/Perl-5.32若没有CURL 则安装:sudo apt install curlsudo apt install perl2.设置环境变量设置相关环境变量/etc/profile在/etc/profile文件尾添加如下环境变量,重启生效(之前有博客说在.原创 2021-07-29 17:38:58 · 1544 阅读 · 0 评论 -
CMAKE使用记录
文章目录1. 常用命令1.1configure_file1.1 find_program, find_package1.2 add_custom_target1.3 函数function1.4 参数解析:cmake_parse_arguments1.5 project2.变量1. 常用命令命令行:cmake [<options>] -S <path-to-source> -B <path-to-build>使用作为构建树 作为源代码树。指定的路径可以是绝对路径,原创 2021-04-14 17:26:44 · 845 阅读 · 0 评论 -
cmake笔记
1.变量2.常用预定义变量3.常用命令4.引用一个qt的cmake示例1.变量设置变量:set(SRC_DIR ./src) 引用变量:SRCDIR设置系统的环境变量:SET(ENV变量名值)引用系统的环境变量:SRCDIR设置系统的环境变量:SET(ENV变量名值)引用系统的环境变量:{SRC_DIR} 设置系统的环境变量: SET(ENV{变量名} 值...原创 2018-08-09 07:55:07 · 242 阅读 · 0 评论