Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
T.J. Corona
CMB-SuperBuild
Commits
e802dbb8
Commit
e802dbb8
authored
Jun 22, 2015
by
John Tourtellott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update smtk.cmake per changes to SMTK release v1.0.0rc1
* Name of library changed * Location of python module changed
parent
c3277865
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
Projects/install_smtk_python_plugin.cmake
Projects/install_smtk_python_plugin.cmake
+6
-4
No files found.
Projects/install_smtk_python_plugin.cmake
View file @
e802dbb8
include
(
GNUInstallDirs
)
if
(
UNIX
)
#Apple should never happen
set
(
SHARED_LIBRARY_SUFFIX
"so"
)
set
(
PYTHON_SITE
"lib/python2.7/site-packages"
)
...
...
@@ -23,17 +26,16 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${TMP_DIR}/SMTKPlugin
set
(
plugin_install_dir
${
SMTK_BIN_DIR
}
/
${
PYTHON_INSTALL
}
/smtk
)
execute_process
(
COMMAND
${
CMAKE_COMMAND
}
-E make_directory
${
plugin_install_dir
}
)
set
(
py_files_libs
${
SMTK_BIN_DIR
}
/lib/
SMTK
CorePython.
${
SHARED_LIBRARY_SUFFIX
}
set
(
py_files_libs
${
SMTK_BIN_DIR
}
/lib/
smtk
CorePython.
${
SHARED_LIBRARY_SUFFIX
}
${
SMTK_BIN_DIR
}
/
${
LIB_SHIBOKEN_PY
}
${
SMTK_BIN_DIR
}
/
${
PYTHON_SITE
}
/shiboken.
${
SHARED_LIBRARY_SUFFIX
}
${
SMTK_BIN_DIR
}
/python/smtk/simple.py
)
${
SMTK_BIN_DIR
}
/
${
PYTHON_SITE
}
/shiboken.
${
SHARED_LIBRARY_SUFFIX
}
)
foreach
(
lib
${
py_files_libs
}
)
execute_process
(
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
lib
}
${
TMP_DIR
}
/SMTKPlugin
)
endforeach
()
execute_process
(
COMMAND
${
pv_python_executable
}
${
CMAKE_CURRENT_LIST_DIR
}
/remove_code.py
${
SMTK_BIN_DIR
}
/
python
/smtk/__init__.py
${
SMTK_BIN_DIR
}
/
${
CMAKE_INSTALL_LIBEXECDIR
}
/python/site-packages
/smtk/__init__.py
${
TMP_DIR
}
/SMTKPlugin/__init__.py
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment