Filipe Sousa wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If INSTALL_FILES is superseded by INSTALL, what's the equivalent of
INSTALL_FILES(/include ".*\\.h$") ?
I tried INSTALL(FILES ".*\\.h$" DESTINATION include) but does not work.
Read the rest of the INSTALL_FILES documentation's first paragraph. It
says "The regexp form can be expressed more clearly using the GLOB form
of the FILE command."
Something like this should work:
FILE(GLOB MYHEADERS *.h)
INSTALL(FILES ${MYHEADERS} DESTINATION include)
-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake