[CMake] Installing: creating a command in a rule.
Rodrigo Madera
rodrigo.madera at gmail.com
Wed Mar 1 03:35:26 EST 2006
Forgive me if this is simple, but I've been in the documentation pages
long enough...
I have a library being built and in the installation I need to copy
the generated library file along with the export of the subversion
working directory.
The library I copied with:
INSTALL_TARGETS("" mylib)
Right after the ADD_LIBRARY source file list.
But now, where do I put the command I want executed in the install rule?
Say the command is 'svn export abc xyz'. Where do I put it?
I though of making an external install_export_things.cmake but I would
really like to keep things organized and keep it in the CMakeLists.txt
file. Anyone?
Thanks,
Rodrigo
More information about the CMake
mailing list