[CMake] dependency problem + POST_BUILD events
Brandon Van Every
bvanevery at gmail.com
Wed Jul 25 17:04:12 EDT 2007
On 7/25/07, Sergei Riaguzov <riaguzov at gmail.com> wrote:
>
> Can this be solved somehow? What I want is my POST_BUILD event zipping my
> DLL be called in case the DLL produced by add_library exists.
You don't want a POST_BUILD event, you want 2 build rules. You want
an ADD_CUSTOM_TARGET that zips up a file, and you want
ADD_DEPENDENCIES on the dll it's going to zip up. Chicken has
extensive examples of how to do this sort of thing, we have .tar .zip
scripts. http://www.call-with-current-continuation.org/
Cheers,
Brandon Van Every
More information about the CMake
mailing list