|
Boost Interest : |
From: Miguel A. Figueroa-Villanueva (miguelf_at_[hidden])
Date: 2008-06-30 23:55:52
On Mon, Jun 30, 2008 at 7:04 PM, troy d. straszheim wrote:
> Miguel A. Figueroa-Villanueva wrote:
>>
>> Hello,
>>
>> The following snippet from the Boost-CMake build CMakeLists.txt file
>> is not working for me. Particularly, the REGEX ".svn" is causing the
>> rule to create the ${BOOST_HEADER_DIR}, but doesn't copy all the files
>> and subdirectories. It doesn't report any errors, it is just excluding
>> everything I suppose...
>>
>> install(DIRECTORY boost
>> DESTINATION ${BOOST_HEADER_DIR}
>> COMPONENT Core
>> PATTERN "CVS" EXCLUDE
>> REGEX ".svn" EXCLUDE)
>>
>> The source directory is: c:/cygdir/svncopy/boost-1.35.0/boost
>> The ${BOOST_HEADER_DIR} is:
>> c:/cygdir/syncs/opt/boost-1.35.0/include/boost-1_35
>>
>> If I change the line to the following, then it works as it should.
>>
>> install(DIRECTORY boost
>> DESTINATION ${BOOST_HEADER_DIR}
>> COMPONENT Core
>> PATTERN "CVS" EXCLUDE
>> REGEX "/.svn$" EXCLUDE)
>>
>> Now, from reading the help message, it seems to me that the above
>> should work. Hence, I think there is a bug in CMake itself, but if I'm
>> missinterpreting the command instructions please let me know.
>
> That does look a buggy.
>
> PATTERN ".svn" EXCLUDE
>
> should work here as well, no?
>
> -t
Yes, that works too. Tried it here just to make sure and it worked as expected.
--Miguel