Skip to content

Commit

Permalink
STYLE: consistent use of lib in wrapping macros.
Browse files Browse the repository at this point in the history
  • Loading branch information
kian-weimer authored and hjmjohnson committed Mar 10, 2022
1 parent 9216fac commit a0b379b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Wrapping/Generators/Python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ macro(itk_end_wrap_submodule_python group_name)
# create the swig interface for all the groups in the module
set(interface_file "${WRAPPER_MASTER_INDEX_OUTPUT_DIR}/${base_name}.i")
set(lib ${base_name}Python)
set(python_file "${ITK_PYTHON_PACKAGE_DIR}/${lib}.py")
set(cpp_file "${CMAKE_CURRENT_BINARY_DIR}/${base_name}Python.cpp")
set(python_file "${ITK_PYTHON_PACKAGE_DIR}/${base_name}.py")
set(cpp_file "${CMAKE_CURRENT_BINARY_DIR}/${lib}.cpp")

# create the python customization for that wrap_*.cmake file.
configure_file("${ITK_WRAP_PYTHON_SOURCE_DIR}/module_ext.i.in"
Expand Down
2 changes: 1 addition & 1 deletion Wrapping/TypedefMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ ${DO_NOT_WAIT_FOR_THREADS_DECLS}
set(interface_file "${WRAPPER_MASTER_INDEX_OUTPUT_DIR}/${WRAPPER_LIBRARY_NAME}.i")
set(lib ${WRAPPER_LIBRARY_NAME}Python)
set(python_file "${ITK_PYTHON_PACKAGE_DIR}/${lib}.py")
set(cpp_file "${CMAKE_CURRENT_BINARY_DIR}/${WRAPPER_LIBRARY_NAME}Python.cpp")
set(cpp_file "${CMAKE_CURRENT_BINARY_DIR}/${lib}.cpp")

# if this is for an external library, let the user add extra swig args
if(EXTERNAL_WRAP_ITK_PROJECT)
Expand Down

0 comments on commit a0b379b

Please sign in to comment.