[CMake] rpath install setting for the VTK examples?
Darren Weber
darren.weber.lists at gmail.com
Tue Apr 28 19:56:52 EDT 2009
For a config that uses
cmake ... \
-D CMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF \
-D CMAKE_SKIP_BUILD_RPATH:BOOL=OFF \
-D CMAKE_INSTALL_RPATH:STRING=${libInstallPath} \
-D VTK_USE_RPATH \
...
This provides a build tree with rpath settings specific to the build path.
At the point of installation, all the installation candidates have their
rpath reset to the INSTALL_RPATH.
Although the examples were built ( -D BUILD_EXAMPLES:BOOL=ON ), they are not
installation candidates - is that right? It appears that all the
executables in ${build.dir}/bin are not in the ${install.dir}/bin/. How do
we get the binary examples into the installation? Are there any extra CMAKE
or VTK variables that can be used on the cmake command line to enable
installation and INSTALL_RPATH for the binary examples?
Is there anything like CMAKE_EXE_INSTALL_RPATH that could apply to the
binary examples for VTK? Likewise, something that would apply to the binary
testing files for VTK?
Take care,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090428/28a1926c/attachment.htm>
More information about the CMake
mailing list