mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-11 05:13:34 +08:00
DSDLC default output directory name was changed to more obvious 'dsdlc_generated'
This commit is contained in:
+1
-1
@@ -15,4 +15,4 @@ __pycache__
|
||||
.pydevproject
|
||||
|
||||
# libuavcan DSDL compiler default output directory
|
||||
dsdlc_output
|
||||
dsdlc_generated
|
||||
|
||||
@@ -29,7 +29,7 @@ add_library(uavcan SHARED ${LIBUAVCAN_CXX_FILES})
|
||||
# DSDSL compiler invocation
|
||||
#
|
||||
set(DSDLC_INPUTS "test/dsdl_test/root_ns_a" "test/dsdl_test/root_ns_b" "${CMAKE_SOURCE_DIR}/../dsdl/uavcan")
|
||||
set(DSDLC_OUTPUT "include/dsdlc_output")
|
||||
set(DSDLC_OUTPUT "include/dsdlc_generated")
|
||||
add_custom_target(dsdlc dsdl_compiler/dsdlc.py -v ${DSDLC_INPUTS} -O${DSDLC_OUTPUT}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
||||
add_dependencies(uavcan dsdlc)
|
||||
|
||||
@@ -191,7 +191,7 @@ def generate_one_type(t):
|
||||
DESCRIPTION = '''UAVCAN DSDL compiler. Takes an input directory that contains an hierarchy of DSDL
|
||||
definitions and converts it into compatible hierarchy of C++ types for libuavcan.'''
|
||||
|
||||
DEFAULT_OUTDIR = './dsdlc_output'
|
||||
DEFAULT_OUTDIR = './dsdlc_generated'
|
||||
|
||||
argparser = argparse.ArgumentParser(description=DESCRIPTION)
|
||||
argparser.add_argument('source_dir', nargs='+', help='source directory with DSDL definitions')
|
||||
|
||||
Reference in New Issue
Block a user