We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9efbfde commit 87fa87aCopy full SHA for 87fa87a
CMakeLists.txt
@@ -0,0 +1,15 @@
1
+###########################################
2
+## COPY COMPILED LIBRARY INTO WRAPPER
3
4
+# This file is expected to be called from a higher-level
5
+# CMakeLists.txt when compiling the C++ library.
6
+
7
+# Where to place compiled library for Python wrapper
8
+set(PYTHON_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/ITS/ITU/PSeries/${LIB_NAME}/)
9
10
+add_custom_target(
11
+ COPY_LIB_TO_PYTHON ALL
12
+ COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:${LIB_NAME}> ${PYTHON_LIB_DIR}
13
+ DEPENDS ${LIB_NAME}
14
+ COMMENT "Copying library to Python wrapper directory"
15
+)
0 commit comments