diff --git a/CMakeLists.txt b/CMakeLists.txt index 41c2bdc..efbb57f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR) #============================================================================ # Initialize the project #============================================================================ -project(gz-plugin3 VERSION 3.0.0) +project(gz-plugin4 VERSION 4.0.0) #============================================================================ # Find gz-cmake @@ -17,7 +17,7 @@ set(GZ_CMAKE_VER ${gz-cmake4_VERSION_MAJOR}) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) -gz_configure_project() +gz_configure_project(VERSION_SUFFIX pre1) #============================================================================ # Set project-specific options diff --git a/Changelog.md b/Changelog.md index df31a14..8a90ea7 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,7 @@ +## Gazebo Plugin 4.x + +### Gazebo Plugin 4.0.0 (20XX-XX-XX) + ## Gazebo Plugin 3.x ### Gazebo Plugin 3.0.0 (2024-08-27) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index dc5050a..5527c68 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR) project(examples) -find_package(gz-plugin3 QUIET REQUIRED COMPONENTS all) -set(GZ_PLUGIN_VER ${gz-plugin3_VERSION_MAJOR}) +find_package(gz-plugin4 QUIET REQUIRED COMPONENTS all) +set(GZ_PLUGIN_VER ${gz-plugin4_VERSION_MAJOR}) find_package(gz-common6 QUIET) set(GZ_COMMON_VER ${gz-common6_VERSION_MAJOR}) diff --git a/loader/conf/CMakeLists.txt b/loader/conf/CMakeLists.txt index 36b24d4..b6b0e6e 100644 --- a/loader/conf/CMakeLists.txt +++ b/loader/conf/CMakeLists.txt @@ -3,7 +3,7 @@ set(gz_library_path "${CMAKE_BINARY_DIR}/test/lib/$/ruby/gz/cmd${GZ_DESI # Generate a configuration file for internal testing. # Note that the major version of the library is included in the name. -# Ex: plugin3.yaml +# Ex: plugin4.yaml configure_file( "${GZ_DESIGNATION}.yaml.in" "${CMAKE_CURRENT_BINARY_DIR}/${GZ_DESIGNATION}${PROJECT_VERSION_MAJOR}.yaml.configured" @ONLY) @@ -17,7 +17,7 @@ set(gz_library_path "${CMAKE_INSTALL_PREFIX}/lib/ruby/gz/cmd${GZ_DESIGNATION}${P # Generate the configuration file that is installed. # Note that the major version of the library is included in the name. -# Ex: plugin3.yaml +# Ex: plugin4.yaml configure_file( "${GZ_DESIGNATION}.yaml.in" "${CMAKE_CURRENT_BINARY_DIR}/${GZ_DESIGNATION}${PROJECT_VERSION_MAJOR}.yaml" @ONLY) diff --git a/loader/src/cmd/CMakeLists.txt b/loader/src/cmd/CMakeLists.txt index f2e6524..c4a1484 100644 --- a/loader/src/cmd/CMakeLists.txt +++ b/loader/src/cmd/CMakeLists.txt @@ -24,7 +24,7 @@ install( #=============================================================================== # Generate the ruby script for internal testing. # Note that the major version of the library is included in the name. -# Ex: cmdplugin3.rb +# Ex: cmdplugin4.rb set(cmd_script_generated_test "${CMAKE_BINARY_DIR}/test/lib/$/ruby/gz/cmd${GZ_DESIGNATION}${PROJECT_VERSION_MAJOR}.rb") set(cmd_script_configured_test "${CMAKE_CURRENT_BINARY_DIR}/test_cmd${GZ_DESIGNATION}${PROJECT_VERSION_MAJOR}.rb.configured") @@ -46,7 +46,7 @@ file(GENERATE # Used for the installed version. # Generate the ruby script that gets installed. # Note that the major version of the library is included in the name. -# Ex: cmdplugin3.rb +# Ex: cmdplugin4.rb set(cmd_script_generated "${CMAKE_CURRENT_BINARY_DIR}/$/cmd${GZ_DESIGNATION}${PROJECT_VERSION_MAJOR}.rb") set(cmd_script_configured "${CMAKE_CURRENT_BINARY_DIR}/cmd${GZ_DESIGNATION}${PROJECT_VERSION_MAJOR}.rb.configured") diff --git a/package.xml b/package.xml index fcd110c..707cf5f 100644 --- a/package.xml +++ b/package.xml @@ -1,8 +1,8 @@ - gz-plugin3 - 3.0.0 + gz-plugin4 + 4.0.0 Gazebo Plugin : Cross-platform C++ library for dynamically loading plugins. Alejandro Hernández Cordero Apache License 2.0 diff --git a/tutorials/02_installation.md b/tutorials/02_installation.md index 16b17f7..b937db1 100644 --- a/tutorials/02_installation.md +++ b/tutorials/02_installation.md @@ -35,7 +35,7 @@ wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - On Ubuntu systems, `apt-get` can be used to install `gz-plugin`: ```bash sudo apt-get update -sudo apt install libgz-plugin3-dev +sudo apt install libgz-plugin4-dev ``` ## Source Installation @@ -91,7 +91,7 @@ Sierra (10.12) or later. 2. Run the following commands ```bash brew tap osrf/simulation - brew install gz-plugin3 + brew install gz-plugin4 ``` ## Source Installation @@ -99,7 +99,7 @@ Sierra (10.12) or later. 1. Install dependencies ```bash brew tap osrf/simulation - brew install gz-plugin3 --only-dependencies + brew install gz-plugin4 --only-dependencies ``` 2. Clone the repository