2018-11-22 17:48:30 +01:00
|
|
|
cmake_minimum_required(VERSION 2.8.3)
|
|
|
|
project(wlan_pioneer)
|
|
|
|
|
2018-11-22 19:48:11 +01:00
|
|
|
add_compile_options(-std=c++11)
|
2018-11-22 17:48:30 +01:00
|
|
|
|
|
|
|
find_package(catkin REQUIRED COMPONENTS
|
|
|
|
roscpp
|
2018-12-11 12:34:35 +01:00
|
|
|
std_msgs
|
2018-11-22 19:48:11 +01:00
|
|
|
message_generation
|
2018-11-22 17:48:30 +01:00
|
|
|
)
|
|
|
|
|
2018-11-22 19:48:11 +01:00
|
|
|
add_message_files(
|
|
|
|
FILES
|
|
|
|
WlanSignalMsg.msg
|
|
|
|
)
|
2018-11-22 17:48:30 +01:00
|
|
|
|
2018-11-22 19:48:11 +01:00
|
|
|
generate_messages(
|
|
|
|
DEPENDENCIES
|
|
|
|
std_msgs
|
|
|
|
)
|
2018-11-22 17:48:30 +01:00
|
|
|
|
|
|
|
catkin_package(
|
2018-12-11 12:34:35 +01:00
|
|
|
|
2018-11-22 17:48:30 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${catkin_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-11-22 19:48:11 +01:00
|
|
|
add_executable(wlanSignal src/wlanSignal.cpp)
|
|
|
|
target_link_libraries(wlanSignal ${catkin_LIBRARIES})
|
2018-12-11 12:34:35 +01:00
|
|
|
add_dependencies(wlanSignal wlan_pioneer_generate_messages_cpp)
|