Am 10.08.2016 um 19:33 schrieb Brad King:
On 08/10/2016 06:15 AM, Sebastian Holtermann wrote:
These patches change the private abstract interface of cmCryptoHash to
return std::vector<unsigned char> instead of std::string.
Conversion to std::string is handled by a static public method.

Nice.  I've added this to the topic, now merged for testing here:

 Merge topic 'autogen-same-name' into next
 https://cmake.org/gitweb?p=cmake.git;a=commit;h=df237068

Thanks!

Now all this topic is missing is an update to the documentation
to explain the behavior w.r.t. duplicate file names versus the
symbol names.


Like this?

-Sebastian

>From c2800c2259a69ceb93f7a28829ab46cfe9b5bc27 Mon Sep 17 00:00:00 2001
From: Sebastian Holtermann <sebh...@xwmw.org>
Date: Mon, 15 Aug 2016 09:07:36 +0200
Subject: [PATCH] AUTORCC documentation extended for same .qrc name case

---
 Help/prop_tgt/AUTORCC.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Help/prop_tgt/AUTORCC.rst b/Help/prop_tgt/AUTORCC.rst
index 8dce6b1..4281fc4 100644
--- a/Help/prop_tgt/AUTORCC.rst
+++ b/Help/prop_tgt/AUTORCC.rst
@@ -19,5 +19,9 @@ Additional command line options for rcc can be set via the
 The global property :prop_gbl:`AUTOGEN_TARGETS_FOLDER` can be used to group
 the autorcc targets together in an IDE, e.g. in MSVS.
 
+When there are multiple ``.qrc`` files with the same name, CMake will generate
+custom unique names for ``rcc``. Therefore if ``Q_INIT_RESOURCE()`` or
+``Q_CLEANUP_RESOURCE()`` need to be used the ``.qrc`` file name must be unique.
+
 See the :manual:`cmake-qt(7)` manual for more information on using CMake
 with Qt.
-- 
2.8.1

-- 

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

Reply via email to