04 2019 档案

摘要:参考 https://www.jianshu.com/p/7eeb6f79a275 https://cmake.org/cmake/help/v3.0/manual/cmake-qt.7.html https://blog.csdn.net/wingover/article/details/8272 阅读全文
posted @ 2019-04-17 23:13 流浪侠客 阅读(164) 评论(0) 推荐(0)
摘要:cmake find package 有一套详细的方式. 参考: https://blog.csdn.net/dbzhang800/article/details/6329314 https://blog.csdn.net/bytxl/article/details/50637277 阅读全文
posted @ 2019-04-15 22:59 流浪侠客 阅读(141) 评论(0) 推荐(0)
摘要:前言 cmake能够支持生成代码, 常用于生成版本信息以及文件路径等。 一, 目录结构 ├── CMakeLists.txt├── main.cpp├── path.h.in├── ver.h.in * link:CMakeLists.txt[] - Contains the CMake comma 阅读全文
posted @ 2019-04-15 00:01 流浪侠客 阅读(1060) 评论(0) 推荐(0)
摘要:参考博客: https://blog.csdn.net/u010833052/article/details/78507783 阅读全文
posted @ 2019-04-14 22:16 流浪侠客 阅读(622) 评论(0) 推荐(0)
摘要:Folly: Facebook Open-source Library ### What is `folly`? Folly (acronymed loosely after Facebook Open Source Library) is alibrary of C++11 components 阅读全文
posted @ 2019-04-14 21:55 流浪侠客 阅读(751) 评论(0) 推荐(0)
摘要:1. 打开matlab程序,执行命令 visionSupportPackages。 2. 稍等一下,弹出Support Package Installer对话框,点击Install from Internet选项,点击下一步。 3. 选择左侧OpenCV interface,点击下一步。 4. 登入 阅读全文
posted @ 2019-04-14 21:55 流浪侠客 阅读(2038) 评论(0) 推荐(0)
摘要:场景: 在一个集成环境中存在不同应用,这些应用的提供者不同且这些应用运行在各种各样的平台上。其中的一些 应用程序生产消息,其他很多应用程序消费这些消息。 例如,某金融方面应用程序集成了贸易工具、投资管理应用、模型和风险分析工具、贸易指示以及自动收报机。 市场活动导致系统的交换。例如,一个贸易系统通过 阅读全文
posted @ 2019-04-14 21:53 流浪侠客 阅读(7821) 评论(0) 推荐(0)
摘要:使用qt线程包含4种方式, 下面列出第一种: 使用QtConcurrent::run()静态函数。 1, 必须包含头文件, QtConcurrentRun。 2, 函数的形式如下: QFuture<T> run(Function, ...) Function 必须是指向函数的指针,函数返回T型对象。 阅读全文
posted @ 2019-04-14 21:53 流浪侠客 阅读(5597) 评论(0) 推荐(0)
摘要:vmware虚拟机上安装虚拟机,最好将vmware DHCP Service, VMware NAT Service 开启, 否则会出现ubuntu无法连接网络的情况。 阅读全文
posted @ 2019-04-14 21:48 流浪侠客 阅读(717) 评论(0) 推荐(0)
摘要:前言 很多大工程由不同动态库和程序构成,并表现为多级目录和子工程的样式。 一, 目录结构 ├── CMakeLists.txt >[1]├── subbinary│ ├── CMakeLists.txt >[2]│ └── main.cpp├── sublibrary1│ ├── CMakeList 阅读全文
posted @ 2019-04-14 13:17 流浪侠客 阅读(9925) 评论(0) 推荐(1)
摘要:一, 通用范式 cmake_minimum_required(VERSION 2.8) project (hello_cpp11) # 检查c++编译器标志,设置c++11支持变量include(CheckCXXCompilerFlag)CHECK_CXX_COMPILER_FLAG("-std=c 阅读全文
posted @ 2019-04-14 12:52 流浪侠客 阅读(17930) 评论(0) 推荐(1)
摘要:前言 大多数的工程都会添加第三方库。cmake中find_package()函数能够支持查找这些库的路径。 但是必须先为cmake配置查找配置的cmake模块,模块文件名称形如“FindXXX.cmake”,这些 模块文件通常会放到一个指定的目录中,然后将CMAKE_MODULE_PATH变量设置为 阅读全文
posted @ 2019-04-14 11:47 流浪侠客 阅读(21356) 评论(0) 推荐(0)
摘要:前言 cmake支持多种不同方式设置编译器标志: 1.使用 target_compile_definitions()设置编译器标志 2. 使用CMAKE_C_FLAGS和CMAKE_CXX_FLAGS设置编译标志 一, 目录结构 ├── CMakeLists.txt├── main.cpp * li 阅读全文
posted @ 2019-04-14 10:40 流浪侠客 阅读(12613) 评论(0) 推荐(0)
摘要:前言 cmake可以设设置多种编译选项。这些编译选项可以设置编译优化级别以及是否添加debug信息。 一, 目录结构 ├── CMakeLists.txt├── main.cpp * link:CMakeLists.txt[] - Contains the CMake commands you wi 阅读全文
posted @ 2019-04-14 10:01 流浪侠客 阅读(6139) 评论(0) 推荐(0)
摘要:一, 目录结构 ├── cmake-examples.conf├── CMakeLists.txt├── include│ └── installing│ └── Hello.h└── src ├── Hello.cpp └── main.cpp * link:CMakeLists.txt[] - 阅读全文
posted @ 2019-04-14 01:13 流浪侠客 阅读(1590) 评论(0) 推荐(0)
摘要:一, 目录结构 ├── CMakeLists.txt├── include│ └── shared│ └── Hello.h└── src ├── Hello.cpp └── main.cpp * link:CMakeLists.txt[] - Contains the CMake commands 阅读全文
posted @ 2019-04-14 00:36 流浪侠客 阅读(9667) 评论(0) 推荐(0)
摘要:一, 目录结构 ├── CMakeLists.txt├── include│ └── static│ └── Hello.h└── src ├── Hello.cpp └── main.cpp * link:CMakeLists.txt[] - Contains the CMake commands 阅读全文
posted @ 2019-04-13 22:58 流浪侠客 阅读(10622) 评论(0) 推荐(0)
摘要:一, 目录结构 ├── CMakeLists.txt├── include│ └── Hello.h└── src ├── Hello.cpp └── main.cpp * link:CMakeLists.txt[CMakeLists.txt] - Contains the CMake comman 阅读全文
posted @ 2019-04-13 22:28 流浪侠客 阅读(3666) 评论(0) 推荐(0)
摘要:一, 目录结构 ├── CMakeLists.txt├── main.cpp * link:CMakeLists.txt[CMakeLists.txt] - Contains the CMake commands you wish to run* link:main.cpp[main.cpp] - 阅读全文
posted @ 2019-04-13 21:55 流浪侠客 阅读(293) 评论(0) 推荐(0)
摘要:CMAKE_BINARY_DIR : if you are building in-source, this is the same as CMAKE_SOURCE_DIR, otherwise this is the top level directory of your build tree C 阅读全文
posted @ 2019-04-13 20:30 流浪侠客 阅读(373) 评论(0) 推荐(0)