VTK/Better Java Support

From KitwarePublic
< VTK
Revision as of 16:52, 1 January 2014 by Sebastien.jourdain (talk | contribs) (Created page with " Add CMake options to allow proper Java Packaging of the VTK libraries In order to properly build a Java package of the VTK libraries you will need to configure ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
   Add CMake options to allow proper Java Packaging of the VTK libraries
   
   In order to properly build a Java package of the VTK libraries you
   will need to configure CMake with at least he following options:
   
    -DCMAKE_BUILD_TYPE:STRING=Release
    -DVTK_JAVA_INSTALL:BOOL=ON
    -DCMAKE_INSTALL_PREFIX:PATH=/.../install
    -DVTK_WRAP_JAVA:BOOL=ON
   
   Eventually you can customize the following ones for Maven but by
   default they will be filled with a valid local configuration.
   
      -DMAVEN_LOCAL_NATIVE_NAME:STRING=Win32
   
      # By default it will contain only the local setup but can be override
      # for release in order to provide the full set of native artifacts
      -DMAVEN_NATIVE_ARTIFACTS:STRING=Win32;Win64;Linux32;Linux64;OSX
   
      # Path where the local repos should be stored.
      # The listed value is the default one.
      -DMAVEN_LOCAL_REPOSITORY:STRING=${user.home}/vtk-maven-repos
   
      # Group id artifact for the generated VTK
      -DMAVEN_VTK_GROUP_ID:STRING=kitware.community
   
   Then do a "make install"
   
   Once VTK is installed inside the install directory you can rely
   on Maven to deploy/install the generated package.
   For that please read the README.txt file that has been pushed
   to the install directory.