[cmake-developers] Linking projects with no C or CPP files

Brad King brad.king at kitware.com
Thu Sep 12 16:49:57 EDT 2013


On 09/12/2013 04:45 PM, James Bigler wrote:
> I don't actually add the object file to the build, because VS would
> link in the output of the custom command

That's the exact problem the change I linked fixes.
You should add the object if you want it linked.

-Brad



More information about the cmake-developers mailing list