当前位置:网站首页>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)
边栏推荐
- Resample
- RESNET practice in tensorflow
- Tp5.0框架 PDO连接mysql 报错:Too many connections 解决方法
- ECCV 2020 double champion team, take you to conquer target detection on the 7th
- One of token passing between microservices @feign's token passing
- Vie procédurale
- 两步处理字符串正则匹配得到JSON列表
- Solution to back-off restarting failed container
- The beautiful scenery is natural, and the wonderful pen is obtained by chance -- how is the "wonderful pen" refined?
- [unity3d] rigid body component
猜你喜欢

Ai+ remote sensing: releasing the value of each pixel

Multipass Chinese document - remote use of multipass

Zuul implements dynamic routing
![[unity3d] human computer interaction input](/img/4d/47f6d40bb82400fe9c6d624c8892f7.png)
[unity3d] human computer interaction input

Transport layer TCP protocol and UDP protocol

Yolov5 super parameter setting and data enhancement analysis

PowerShell runtime system IO exceptions
Why does the mobile IM based on TCP still need to keep the heartbeat alive?

超高精度定位系统中的UWB是什么

5. < tag stack and general problems > supplement: lt.946 Verify the stack sequence (the same as the push in and pop-up sequence of offer 31. stack)
随机推荐
一个从坟墓里爬出的公司
【Unity3D】人机交互Input
MySql如何删除所有多余的重复数据
图像翻译/GAN:Unsupervised Image-to-Image Translation with Self-Attention Networks基于自我注意网络的无监督图像到图像的翻译
Procedural life
Tensorflow and deep learning day 3
《财富自由之路》读书之一点体会
Codeforces Round #800 (Div. 2)
Anaconda creates tensorflow environment
Sklearn Library -- linear regression model
First day of deep learning and tensorflow learning
date_ Range creation date range freq parameter value table and creation example
【quartz】从数据库中读取配置实现动态定时任务
ROS notes (07) - Implementation of client and server
Multipass Chinese documents - improve mount performance
Genius makers: lone Rangers, technology giants and AI | ten years of the rise of in-depth learning
Status of processes and communication between processes
微服务之间的Token传递之一@Feign的token传递
Record a circular reference problem
[greedy college] Figure neural network advanced training camp