Skip to content
Snippets Groups Projects
Commit 4684fca4 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rename dir -> Wrap/Swig

parent 434c0976
No related branches found
No related tags found
No related merge requests found
Showing
with 9 additions and 8 deletions
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
......@@ -3,6 +3,7 @@
# -----------------------------------------------------------------------------
set(WRAP_DIR ${CMAKE_SOURCE_DIR}/Wrap)
set(SWIG_DIR ${WRAP_DIR}/Swig)
set(PY_EXAMPLES_DIR ${CMAKE_SOURCE_DIR}/Examples/Python)
set(TEST_REFERENCE_DIR ${CMAKE_SOURCE_DIR}/Tests/ReferenceData)
......
......@@ -10,14 +10,14 @@ function(SwigLib name lib TMP_DIR)
file(MAKE_DIRECTORY ${TMP_DIR})
GeneratePythonDocs(${AUTO_DIR}/doxygen${name}.i ${WRAP_DIR}/swig)
GeneratePythonDocs(${AUTO_DIR}/doxygen${name}.i ${SWIG_DIR})
set(swig_dependencies
${WRAP_DIR}/swig/lib${lib}.i
${WRAP_DIR}/swig/deprecation.i
${WRAP_DIR}/swig/warnings.i
${WRAP_DIR}/swig/ignoreBase.i
${WRAP_DIR}/swig/ignoreSample.i
${SWIG_DIR}/lib${lib}.i
${SWIG_DIR}/deprecation.i
${SWIG_DIR}/warnings.i
${SWIG_DIR}/ignoreBase.i
${SWIG_DIR}/ignoreSample.i
)
foreach(FNAM ${swig_dependencies})
if(NOT EXISTS ${FNAM})
......@@ -35,7 +35,7 @@ function(SwigLib name lib TMP_DIR)
add_custom_command(
OUTPUT ${AUTO_DIR}/lib${lib}.py
COMMAND ${Python3_EXECUTABLE} ${WRAP_DIR}/swig/tweaks.py
COMMAND ${Python3_EXECUTABLE} ${SWIG_DIR}/tweaks.py
${TMP_DIR}/lib${lib}.py
${AUTO_DIR}/lib${lib}.py
DEPENDS ${TMP_DIR}/lib${lib}.py
......@@ -44,7 +44,7 @@ function(SwigLib name lib TMP_DIR)
OUTPUT ${TMP_DIR}/lib${lib}.py
${AUTO_DIR}/lib${lib}_wrap.h
${AUTO_DIR}/lib${lib}_wrap.cpp
COMMAND ${SWIG_EXECUTABLE} ${SWIG_FLAGS} ${WRAP_DIR}/swig/lib${lib}.i
COMMAND ${SWIG_EXECUTABLE} ${SWIG_FLAGS} ${SWIG_DIR}/lib${lib}.i
DEPENDS ${swig_dependencies} ${include_files}
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment