[CMake] build executable with custom command?
Jens.M.Hoffmann at bahn.de
Jens.M.Hoffmann at bahn.de
Mon Jun 11 13:31:19 EDT 2007
> Yup. Should work out of the box.
>
> ADD_CUSTOM_COMMAND(
> OUTPUT /full/path/to/myexe
> COMMAND buildserver
> ARGS -o myexe -f myexe.o
> DEPENDS /full/path/to/myexe.o
> COMMENT "Generating exe"
> )
ok, but how do I add myexe to the "all"-target?
regards,
Jens-Michael
---------
Diese E-Mail könnte vertrauliche und/oder rechtlich geschützte
Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die
unbefugte Weitergabe dieser Mail sind nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
----------
More information about the CMake
mailing list