On Friday 17 February 2012, Stephen Kelly wrote: ... > The other issue is regarding setting RPATH for the build step and not the > install step, and what syntax should be used for that. > > The options are: > > a) Change the behaviour of CMAKE_SKIP_RPATH to set the RPATH in the build > dir (does this need a policy) > > b) Add the new variable CMAKE_SKIP_INSTALL_RPATH to skip only the > installation RPATH, but do use it for the build step. (Fits with > existing CMAKE_SKIP_BUILD_RPATH) > > c) Make the existing CMAKE_SKIP_BUILD_RPATH override CMAKE_SKIP_RPATH if > set to false. (This probably would need a policy) > > My choice is b), but I don't know if there are good reasons for the others.
I'm not sure this would help a lot. Some people (distro packagers) disable RPATH by setting CMAKE_SKIP_RPATH to TRUE. CMAKE_SKIP_RPATH is the big switch which overrides all others. So if this is used, we would still have no RPATH in the build tree. Alex -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers