Logging installed Python files into text files; this partially resolves #26

This commit is contained in:
Pavel Kirienko
2015-06-10 13:59:36 +03:00
parent 1a7a94c24c
commit df34ed9ffe
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -19,3 +19,6 @@ __pycache__
# libuavcan DSDL compiler default output directory
dsdlc_generated
# Log files
*.log
+2 -1
View File
@@ -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
+2 -1
View File
@@ -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