[CMake] include_directories and qt4_wrap_cpp

Michael Wild themiwi at gmail.com
Thu Aug 5 06:18:31 EDT 2010


Ah yes, I always keep forgetting that you have to get the \ past the CMake parser... :-(

Sorry for the noise.

Michael

On 5. Aug, 2010, at 12:07 , David Cole wrote:

> No, he's right. "\\." when used in a CMake string(REGEX operation matches a
> single dot exactly. The "\\" is required to get a single "\" into the
> regular expression engine.
> 
> 
> On Thu, Aug 5, 2010 at 5:39 AM, Michael Wild <themiwi at gmail.com> wrote:
> 
>> 
>> On 5. Aug, 2010, at 11:28 , Dennis Schridde wrote:
>> 
>>> On Monday 02 August 2010 17:20:36 Dennis Schridde wrote:
>>>> Replacing
>>> ".framework" with "\\.framework" works.
>>> Was this change already
>>> commited?
>>> I.e. is the problem solved in the sources now?
>>> 
>>> --Dennis
>> 
>> IMHO this is wrong. \\. searches for a literal backslash. Although it works
>> on your machine, it will break on Mac OS X where Qt is installed as a
>> framework.
>> 
>> Michael
>> 
>> _______________________________________________
>> 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 CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>> 



More information about the CMake mailing list