...
 
Commits (1)
......@@ -88,6 +88,9 @@ else()
endif ()
find_package(pybind11 @pybind11_VERSION@)
set(smtk_python_FOUND True)
else()
set(smtk_python_FOUND False)
endif()
set(SMTK_PLUGINS @SMTK_PLUGINS@)
......
......@@ -16,7 +16,11 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
......@@ -27,4 +31,5 @@ configure_file(
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -17,22 +17,26 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
install(
FILES
PybindUUIDTypeCaster.h
DESTINATION
include/smtk/${SMTK_VERSION}/smtk/common/pybind11
)
FILES PybindUUIDTypeCaster.h
DESTINATION include/smtk/${SMTK_VERSION}/smtk/common/pybind11
COMPONENT python
)
......@@ -15,15 +15,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -27,15 +27,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -15,15 +15,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -9,4 +9,5 @@ configure_file(
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -9,4 +9,5 @@ configure_file(
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -15,15 +15,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -16,15 +16,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -4,9 +4,10 @@ set(install_path "${SMTK_PYTHON_MODULEDIR}/smtk/extension/vtk")
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -16,15 +16,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -15,15 +15,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -16,7 +16,11 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
......@@ -27,4 +31,5 @@ configure_file(
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -16,15 +16,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -16,21 +16,27 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Install PyOperation header
install(
FILES PyOperation.h
DESTINATION include/smtk/${SMTK_VERSION}/smtk/operation/pybind11
)
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -17,15 +17,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -4,9 +4,10 @@ set(install_path "${SMTK_PYTHON_MODULEDIR}/smtk")
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -17,15 +17,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -31,15 +31,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py.in"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -16,15 +16,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py.in"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -16,15 +16,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py.in"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -34,15 +34,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py.in"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -5,9 +5,10 @@ set(install_path "${SMTK_PYTHON_MODULEDIR}/smtk/${module_path}")
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py.in"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -28,15 +28,20 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/__init__.py.in"
"${build_path}/__init__.py" @ONLY
)
)
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -16,7 +16,11 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
......@@ -27,4 +31,5 @@ configure_file(
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
)
COMPONENT python
)
......@@ -16,7 +16,11 @@ set_target_properties(${library_name}
)
# Install library
install(TARGETS ${library_name} DESTINATION "${install_path}")
install(
TARGETS ${library_name}
DESTINATION "${install_path}"
COMPONENT python
)
# Create and install module __init__.py
configure_file(
......@@ -27,4 +31,5 @@ configure_file(
install(
FILES "${build_path}/__init__.py"
DESTINATION "${install_path}"
COMPONENT python
)