How to customize the outpath of exe in CMakeLists?
I already tried:
add_executable(HelloWorld src/HelloWorld.cpp)
SET(EXECUTABLE_OUTPUT_PATH /home/me)
and set_target_properties(HelloWorld
PROPERTIES EXECUTABLE_OUTPUT_DIRECTORY /home/me)
they don't work, HelloWorld
still in devel/lib
, how to do this ?
Why do you want to change this? The location is integral to working of the wider ROS system. Do you instead want to use the install section to place the binaries somewhere else when the package is installed?