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 use "src" instead of "src/" ?


Cheers,
Brandon Van Every


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, headers, sources.. everything.

Mike
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to