File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,14 @@ add_executable(hande_driver src/hande_driver.cpp src/application.cpp src/protoco
1616target_link_libraries (hande_driver ${catkin_LIBRARIES} )
1717target_link_libraries (hande_driver /lib/x86_64-linux-gnu/libmodbus.so)
1818
19+ add_executable (communication_test src/communication_test.c)
20+ target_link_libraries (communication_test ${catkin_LIBRARIES} )
21+ target_link_libraries (communication_test /lib/x86_64-linux-gnu/libmodbus.so)
22+
1923target_include_directories (hande_driver PUBLIC
2024 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include >
2125 $<INSTALL_INTERFACE:include >)
22- target_compile_features (hande_driver PUBLIC c_std_99 cxx_std_20 ) # Require C99 and C++17
26+ target_compile_features (hande_driver PUBLIC c_std_99 cxx_std_17 ) # Require C99 and C++17
2327
2428install (TARGETS hande_driver
2529 DESTINATION lib/${PROJECT_NAME} )
You can’t perform that action at this time.
0 commit comments