forked from Archive/PX4-Autopilot
Fix catkin/ROS build paths.
This commit is contained in:
parent
53bc357cda
commit
c7eb21be86
|
@ -258,9 +258,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PX4_BINARY_DIR})
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${PX4_BINARY_DIR})
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${PX4_BINARY_DIR})
|
||||
|
||||
# For the catkin build process, unset build of dynamically-linked binaries
|
||||
if (CATKIN_DEVEL_PREFIX)
|
||||
|
|
|
@ -5,8 +5,6 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|||
|
||||
get_property(module_libraries GLOBAL PROPERTY PX4_MODULE_LIBRARIES)
|
||||
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
|
||||
set(PX4_SHELL_COMMAND_PREFIX "px4-")
|
||||
|
||||
add_definitions("-DPX4_SHELL_COMMAND_PREFIX=\"${PX4_SHELL_COMMAND_PREFIX}\"")
|
||||
|
@ -78,7 +76,6 @@ else()
|
|||
${PROJECT_SOURCE_DIR}/posix-configs
|
||||
${PROJECT_SOURCE_DIR}/ROMFS
|
||||
${PROJECT_SOURCE_DIR}/test
|
||||
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
|
||||
DESTINATION
|
||||
${PROJECT_NAME}
|
||||
USE_SOURCE_PERMISSIONS
|
||||
|
@ -117,7 +114,6 @@ elseif ("${PX4_BOARD}" MATCHES "sitl")
|
|||
DIRECTORY
|
||||
${PROJECT_SOURCE_DIR}/integrationtests
|
||||
${PROJECT_SOURCE_DIR}/launch
|
||||
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
|
||||
DESTINATION
|
||||
${PROJECT_NAME}
|
||||
USE_SOURCE_PERMISSIONS
|
||||
|
|
Loading…
Reference in New Issue