wlan_pioneer/CMakeLists.txt

36 lines
604 B
CMake

cmake_minimum_required(VERSION 2.8.3)
project(wlan_pioneer)
add_compile_options(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
roscpp
std_msgs
message_generation
)
add_message_files(
FILES
WlanSignalMsg.msg
)
generate_messages(
DEPENDENCIES
std_msgs
)
catkin_package( )
include_directories(
${catkin_INCLUDE_DIRS}
/usr/local/include/
)
link_directories(
${catkin_INCLUDE_DIRS}
/usr/local/lib/
)
add_executable(wlanSignal src/wlanSignal.cpp)
target_link_libraries(wlanSignal ${catkin_LIBRARIES} wifi-scan)
add_dependencies(wlanSignal wlan_pioneer_generate_messages_cpp)