Lyrical
This commit is contained in:
1 parent
47f11657cb
commit
ab3deb661f
1 file changed
+3
-5
+3
-5
@@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.8)
|
cmake_minimum_required(VERSION 4.2)
|
||||||
project(j7s_simple)
|
project(j7s_simple)
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||||
@@ -16,16 +16,14 @@ target_include_directories(j7s_publisher PUBLIC
|
|||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||||
$<INSTALL_INTERFACE:include>)
|
$<INSTALL_INTERFACE:include>)
|
||||||
target_compile_features(j7s_publisher PUBLIC c_std_99 cxx_std_17)
|
target_compile_features(j7s_publisher PUBLIC c_std_99 cxx_std_17)
|
||||||
target_link_libraries(j7s_publisher fmt::fmt)
|
target_link_libraries(j7s_publisher fmt::fmt rclcpp::rclcpp std_msgs::std_msgs)
|
||||||
ament_target_dependencies(j7s_publisher rclcpp std_msgs)
|
|
||||||
|
|
||||||
add_executable(j7s_parrot src/j7s_parrot.cpp)
|
add_executable(j7s_parrot src/j7s_parrot.cpp)
|
||||||
target_include_directories(j7s_parrot PUBLIC
|
target_include_directories(j7s_parrot PUBLIC
|
||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||||
$<INSTALL_INTERFACE:include>)
|
$<INSTALL_INTERFACE:include>)
|
||||||
target_compile_features(j7s_parrot PUBLIC c_std_99 cxx_std_17)
|
target_compile_features(j7s_parrot PUBLIC c_std_99 cxx_std_17)
|
||||||
target_link_libraries(j7s_parrot fmt::fmt)
|
target_link_libraries(j7s_parrot fmt::fmt rclcpp::rclcpp std_msgs::std_msgs)
|
||||||
ament_target_dependencies(j7s_parrot rclcpp std_msgs)
|
|
||||||
|
|
||||||
install(DIRECTORY
|
install(DIRECTORY
|
||||||
launch
|
launch
|
||||||
|
|||||||
Reference in new issue
Block a user