Skip to content

Commit

Permalink
Merge branch 'main' into hidmic/csv-data
Browse files Browse the repository at this point in the history
  • Loading branch information
caguero authored Aug 9, 2022
2 parents 8673ed4 + 02ab673 commit aab2ff3
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
build:
env:
PACKAGE: gz-common5
PACKAGE: gz-common6
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 4 additions & 4 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exports_files(["LICENSE"])

PROJECT_NAME = "gz-common"

PROJECT_MAJOR = 5
PROJECT_MAJOR = 6

PROJECT_MINOR = 0

Expand Down Expand Up @@ -84,9 +84,9 @@ cc_library(
)

cc_binary(
name = "libgz-common5.so",
name = "libgz-common6.so",
includes = ["include"],
linkopts = ["-Wl,-soname,libgz-common5.so"],
linkopts = ["-Wl,-soname,libgz-common6.so"],
linkshared = True,
deps = [":gz_common"],
)
Expand All @@ -99,7 +99,7 @@ test_srcs = glob(
[cc_test(
name = src.replace("/", "_").replace(".cc", "").replace("src_", ""),
srcs = [src],
data = [":libgz-common5.so"],
data = [":libgz-common6.so"],
deps = [
":gz_common",
GZ_ROOT + "gz_bazel:utilities",
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
#============================================================================
# Initialize the project
#============================================================================
project(gz-common5 VERSION 5.0.0)
project(gz-common6 VERSION 6.0.0)
set(GZ_COMMON_VER ${PROJECT_VERSION_MAJOR})

#============================================================================
Expand Down
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
## Gazebo Common 6.x

## Gazebo Common 6.0.0 (20XX-XX-XX)

## Gazebo Common 5.x

## Gazebo Common 5.0.0 (20XX-XX-XX)

## Gazebo Common 4.x
Expand Down
4 changes: 2 additions & 2 deletions av/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ cc_library(
)

cc_binary(
name = "libgz-common5-av.so",
name = "libgz-common6-av.so",
includes = ["include"],
linkopts = ["-Wl,-soname,libgz-common5-av.so"],
linkopts = ["-Wl,-soname,libgz-common6-av.so"],
linkshared = True,
deps = [":av"],
)
Expand Down
4 changes: 2 additions & 2 deletions events/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ cc_library(
)

cc_binary(
name = "libgz-common5-events.so",
name = "libgz-common6-events.so",
includes = ["include"],
linkopts = ["-Wl,-soname,libgz-common5-events.so"],
linkopts = ["-Wl,-soname,libgz-common6-events.so"],
linkshared = True,
deps = [":events"],
)
Expand Down
4 changes: 2 additions & 2 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)

# Find the gz-common library
find_package(gz-common5 QUIET REQUIRED COMPONENTS events profiler)
set(GZ_COMMON_VER ${gz-common5_VERSION_MAJOR})
find_package(gz-common6 QUIET REQUIRED COMPONENTS events profiler)
set(GZ_COMMON_VER ${gz-common6_VERSION_MAJOR})

add_executable(assert_example assert_example.cc)
target_link_libraries(assert_example gz-common${GZ_COMMON_VER}::core)
Expand Down
4 changes: 2 additions & 2 deletions graphics/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ cc_library(
)

cc_binary(
name = "libgz-common5-graphics.so",
name = "libgz-common6-graphics.so",
includes = ["include"],
linkopts = ["-Wl,-soname,libgz-common5-graphics.so"],
linkopts = ["-Wl,-soname,libgz-common6-graphics.so"],
linkshared = True,
deps = [":graphics"],
)
Expand Down
4 changes: 2 additions & 2 deletions profiler/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ cc_library(
)

cc_binary(
name = "libgz-common5-profiler.so",
name = "libgz-common6-profiler.so",
includes = ["include"],
linkopts = ["-Wl,-soname,libgz-common5-profiler.so"],
linkopts = ["-Wl,-soname,libgz-common6-profiler.so"],
linkshared = True,
deps = [":profiler"],
)
Expand Down
8 changes: 4 additions & 4 deletions tutorials/profiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ enabled at compile time in order to function.
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
# Find the gz-common library
find_package(gz-common5 QUIET REQUIRED COMPONENTS profiler)
find_package(gz-common6 QUIET REQUIRED COMPONENTS profiler)
add_executable(profiler_example profiler.cc)
target_link_libraries(profiler_example ignition-common5::profiler)
target_link_libraries(profiler_example ignition-common6::profiler)
# Enable the profiler for the example
target_compile_definitions(profiler_example PUBLIC "GZ_PROFILER_ENABLE=1")
```
Expand Down Expand Up @@ -99,10 +99,10 @@ xdg-open $SOURCE_DIR/gz-common/profiler/src/Remotery/vis/index.html
# Use the installation path (Linux)
# This may vary depending on where you have choosen to install
xdg-open /usr/share/gz/gz-common5/profiler_vis/index.html
xdg-open /usr/share/gz/gz-common6/profiler_vis/index.html
# Use the installation path (macOS)
open /usr/share/gz/gz-common5/profiler_vis/index.html
open /usr/share/gz/gz-common6/profiler_vis/index.html
# Inside a Docker container with port 8000 exposed
# 1. Find your container's IP with `ifconfig`
Expand Down

0 comments on commit aab2ff3

Please sign in to comment.