I request to reopen the bug/feature request (#13231) --
https://www.cmake.org/Bug/view.php?id=13231nbn=1
Hi,
I'll have a look at it next week when I'll have more time and get back
to you then.
Regards,
Domen
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake
This was asked a few years ago and I doubt that things have changed
since then... http://www.cmake.org/pipermail/cmake/2010-May/036924.html
(http://www.cmake.org/cmake/help/v2.8.10/cmake.html#prop_sf%3aCOMPILE_FLAGS).
An alternative would be to use
2014-12-03 21:22 GMT+01:00 Chris Johnson cxjohn...@gmail.com:
I think I've made it work by adding 1 ugly hack and 1 reasonable directive
to each library's CMakeLists.txt, which is at least far preferable to adding
several new include paths to potentially hundreds of programs which refer to
Hi,
I haven't tested this but I think you could write something like this:
add_library(test_single test.c)
set_property(
TARGET test_single
PROPERTY COMPILE_DEFINITIONS DOUBLE=some_val
)
add_library(test_double test.c)
set_property(
TARGET test_double
PROPERTY COMPILE_DEFINITIONS
because I'm not
certain how to produce two differently named .o files but maybe you'll
be able to figure that out...
Regards,
Domen
2014-11-29 10:31 GMT+01:00 Domen Vrankar domen.vran...@gmail.com:
Hi,
I haven't tested this but I think you could write something like this:
add_library
2014-11-17 21:09 GMT+01:00 Brad King brad.k...@kitware.com:
On 11/17/2014 02:46 PM, Gauthier Lamaison wrote:
I've been trying to make multiple RPMs using components, but it appears
that the component variables such as
CPACK_RPM_componentName_PACKAGE_REQUIRES
are not correctly unset. Worse,
2014-11-17 23:05 GMT+01:00 Domen Vrankar domen.vran...@gmail.com:
2014-11-17 21:09 GMT+01:00 Brad King brad.k...@kitware.com:
On 11/17/2014 02:46 PM, Gauthier Lamaison wrote:
I've been trying to make multiple RPMs using components, but it appears
that the component variables
This should be a good addition, no?
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
index 56d9b66..66717ef 100644
--- a/Modules/CPackRPM.cmake
+++ b/Modules/CPackRPM.cmake
@@ -683,9 +683,7 @@ foreach(_RPM_SPEC_HEADER URL REQUIRES SUGGESTS
PROVIDES OBSOLETES PREFIX
a relative path symlink
if needed.
Please review the patch and post the feedback.
If the patch is OK add it to repository.
Thanks,
Domen
From 0a3098dbeb79c90ac3882b13afa77e6e8ff98d62 Mon Sep 17 00:00:00 2001
From: Domen Vrankar domen.vran...@gmail.com
Date: Sat, 8 Nov 2014 22:01:19 +0100
Subject
2014-10-23 1:57 GMT+02:00 Luc J. Bourhis luc_j_bour...@mac.com:
Am I missing something or there is no equivalent of
CPACK_RPM_PRE_INSTALL_SCRIPT_FILE to specify %preun or %postun?
The variables are missing in documentation but they exist.
For %preun you can set
Hi,
I am trying to convert string to list and back with string(REPLACE) and it
doesn't work as expected (tested with cmake 2.8.12 on Ubuntu 14.04 and main
branch in git on Ubuntu 14.10).
cmake_minimum_required( VERSION 2.8.12 )
project(test_list)
set(str_1 abc.def.ghi)
message(str_1: ${str_1})
Moving the conversation to developers mailing list.
More docs on this for 2.8.12:
http://www.cmake.org/cmake/help/v2.8.12/cpack.html#variable:CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION
I guess that /usr/local may be added to
CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST default list values.
For
I also wrote a test and noticed two things:
1) CPackComponentsForAll test is using component names in lower case and
component parts in variables in upper case (e.g. COMPONENT headers and
CPACK_COMPONENT_HEADERS_DESCRIPTION). Patch uses
CPACK_RPM_PACKAGE_COMPONENT variable as part of
2014-10-21 14:52 GMT+02:00 Brad King brad.k...@kitware.com:
On 10/21/2014 02:18 AM, Domen Vrankar wrote:
Patches must be applied in order:
0001-CPackRPM-component-based-packaging-description-and-s.patch
0001-add-added-semantic-tests-for-rpm-component-descripti.patch
Could someone pleas
I also have a question. Would CPack also need something like
CPACK_COMPONENT_component_PACKAGE_SUMMARY that could be used by
CPACK_RPM_component_PACKAGE_SUMMARY as default value?
Not sure of that one.
We already have CPACK_COMPONENT_GROUP_CMAKE_DESCRIPTION
which may be a default value for
A workaround that you could use is to specify something like
set(CPACK_RPM_bin_USER_FILELIST %config /subdir)
and this will force CPackRPM to treat the symlink as a config file.
What is the meaning of bin in the middle of that variable name?
CPACK_RPM_USER_FILELIST is used for non
Hi,
I was looking at CMake automated tests and did not quite understand how
they are intended to be written.
Do they only test for e.g. if CPack executes without errors or do they
check generated files content (e.g. diff or call for e.g. rpm -qi
some_pkg.rpm and then diff the output)? I'm not
Hi,
I'm assuming that you used something like:
install(CODE
EXECUTE_PROCESS(COMMAND ln -sf ${SOME_PATH}/subdir-version subdir
WORKING_DIRECTORY ${LOCATION_WHERE_CPackRPM_IS_PACKAGING_YOUR_FILES}
)
COMPONENT bin)
in your CMakeLists.txt
Currently CPackRPM doesn't
that could be used by
CPACK_RPM_component_PACKAGE_SUMMARY as default value?
Thanks,
Domen
2014-10-14 0:23 GMT+02:00 Domen Vrankar domen.vran...@gmail.com:
Message was sent to early by accident so I'm resending the rest.
2014-10-14 0:17 GMT+02:00 Domen Vrankar domen.vran...@gmail.com:
Hi,
I
2014-10-14 9:28 GMT+02:00 Eric Noulard eric.noul...@gmail.com:
2014-10-14 9:03 GMT+02:00 Domen Vrankar domen.vran...@gmail.com:
Sorry for spamming...
I noticed that the previous patch would break user provided rpm spec
files so I'm attaching a new patch that fixes that problem with a bit
Hello,
I have been talking with Eric for the past few days now and would also like
to help out with maintaining these two modules.
I am a CMake user for about six years now and have also been using CPackRPM
but for now I haven no experience with CPackDeb.
As suggested by Eric I'll start with
Hi,
I extended the proposed patch for ticket 13176 with:
- documentation section
- CPACK_RPM_component_PACKAGE_DESCRIPTION fallback to
CPACK_COMPONENT_compName_DESCRIPTION
- handling of cases when one component sets its variable and the other
doesn't
Regards,
Domen
--
Powered by
Hi,
I'm trying to use my own exp file for linking of a shared library on AIX.
Currently CMake generates an objects.exp file and I don't know how to
replace it with my own that was used in Makefile files before I switched to
CMake and contains less entries than the generated one.
Is there a way
301 - 323 of 323 matches
Mail list logo