How to create an executable in the $package/bin directory ?
I tried to use this in my CMakefile :
rosbuild_add_executable(arp_core.arp arp_core_main.c) INSTALL(TARGETS arp_core.arp RUNTIME DESTINATION bin)
but the exe does go into the bin directory, it stays in the root of the package folder.
I also defined theses : set( CMAKE_INSTALL_PREFIX ${${CMAKE_PROJECT_NAME}_SOURCE_DIR}) set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin) set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)