2023年5月25日
摘要: 在Linux下可以使用消息队列来实现进程间的通信 例子: 发送端:send.c #include <iostream> #include <thread> #include <unistd.h> #include <sys/msg.h> #include <linux/mqueue.h> //#in 阅读全文
posted @ 2023-05-25 19:31 林西索 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 命令格式: #添加一个子目录并构建该子目录。 add_subdirectory (source_dir [binary_dir] [EXCLUDE_FROM_ALL])#source_dir:子项目的CMakeLists.txt所在的目录#binary_dir:子项目产物的生成目录#EXCLUDE_ 阅读全文
posted @ 2023-05-25 18:51 林西索 阅读(267) 评论(0) 推荐(0) 编辑