Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Palmer
VTK
Commits
0ae9a6d7
Commit
0ae9a6d7
authored
11 years ago
by
Sebastien Jourdain
Committed by
Code Review
11 years ago
Browse files
Options
Downloads
Plain Diff
Merge topic 'fix-java-windows-install-rules' into master
40e24641
Provide valid dll directory path for Java install rules
parents
d44754cc
40e24641
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Wrapping/Java/CMakeLists.txt
+1
-0
1 addition, 0 deletions
Wrapping/Java/CMakeLists.txt
Wrapping/Java/JavaInstall.cmake.in
+13
-1
13 additions, 1 deletion
Wrapping/Java/JavaInstall.cmake.in
with
14 additions
and
1 deletion
Wrapping/Java/CMakeLists.txt
+
1
−
0
View file @
0ae9a6d7
...
...
@@ -7,6 +7,7 @@ include_directories(${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH2})
option
(
VTK_JAVA_INSTALL
"Use the Java rules to build the native libraries."
OFF
)
if
(
VTK_JAVA_INSTALL
)
set
(
VTK_CUSTOM_LIBRARY_SUFFIX
""
CACHE STRING
""
FORCE
)
mark_as_advanced
(
VTK_CUSTOM_LIBRARY_SUFFIX
)
if
(
APPLE
)
set
(
CMAKE_INSTALL_NAME_DIR @loader_path CACHE STRING
""
FORCE
)
mark_as_advanced
(
CMAKE_INSTALL_NAME_DIR
)
...
...
This diff is collapsed.
Click to expand it.
Wrapping/Java/JavaInstall.cmake.in
+
13
−
1
View file @
0ae9a6d7
...
...
@@ -4,10 +4,22 @@ set(NATIVE_NAME "natives-@MAVEN_LOCAL_NATIVE_NAME@")
message("Package VTK for Java - ${NATIVE_NAME}")
# Create the natives directory
file (COPY "${CMAKE_INSTALL_PREFIX}/@VTK_INSTALL_LIBRARY_DIR@/"
# Only for windows but no harm to do it always
file (COPY "${CMAKE_INSTALL_PREFIX}/bin/"
DESTINATION "${CMAKE_INSTALL_PREFIX}/${NATIVE_NAME}"
FILES_MATCHING
PATTERN *.dll
PATTERN *.jnilib
PATTERN *.cmake
PATTERN *.txt
PATTERN *.in
)
# For Apple and Linux
file (COPY "${CMAKE_INSTALL_PREFIX}/@VTK_INSTALL_LIBRARY_DIR@/"
DESTINATION "${CMAKE_INSTALL_PREFIX}/${NATIVE_NAME}"
FILES_MATCHING
PATTERN *.so
PATTERN *.dylib
PATTERN *.jnilib
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment