Brandon Van Every escreveu:
Too cumbersome? Surely you jest. What's a long-winded list of
patterns in terms of your development time? Two minutes tops?
Oh well... thanks for teaching me another word: jest, and I'm not being
ironic.
Back to business... imagine the following use case: a
Can't you use PATTERN without the EXCLUDE to achieve this?
On 12/28/07, Rodolfo Lima [EMAIL PROTECTED] wrote:
Brandon Van Every escreveu:
Too cumbersome? Surely you jest. What's a long-winded list of
patterns in terms of your development time? Two minutes tops?
Oh well... thanks for
David Cole escreveu:
Can't you use PATTERN without the EXCLUDE to achieve this?
Unfortunately no. Documentation doesn't say anything about it and I've
already tried without success.
Thanks,
rod
___
CMake mailing list
CMake@cmake.org
Just adding to this, I thought I had it figured out also but I can't
do this either. My project is laid out like the following:
Project
CMakeLists.txt
src
lib
test
and I would like to install all the header files from Project/src/
lib/*.h into
On Dec 28, 2007 1:33 PM, Rodolfo Lima [EMAIL PROTECTED] wrote:
Brandon Van Every escreveu:
Too cumbersome? Surely you jest. What's a long-winded list of
patterns in terms of your development time? Two minutes tops?
Oh well... thanks for teaching me another word: jest, and I'm not being
On Dec 28, 2007 2:51 PM, Rodolfo Lima [EMAIL PROTECTED] wrote:
David Cole escreveu:
Can't you use PATTERN without the EXCLUDE to achieve this?
Unfortunately no. Documentation doesn't say anything about it
What version of CMake are you using? CMake 2.4.7 documentation says
plenty about this.
On Dec 28, 2007 4:38 PM, Brandon Van Every [EMAIL PROTECTED] wrote:
On Dec 28, 2007 2:51 PM, Rodolfo Lima [EMAIL PROTECTED] wrote:
David Cole escreveu:
Can't you use PATTERN without the EXCLUDE to achieve this?
Unfortunately no. Documentation doesn't say anything about it
What version
On Dec 28, 2007 4:33 PM, Mike Jackson [EMAIL PROTECTED] wrote:
INSTALL(DIRECTORY src/
DESTINATION include/MXADataModel
REGEX .*\\.h$
)
which I think should work. So what am I doing wrong?
The regex is correct. What happens if you use src instead of src/ ?
Cheers,
Brandon Van Every
On Dec 28, 2007, at 4:51 PM, Brandon Van Every wrote:
On Dec 28, 2007 4:33 PM, Mike Jackson [EMAIL PROTECTED] wrote:
INSTALL(DIRECTORY src/
DESTINATION include/MXADataModel
REGEX .*\\.h$
)
which I think should work. So what am I doing wrong?
The regex is correct. What happens if you
On Dec 28, 2007, at 4:51 PM, Brandon Van Every wrote:
On Dec 28, 2007 4:33 PM, Mike Jackson [EMAIL PROTECTED] wrote:
INSTALL(DIRECTORY src/
DESTINATION include/MXADataModel
REGEX .*\\.h$
)
which I think should work. So what am I doing wrong?
The regex is correct. What happens if you
On Dec 28, 2007 4:55 PM, Mike Jackson [EMAIL PROTECTED] wrote:
I used the following:
INSTALL(DIRECTORY src DESTINATION include/MXADataModel
REGEX .*\\.h$
)
and I get EVERY file located in the src directory, including all
subdirectories. By all files I mean EVERYTHING. CVS files,
Mike Jackson escreveu:
INSTALL(DIRECTORY src/
DESTINATION include/MXADataModel
REGEX .*\\.h$
)
which I think should work. So what am I doing wrong?
I think that the regex must also match the directories that contain the
header files. If a directory doesn't match, its files aren't
Brandon Van Every escreveu:
Do the REGEX and/or REGEX ... EXCLUDE signatures work? If so, then
this is a low priority feature request. A PATTERN spares the
programmer from having to learn how regexes work, but specifying these
kinds of inclusions and exclusions with regexes is trivial.
Brandon Van Every escreveu:
What version of CMake are you using? CMake 2.4.7 documentation says
plenty about this. INCLUDE(DIRECTORY ... PATTERN blah ...) should
work fine without an EXCLUDE
I think you've meant INSTALL(...). Documentation says:
The PATTERN and REGEX options specify a
On Dec 28, 2007 4:54 PM, Rodolfo Lima [EMAIL PROTECTED] wrote:
So, pattern/regex are only used to specify which files you want to
exclude or set permissions.
The docs do not say that. [PERMISSIONS permissions ...] are optional.
Nothing is said about only allowing matching
files to be
15 matches
Mail list logo