[CMake] Fortran build dependency on Windows

Allen Byrne byrn at hdfgroup.org
Wed Jul 22 10:14:19 EDT 2015


Consider this issue closed - all Nightly tests succeeded.

Thank You very much!

Allen



On Tuesday, July 21, 2015 04:17:39 PM Brad King wrote:
> On 07/21/2015 01:06 PM, Brad King wrote:
> > It looks like OBJECT_DEPENDS is not fully implemented for VS >= 10.
> > I'll look at fixing that.
> 
> It turns out that is because .vcxproj files do not support it.
> The ClCompile task is documented here:
> 
>  https://msdn.microsoft.com/en-us/library/ee862477.aspx
> 
> and it does not support an AdditionalInputs field.  The documentation
> of OBJECT_DEPENDS will have to be updated accordingly.
> 
> > Meanwhile you can work around the problem by moving generation of
> > the source file to a custom target and then use add_dependencies to
> > make sure that is built before the target that compiles the source.
> 
> Please let me know if this works for you or if you find another
> workaround.
> 
> Thanks,
> -Brad



More information about the CMake mailing list