-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Louise Poubel <[email protected]>
- Loading branch information
Showing
15 changed files
with
76 additions
and
76 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
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
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
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,22 +1,22 @@ | ||
cmake_minimum_required(VERSION 2.8 FATAL_ERROR) | ||
|
||
# Find the ignition-common library | ||
find_package(ignition-common5 QUIET REQUIRED COMPONENTS events profiler) | ||
set(IGN_COMMON_VER ${ignition-common5_VERSION_MAJOR}) | ||
# Find the gz-common library | ||
find_package(gz-common5 QUIET REQUIRED COMPONENTS events profiler) | ||
set(GZ_COMMON_VER ${gz-common5_VERSION_MAJOR}) | ||
|
||
add_executable(assert_example assert_example.cc) | ||
target_link_libraries(assert_example ignition-common${IGN_COMMON_VER}::core) | ||
target_link_libraries(assert_example gz-common${GZ_COMMON_VER}::core) | ||
|
||
add_executable(console_example console.cc) | ||
target_link_libraries(console_example ignition-common${IGN_COMMON_VER}::core) | ||
target_link_libraries(console_example gz-common${GZ_COMMON_VER}::core) | ||
|
||
add_executable(events_example events.cc) | ||
target_link_libraries(events_example ignition-common${IGN_COMMON_VER}::events) | ||
target_link_libraries(events_example gz-common${GZ_COMMON_VER}::events) | ||
|
||
add_executable(profiler_example profiler.cc) | ||
target_link_libraries(profiler_example ignition-common${IGN_COMMON_VER}::profiler) | ||
target_link_libraries(profiler_example gz-common${GZ_COMMON_VER}::profiler) | ||
target_compile_definitions(profiler_example PUBLIC "GZ_PROFILER_ENABLE=1") | ||
|
||
add_executable(logging_performance logging_performance.cc) | ||
target_link_libraries(logging_performance ignition-common${IGN_COMMON_VER}::core) | ||
target_link_libraries(logging_performance gz-common${GZ_COMMON_VER}::core) | ||
|
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
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
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
Oops, something went wrong.