updated cmake configuration to build without ROS

This commit is contained in:
Ruixiang Du
2020-08-15 18:52:14 +08:00
parent 6c43a30f87
commit 96faefd482
8 changed files with 166 additions and 90 deletions

View File

@@ -9,7 +9,7 @@ set(SCOUT_MONITOR_SRC
src/scout_monitor.cpp
)
add_library(monitor STATIC ${SCOUT_MONITOR_SRC})
target_link_libraries(monitor scoutbase ${CURSES_LIBRARIES})
target_link_libraries(monitor wrp_sdk ${CURSES_LIBRARIES})
target_include_directories(monitor PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<BUILD_INTERFACE:${CURSES_INCLUDE_DIR}>

View File

@@ -10,7 +10,7 @@
#ifndef SCOUT_MONITOR_HPP
#define SCOUT_MONITOR_HPP
#include "scout_base/scout_base.hpp"
#include "wrp_sdk/platforms/scout/scout_base.hpp"
#include <ncurses.h>