While to trying to create an RPM package using CPACK, we are encountering an
issue when symbolic links are present. We are using the
CPACK_INSTALLED_DIRECTORIES to specify the directories for packaging. It seems
like CPACK is not in the correct directory when creating the symbolic link.
/buildd
Hi,
A custom target in the CMakeLists.txt to run cpack seems to create a
deadlock. For example the following code hangs after emitting:
CPack: Create package using RPM
CPack: Install projects
CPack: - Install directory: /home/agunturu/projects/rpm/.install/extra
CPack: - Run preinstall target for:
Can someone please share an example using CPACK_INSTALL_COMMAND?
More specifically, I am trying to avoid cpack installing the files using
the "make install". I prefer to use CPACK_INSTALLED_DIRECTORIES to get a
fine grain control. Is there a way to override the default files that CPACK
installs?
COMPRESSION_TYPE STREQUAL "bzip2")
IF(CPACK_RPM_COMPRESSION_TYPE STREQUAL "gzip")
- SET(CPACK_RPM_COMPRESSION_TYPE_TMP "%define _binary_payload w9.gzdio")
+ SET(CPACK_RPM_COMPRESSION_TYPE_TMP "%define _binary_payload
w${CPACK_RPM_COMPRESSION_LEVEL}.gz
Hi,
I understand that CPACK_RPM_COMPRESSION_TYPE can used to change the
compression type. Is it also possible to specify the compression
level? Selecting
a compression type of gzip puts the following line in the spec file:
%define _binary_payload w9.gzdio
But is it possible specific fast compres
Is the CMAKE_BUILD_TYPE case sensitive. I have seen references to both
"Debug" and "DEBUG" in the mailing lists.
Thanks,
-Anil
--
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
Is there a way to use CPack to create RPMs for targets added using
ExternalProject_Add? Specifically these targets are not CMake targets and
use autotools to build (./configure && make).
As an example I am using the following command to add the externalproject:
# add an external project target fo