Skip to content

Commit

Permalink
CMake: install files for Python wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
adeguet1 committed Jul 16, 2024
1 parent 8c16267 commit 0f525c0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,18 @@ if (Amp1394_BUILD_SWIG)
${Amp1394_SOURCE_DIR}/python/test_amp1394.py
${LIBRARY_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/
COMMENT "Copying Python files to ${LIBRARY_OUTPUT_PATH}" )

# install library and python file
install (
TARGETS _Amp1394Python
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
COMPONENT Amp1394)
install (
FILES ${CMAKE_CURRENT_BINARY_DIR}/Amp1394Python.py
DESTINATION lib
COMPONENT Amp1394)

endif (Amp1394_BUILD_SWIG)

# Create Amp1394 console library
Expand Down

0 comments on commit 0f525c0

Please sign in to comment.