Skip to content

Commit 91fdf5b

Browse files
committed
Added base custom_gz_plugins ros2 pkg (space-ros#46)
Signed-off-by: Jasmeet Singh <[email protected]>
1 parent c316131 commit 91fdf5b

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

custom_gz_plugins/CMakeLists.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
cmake_minimum_required(VERSION 3.8)
2+
project(custom_gz_plugins)
3+
4+
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
5+
add_compile_options(-Wall -Wextra -Wpedantic)
6+
endif()
7+
8+
# find dependencies
9+
find_package(ament_cmake REQUIRED)
10+
# uncomment the following section in order to fill in
11+
# further dependencies manually.
12+
# find_package(<dependency> REQUIRED)
13+
14+
if(BUILD_TESTING)
15+
find_package(ament_lint_auto REQUIRED)
16+
# the following line skips the linter which checks for copyrights
17+
# comment the line when a copyright and license is added to all source files
18+
set(ament_cmake_copyright_FOUND TRUE)
19+
# the following line skips cpplint (only works in a git repo)
20+
# comment the line when this package is in a git repo and when
21+
# a copyright and license is added to all source files
22+
set(ament_cmake_cpplint_FOUND TRUE)
23+
ament_lint_auto_find_test_dependencies()
24+
endif()
25+
26+
ament_package()

custom_gz_plugins/package.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0"?>
2+
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
3+
<package format="3">
4+
<name>custom_gz_plugins</name>
5+
<version>0.0.0</version>
6+
<description>TODO: Package description</description>
7+
<maintainer email="[email protected]">root</maintainer>
8+
<license>TODO: License declaration</license>
9+
10+
<buildtool_depend>ament_cmake</buildtool_depend>
11+
12+
<test_depend>ament_lint_auto</test_depend>
13+
<test_depend>ament_lint_common</test_depend>
14+
15+
<export>
16+
<build_type>ament_cmake</build_type>
17+
</export>
18+
</package>

0 commit comments

Comments
 (0)