当前位置:网站首页>CMakeLists.txt Template
CMakeLists.txt Template
2022-06-26 05:09:00 【古路】
CMakeLists.txt Template
cmake_minimum_required(VERSION 2.8.3)
project(Template)
set(CMAKE_BUILD_TYPE "Release")
set(CMAKE_CXX_STANDARD 11)
find_package(OpenCV 3 REQUIRED)
find_package(Pangolin REQUIRED)
find_package(catkin REQUIRED COMPONENTS roscpp std_msgs)
catkin_package(CATKIN_DEPENDS roscpp std_msgs)
include_directories(
"/usr/include/eigen3"
${
OpenCV_INCLUDE_DIRS}
${
Pangolin_INCLUDE_DIRS}
${
PROJECT_SOURCE_DIR}
${
PROJECT_SOURCE_DIR}/include
${
PROJECT_SOURCE_DIR}/thirdpartys/file
${
catkin_INCLUDE_DIRS}
)
file(GLOB_RECURSE TEMPLATE_SRCS "${PROJECT_SOURCE_DIR}/file1/*.cc"
"${PROJECT_SOURCE_DIR}/file2/*.cc")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${
PROJECT_SOURCE_DIR}/lib)
add_library(TEMPLATE SHARED ${
TEMPLATE_SRCS})
target_link_libraries(TEMPLATE glog gflags ${
OpenCV_LIBS} ${
Pangolin_LIBRARIES})
add_executable(Template app/template.cc)
target_link_libraries(Template
glog gflags ${
OpenCV_LIBS} ${
catkin_LIBRARIES} TEMPLATE)
边栏推荐
- 超高精度定位系统中的UWB是什么
- pycharm 导包错误没有警告
- Why do many Shopify independent station sellers use chat robots? Read industry secrets in one minute!
- Ai+ remote sensing: releasing the value of each pixel
- Créateur de génie: cavalier solitaire, magnat de la technologie et ai | dix ans d'apprentissage profond
- 《财富自由之路》读书之一点体会
- Generalized linear model (logistic regression, Poisson regression)
- Day3 data type and Operator jobs
- How to select the data transmission format of instant messaging application
- MySql如何删除所有多余的重复数据
猜你喜欢

瀚高数据库自定义操作符‘!~~‘
![[unity3d] collider assembly](/img/de/29ecf4612c540e2df715f56c31cf1a.png)
[unity3d] collider assembly

Final review of brain and cognitive science

Happy New Year!
![[unity3d] human computer interaction input](/img/4d/47f6d40bb82400fe9c6d624c8892f7.png)
[unity3d] human computer interaction input

Tp5.0框架 PDO连接mysql 报错:Too many connections 解决方法

Yolov5 super parameter setting and data enhancement analysis

Wechat applet exits the applet (navigator and api--wx.exitminiprogram)

Zuul 实现动态路由

FastAdmin Apache下设置伪静态
随机推荐
torchvision_ Transform (image enhancement)
Implementation of IM message delivery guarantee mechanism (II): ensure reliable delivery of offline messages
Codeforces Round #802 (Div. 2)(A-D)
Computer Vision Tools Chain
【Unity3D】碰撞体组件Collider
6.1 - 6.2 introduction to public key cryptography
Machine learning final exercises
RESNET in tensorflow_ Train actual combat
Method of saving pictures in wechat applet
Muke.com actual combat course
The best Chinese open source class of vision transformer, ten hours of on-site coding to play with the popular model of Vit!
5. <tag-栈和常规问题>补充: lt.946. 验证栈序列(同剑指 Offer 31. 栈的压入、弹出序列)
Use fill and fill in Matplotlib_ Between fill the blank area between functions
[leetcode] 713: subarray with product less than k
Tensorflow visualization tensorboard "no graph definition files were found." error
超高精度定位系统中的UWB是什么
Selection of programming language
LeetCode 19. 删除链表的倒数第 N 个结点
Zuul 實現動態路由
RESNET practice in tensorflow