摘要:
在Linux下可以使用消息队列来实现进程间的通信 例子: 发送端:send.c #include <iostream> #include <thread> #include <unistd.h> #include <sys/msg.h> #include <linux/mqueue.h> //#in 阅读全文
摘要:
命令格式: #添加一个子目录并构建该子目录。 add_subdirectory (source_dir [binary_dir] [EXCLUDE_FROM_ALL])#source_dir:子项目的CMakeLists.txt所在的目录#binary_dir:子项目产物的生成目录#EXCLUDE_ 阅读全文