mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-22 01:30:35 +08:00
Merge pull request #91 from dagar/master
python build only output if there's an error
This commit is contained in:
@@ -31,7 +31,7 @@ endif ()
|
|||||||
# DSDL compiler invocation
|
# DSDL compiler invocation
|
||||||
# Probably output files should be saved into CMake output dir?
|
# Probably output files should be saved into CMake output dir?
|
||||||
#
|
#
|
||||||
execute_process(COMMAND ./setup.py build WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dsdl_compiler)
|
execute_process(COMMAND ./setup.py build WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dsdl_compiler OUTPUT_QUIET)
|
||||||
set(DSDLC_INPUTS "test/dsdl_test/root_ns_a" "test/dsdl_test/root_ns_b" "${CMAKE_CURRENT_SOURCE_DIR}/../dsdl/uavcan")
|
set(DSDLC_INPUTS "test/dsdl_test/root_ns_a" "test/dsdl_test/root_ns_b" "${CMAKE_CURRENT_SOURCE_DIR}/../dsdl/uavcan")
|
||||||
set(DSDLC_OUTPUT "include/dsdlc_generated")
|
set(DSDLC_OUTPUT "include/dsdlc_generated")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user