[CMake] ADD_CUSTOM_COMMAND problem with cmake 2.4.3

Brad King brad.king at kitware.com
Thu Oct 5 09:39:08 EDT 2006


Alexander Neundorf wrote:
> -------- Original-Nachricht --------
> Datum: Thu, 5 Oct 2006 09:53:37 +0200
> Von: "Gregor Berginc" <gregor.berginc at gmail.com>
>> What has changed since patch 2 version? Is this a bug or just my bad
>> interpretation of ADD_CUSTOM_COMMAND and cmake variables?
> 
> You need to add the generated file to the list of sources for the target where it's needed. Then it will work.

Alex is right, please ignore my previous response.

-Brad


More information about the CMake mailing list