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 7d09806 commit 97cdc0dCopy full SHA for 97cdc0d
CMakeLists.txt
@@ -0,0 +1,16 @@
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
+# TODO-TEMPLATE: Update this directory for your library namespace
9
+set(PYTHON_LIB_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/ITS/.../${LIB_NAME}/)
10
11
+add_custom_target(
12
+ COPY_LIB_TO_PYTHON ALL
13
+ COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:${LIB_NAME}> ${PYTHON_LIB_DIR}
14
+ DEPENDS ${LIB_NAME}
15
+ COMMENT "Copying library to Python wrapper directory"
16
+)
0 commit comments