-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce example names to be able to run Conda CI on Windows (gz-cmake4) (
#476) Signed-off-by: Jose Luis Rivero <jrivero@honurobotics.com> Signed-off-by: Steve Peters <scpeters@openrobotics.org> Co-authored-by: Steve Peters <scpeters@openrobotics.org>
- Loading branch information
Showing
59 changed files
with
156 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/core_child/CMakeLists.txt → examples/c_child/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR) | ||
project(gz-core_child VERSION 0.1.0) | ||
project(gz-c_child VERSION 0.1.0) | ||
find_package(gz-cmake4 REQUIRED) | ||
gz_configure_project() | ||
gz_find_package(gz-core_no_deps REQUIRED EXTRA_ARGS NAMES gz-core_no_deps) | ||
gz_find_package(gz-c_no_deps REQUIRED EXTRA_ARGS NAMES gz-c_no_deps) | ||
gz_configure_build(QUIT_IF_BUILD_ERRORS) | ||
gz_create_packages() | ||
gz_create_docs(TAGFILES "${GZ-CORE_NO_DEPS_DOXYGEN_TAGFILE} = ${GZ-CORE_NO_DEPS_API_URL}") |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
examples/core_child_private/CMakeLists.txt → examples/c_child_private/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR) | ||
project(gz-core_child_private VERSION 0.1.0) | ||
project(gz-c_child_private VERSION 0.1.0) | ||
find_package(gz-cmake4 REQUIRED) | ||
gz_configure_project() | ||
gz_find_package(gz-core_no_deps PRIVATE REQUIRED) | ||
gz_find_package(gz-c_no_deps PRIVATE REQUIRED) | ||
gz_configure_build(QUIT_IF_BUILD_ERRORS) | ||
gz_create_packages() | ||
gz_create_docs(TAGFILES "${GZ-CORE_NO_DEPS_DOXYGEN_TAGFILE} = ${GZ-CORE_NO_DEPS_API_URL}") |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
examples/core_nodep/CMakeLists.txt → examples/c_nodep/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ples/core_nodep_static/src/CMakeLists.txt → examples/c_nodep/src/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
gz_get_libsources_and_unittests(sources gtest_sources) | ||
gz_create_core_library(SOURCES ${sources} CXX_STANDARD 11) | ||
gz_build_tests(TYPE UNIT SOURCES ${gtest_sources}) | ||
gz_build_tests(TYPE UNIT SOURCES ${gtest_sources}) |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
examples/core_nodep_static/CMakeLists.txt → examples/c_nodep_static/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/core_nodep_static/README.md → examples/c_nodep_static/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
examples/core_static_child/CMakeLists.txt → examples/c_static_child/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR) | ||
project(gz-core_static_child VERSION 0.1.0) | ||
project(gz-c_static_child VERSION 0.1.0) | ||
find_package(gz-cmake4 REQUIRED) | ||
gz_configure_project() | ||
gz_find_package(gz-core_no_deps_static REQUIRED) | ||
gz_find_package(gz-c_no_deps_static REQUIRED) | ||
gz_configure_build(QUIT_IF_BUILD_ERRORS) | ||
gz_create_packages() | ||
gz_create_docs(TAGFILES "${GZ-CORE_NO_DEPS_STATIC_DOXYGEN_TAGFILE} = ${GZ-CORE_NO_DEPS_STATIC_API_URL}") |
6 changes: 3 additions & 3 deletions
6
examples/core_static_child/README.md → examples/c_static_child/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# component\_deps | ||
# comp\_deps | ||
|
||
A package with two components (`child` and `parent`) with a dependency | ||
relationship between the components (`child` links against `parent`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/use_component_depsC/CMakeLists.txt → examples/comp_depsA/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR) | ||
project(gz-use_component_depsC VERSION 0.1.0) | ||
project(gz-comp_depsA VERSION 0.1.0) | ||
find_package(gz-cmake4 REQUIRED) | ||
gz_configure_project() | ||
gz_find_package(gz-component_deps REQUIRED COMPONENTS child) | ||
gz_find_package(gz-comp_deps REQUIRED COMPONENTS parent child) | ||
gz_configure_build(QUIT_IF_BUILD_ERRORS) | ||
gz_create_packages() | ||
gz_create_docs() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# comp\_depsA | ||
|
||
This package uses the `child` and `parent` components of `comp_deps` | ||
and calls `gz_find_package` with the components specified | ||
in the order `parent child`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
examples/use_component_depsA/CMakeLists.txt → examples/comp_depsB/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR) | ||
project(gz-use_component_depsA VERSION 0.1.0) | ||
project(comp_depsB VERSION 0.1.0) | ||
find_package(gz-cmake4 REQUIRED) | ||
gz_configure_project() | ||
gz_find_package(gz-component_deps REQUIRED COMPONENTS parent child) | ||
gz_find_package(gz-comp_deps REQUIRED COMPONENTS child parent) | ||
gz_configure_build(QUIT_IF_BUILD_ERRORS) | ||
gz_create_packages() | ||
gz_create_docs() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# comp\_depsB | ||
|
||
This package uses the `child` and `parent` components of `comp_deps` | ||
and calls `gz_find_package` with the components specified | ||
in the order `child parent`. | ||
Aside from the order in which the components are specified, | ||
this package is identical to `comp_depsA`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
examples/use_component_depsB/CMakeLists.txt → examples/comp_depsC/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR) | ||
project(gz-use_component_depsB VERSION 0.1.0) | ||
project(comp_depsC VERSION 0.1.0) | ||
find_package(gz-cmake4 REQUIRED) | ||
gz_configure_project() | ||
gz_find_package(gz-component_deps REQUIRED COMPONENTS child parent) | ||
gz_find_package(gz-comp_deps REQUIRED COMPONENTS child) | ||
gz_configure_build(QUIT_IF_BUILD_ERRORS) | ||
gz_create_packages() | ||
gz_create_docs() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# comp\_depsC | ||
|
||
This package uses the `child` component of `comp_deps` | ||
but should also find the `parent` component indirectly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
gz_get_libsources_and_unittests(sources gtest_sources) | ||
gz_create_core_library(SOURCES ${sources} CXX_STANDARD 11) | ||
target_link_libraries(${PROJECT_LIBRARY_TARGET_NAME} | ||
PUBLIC | ||
gz-comp_deps::gz-comp_deps-child) | ||
gz_build_tests(TYPE UNIT SOURCES ${gtest_sources}) |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
set(CONFIG_TEST "The package was found using MODULE mode") |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
set(CONFIG_TEST "The package was found using CONFIG mode") |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.