[Cmake] patching executable
Bill Hoffman
bill.hoffman at kitware.com
Wed Jun 26 09:08:04 EDT 2002
I think you want to use the ADD_CUSTOM_COMMAND:
It will be something like this:
ADD_EXECUTABLE(YourExecutable sources...)
ADD_CUSTOM_COMMAND (
COMMAND YourExecutable
ARGS ArgumentsForYourExecutable
TARGET YourExecutable)
-Bill
At 01:00 PM 6/26/2002 +0100, Phil Pritchett wrote:
>Could someone advise me on the best way to use cmake to automatically run an
>executable (also created by cmake) on another executable every time it is
>compiled ? Not sure if I should be creating a second target or not.
>
>Cheers,
>Phil
>
>This e-mail, and any attachment, is confidential. If you have received it in
>error, please delete it from your system, do not use or disclose the
>information in any way, and notify me immediately.
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake
More information about the CMake
mailing list