摘要: 一、CMakeLists文件书写语法 1. CMake中条件判断语句 if(<constant>) ... else() ... endif() 当 constant 为 1/ON/YES/TRUE/Y/Non-zero 时判别为真; 当 constant 为 0/OFF/NO/FALSE/N/IG 阅读全文
posted @ 2021-04-02 10:53 coffee_tea_or_me 阅读(868) 评论(0) 推荐(0) 编辑
摘要: 我们有时候会使用到不同的 Python 版本,可以通过虚拟环境来构建互相隔离的运行空间。 一、安装 构建方式也不复杂,如下 (1) 利用 wget 我们来下载并安装 Python 包管理器 pip $ wget https://bootstrap.pypa.io/get-pip.py $ pytho 阅读全文
posted @ 2021-04-02 10:22 coffee_tea_or_me 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 当两台机器在同一个局域网下时,可以通过构建局域传输链接将其中待传输数据的机器作为服务器,提高传输效率。 (I) 如果是 python 2.x 的版本,使用 SimpleHTTPServer 命令 ~ cv$ python -m SimpleHTTPServer 8080 这时在接收数据的机器端的浏览 阅读全文
posted @ 2021-04-02 10:16 coffee_tea_or_me 阅读(160) 评论(0) 推荐(0) 编辑