[CMake] call already made makefile
SK
sk at metrokings.com
Sat Nov 6 11:23:14 EDT 2010
On Sat, Nov 6, 2010 at 2:30 AM, Michael Hertling <mhertling at online.de> wrote:
> If you want to ensure that an output-producing custom command without
> dependencies runs each time its output - present or not - is referred
> to you might use a second, say, dummy output which never exists, e.g.:
>
> ADD_CUSTOM_COMMAND(
> OUTPUT <xyz build directory>/libxyz.so dummy
> COMMAND make
> WORKING_DIRECTORY <xyz build directory>
> )
>
Yes, this solution works, as also suggested by David.
More information about the CMake
mailing list