> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Alexander Neundorf > Sent: 25 March 2008 16:58 > To: [email protected] > Subject: Re: [CMake] Problem added file dependency to a library. > > I'd suggest use add_custom_command(OUTPUT .../ext.obj ... ) for that > and then add the object file to the source files for the library. > > Does that work ? >
Yes that works great. I've had lots of trouble getting add_custom_command(OUTPUT ...) rules working in the past, but this appears to do the trick nicely. Thanks. Joe _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
