more cleanup in pkg info

This commit is contained in:
Ruixiang Du
2020-08-16 18:24:48 +08:00
parent b53a80eca3
commit 75b93c49b9
3 changed files with 5 additions and 22 deletions

View File

@@ -2,8 +2,6 @@ image: rduweston/ubuntu-ci:18.04
build: build:
stage: build stage: build
# instead of calling g++ directly you can also use some build toolkit like make
# install the necessary build tools when needed
before_script: before_script:
- apt update && apt -y install libasio-dev - apt update && apt -y install libasio-dev
script: script:
@@ -22,4 +20,4 @@ build:
test: test:
stage: test stage: test
script: script:
- ./build/bin/gtest_all - ./bin/gtest_all

View File

@@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<package> <package>
<name>wrp_sdk</name> <name>wrp_sdk</name>
<version>0.3.3</version> <version>0.1.5</version>
<description>Weston Robot Platform SDK</description> <description>Weston Robot Platform SDK</description>
<author email="ruixiang.du@westonrobot.com">Ruixiang Du</author> <author email="ruixiang.du@westonrobot.com">Ruixiang Du</author>
@@ -9,9 +9,9 @@
<license>BSD</license> <license>BSD</license>
<url type="website">TODO</url> <url type="website">https://www.westonrobot.com/</url>
<url type="bugtracker">TODO</url> <url type="bugtracker">https://github.com/westonrobot/wrp_sdk/issues</url>
<url type="repository">TODO</url> <url type="repository">https://github.com/westonrobot/wrp_sdk</url>
<buildtool_depend>catkin</buildtool_depend> <buildtool_depend>catkin</buildtool_depend>
<export></export> <export></export>

View File

@@ -1,15 +0,0 @@
# Dependency libraries
#find_package(LIBRARY_NAME REQUIRED)
add_subdirectory(googletest)
## Unit tests with GoogleTest
set(GTEST_SRC
gtests/scout_can_protocol_test.cpp
)
add_executable(wrp_sdk_test ${GTEST_SRC})
target_link_libraries(wrp_sdk_test gtest gtest_main wrp_sdk)
target_include_directories(wrp_sdk_test PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<BUILD_INTERFACE:${GTEST_INCLUDE_DIRS}>
$<INSTALL_INTERFACE:include>)