mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-30 04:00:35 +08:00
Logging installed Python files into text files; this partially resolves #26
This commit is contained in:
@@ -19,3 +19,6 @@ __pycache__
|
||||
|
||||
# libuavcan DSDL compiler default output directory
|
||||
dsdlc_generated
|
||||
|
||||
# Log files
|
||||
*.log
|
||||
|
||||
+2
-1
@@ -21,7 +21,8 @@ install(DIRECTORY dsdl DESTINATION share/uavcan)
|
||||
# pyuavcan
|
||||
#
|
||||
execute_process(COMMAND ./setup.py build WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/pyuavcan)
|
||||
install(CODE "execute_process(COMMAND ./setup.py install WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/pyuavcan)")
|
||||
install(CODE "execute_process(COMMAND ./setup.py install --record installed_files.log
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/pyuavcan)")
|
||||
|
||||
#
|
||||
# libuavcan
|
||||
|
||||
@@ -69,7 +69,8 @@ install(TARGETS uavcan DESTINATION lib)
|
||||
install(DIRECTORY include/uavcan DESTINATION include)
|
||||
install(DIRECTORY include/dsdlc_generated/uavcan DESTINATION include) # Generated and lib's .hpp
|
||||
install(DIRECTORY src DESTINATION src/uavcan)
|
||||
install(CODE "execute_process(COMMAND ./setup.py install WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dsdl_compiler)")
|
||||
install(CODE "execute_process(COMMAND ./setup.py install --record installed_files.log
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dsdl_compiler)")
|
||||
|
||||
#
|
||||
# Tests and static analysis - only for debug builds
|
||||
|
||||
Reference in New Issue
Block a user