-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
53 lines (44 loc) · 978 Bytes
/
CMakeLists.txt
File metadata and controls
53 lines (44 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
cmake_minimum_required(VERSION 3.5)
project(mad_detector)
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
cv_bridge
image_transport
std_msgs
geometry_msgs
message_generation
)
set (CMAKE_CXX_STANDARD 14)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
add_message_files(
FILES
Detection.msg
Detections.msg
)
catkin_python_setup()
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
)
catkin_package(
CATKIN_DEPENDS message_runtime
)
# if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/models")
# execute_process(
# COMMAND mkdir models
# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
# )
# execute_process(
# COMMAND wget -q https://github.com/KaiL4eK/mad_detector/releases/download/v0.0/Yolov4Tiny_mad_model.pth -O models/Yolov4Tiny_mad_model.pth
# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
# )
# endif()
# install(
# DIRECTORY
# launch
# models
# src
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
# )