I'm using cmake-2.4.8. On HP-UX, when a binary is relinked, if a library
was also built as part of the build process, the library must be
installed relinked if needed and installed _before_ the binary is
relinked. Why? Because on HP-UX/PA, the RPATH for the library is
embedded with -L. And, if the library is not installed first, the RPATH
of the build directory is embedded.

It seems cmake does the rebuild first and then the install, making the
rebuild meaningless. How do I get cmake to install libs first,
rebuilding if necessary, before rebuilding the binaries? Also, if the
build process creates liba and libb, with libb depending on liba, liba
must be installed before libb is rebuilt/installed.

-- 
albert chin ([email protected])
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to