Any comments about this problem? From: cmake-developers on behalf of SAP SAP Date: Tuesday 15 September 2015 09:42 To: "cmake-developers@cmake.org<mailto:cmake-developers@cmake.org>" Subject: [cmake-developers] [CPack][BUG] Fail to package with CPACK_INSTALLED_DIRECTORIES
Hi, To enable to handle various packages as part of the same project and to avoid to execute preinstall target before packaging, I rely on CPack variables CPACK_INSTALLED_DIRECTORIES and CPACK_INSTALL_COMMANDS. Unfortunately, packaging is failing in the following conditions: * Platform Windows (regardless generator: test done with “Visual Studio” and "Ninja”) * Install command with PERMISSIONS read-only (like OWNER_READ) * PROJECT command with LANGUAGES CXX (specifying LANGUAGES NONE is OK !??) In this case, installed read-only files cannot be copied by CPack. Attached is a CMakeLists.txt showing the problem: * Target package-OK generates the expected package (no read-only permissions) * Target package-KO fails to generate the package (same as previous one except read-only permissions) Marc
-- 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