Add imported executable to package
Here is the CMakeLists.txt of my package
find_package(catkin )
catkin_package()
add_executable (my_test main.cpp)
add_executable(my_test_imported IMPORTED)
set_target_properties(my_test_imported PROPERTIES IMPORTED_LOCATION "path")
rosrun packagename mytest
works, but
rosrun packagename mytest_imported
returns with :
[rosrun] Couldn't find executable named mytestimported below ...
How can I add an imported executable to my package ?
Asked by nilot on 2019-02-08 09:10:19 UTC
Comments