-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address review comments and update to latest cmake_common_scripts
- Loading branch information
Showing
10 changed files
with
40 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
<license>Apache 2.0</license> | ||
<author email="[email protected]">Jorge Nicho</author> | ||
|
||
<depend>console_bridge</depend> | ||
<depend>libconsole-bridge-dev</depend> | ||
<depend>pluginlib</depend> | ||
<depend>libpcl-all-dev</depend> | ||
<export> | ||
|
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 |
---|---|---|
|
@@ -5,9 +5,8 @@ set_and_check(@PROJECT_NAME@_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include") | |
set_and_check(@PROJECT_NAME@_LIBRARIES "${PACKAGE_PREFIX_DIR}/lib") | ||
|
||
include(CMakeFindDependencyMacro) | ||
find_dependency(cmake_common_scripts) | ||
find_dependency(console_bridge) | ||
find_dependency(PCL 1.9) | ||
find_dependency(VTK 7.1) | ||
find_dependency(PCL) | ||
find_dependency(VTK) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]") |
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,9 +1,12 @@ | ||
find_package(GTest REQUIRED) | ||
|
||
add_executable(${PROJECT_NAME}_unit utest.cpp) | ||
target_link_libraries(${PROJECT_NAME}_unit PRIVATE GTest::GTest GTest::Main ${PROJECT_NAME}) | ||
target_link_libraries(${PROJECT_NAME}_unit PRIVATE GTest::GTest GTest::Main ${PROJECT_NAME} ${PCL_LIBRARIES} ${VTK_LIBRARIES}) | ||
target_clang_tidy(${PROJECT_NAME}_unit) | ||
target_cxx_version(${PROJECT_NAME} PRIVATE VERSION 14) | ||
target_include_what_you_use(${PROJECT_NAME}) | ||
target_cppcheck(${PROJECT_NAME}) | ||
add_code_coverage(${PROJECT_NAME}_unit ALL EXCLUDE ${COVERAGE_EXCLUDE}) | ||
add_gtest_discover_tests(${PROJECT_NAME}_unit) | ||
add_dependencies(${PROJECT_NAME}_unit ${PROJECT_NAME}_unit) | ||
add_dependencies(${PROJECT_NAME}_unit ${PROJECT_NAME}) | ||
add_dependencies(run_tests ${PROJECT_NAME}_unit) |
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