Skip to content

Commit

Permalink
feat: create test_package package
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
Autumn60 authored Jun 19, 2024
1 parent e781da0 commit abd1020
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
21 changes: 21 additions & 0 deletions test_package/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
cmake_minimum_required(VERSION 3.5)
project(package-name)

if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()

find_package(ament_cmake REQUIRED)

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
endif()

ament_auto_package(INSTALL_TO_SHARE
launch
)
Empty file added test_package/launch/.gitkeep
Empty file.
16 changes: 16 additions & 0 deletions test_package/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>package-name</name>
<version>0.0.0</version>
<description>The package-name package</description>
<maintainer email="maintainer-email">maintainer-name</maintainer>

<license>Apache 2</license>

<buildtool_depend>ament_cmake</buildtool_depend>

<export>
<build_type>ament_cmake</build_type>
</export>
</package>
Empty file added test_package/src/.gitkeep
Empty file.

0 comments on commit abd1020

Please sign in to comment.