Dear all,
i think i've encountered a bug where the fourth (=SubDirectory) entry of
the CPACK_INSTALL_CMAKE_PROJECTS list is simply ignored.
I stumbled on this as i was trying to use something other than "/" for
that part (Superbuild project with collecting CPack).
I've searched the source code and i think the bug is located at
<CMAKEROOT>\Source\CPack\cmCPackGenerator.cxx:729: (Git Rev
8dfb6f8b372b159c050b6ea5e16b4e44dd9ed095)
726: std::string realInstallDirectory = tempInstallDirectory;
727: if ( !installSubDirectory.empty() && installSubDirectory != "/" )
728: {
729: realInstallDirectory += installSubDirectory;
730: }
The variable "realInstallDirectory" is simply not used anymore within
the entire CMake source after line 729.
I've changed this to "tempInstallDirectory" and the behaviour is as i
expected it - works for me now.
The offending lines of code have been committed in 2006 with
c09c3c6bfadb41bd0b43082642ce76abbf02df06 - i doubt that no one ever
tried to use something other than "/" since then? Or is there something
else i'm missing?
Best,
Daniel
--
Dr. Daniel Wirtz
Dipl. Math. Dipl. Inf.
SRC SimTech
Pfaffenwaldring 5a, D-70569 Stuttgart
+49 (711) 685-60044
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers