Re: [CMake] Fortran build dependency on Windows

2015-07-22 Thread Allen Byrne
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 t

Re: [CMake] Fortran build dependency on Windows

2015-07-21 Thread Allen Byrne
Initial test seems to work, Will wait for the Nightly tests to verify that using custom target works. 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 f

Re: [CMake] Fortran build dependency on Windows

2015-07-21 Thread Brad King
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

Re: [CMake] Fortran build dependency on Windows

2015-07-21 Thread Brad King
On 07/20/2015 05:10 PM, Allen Byrne wrote: > We use the OBJECT_DEPENDS property as follows; > > Environment: Windows 7, Visual Studio 2012, Intel Fortran 15, and CMake 3.1 It looks like OBJECT_DEPENDS is not fully implemented for VS >= 10. I'll look at fixing that. Meanwhile you can work around

[CMake] Fortran build dependency on Windows

2015-07-20 Thread Allen Byrne
We have encountered a problem on Windows, Visual Studio 2012(VS2013) with Intel Fortran 15. We generate a f90 file that must be compiled after another file because of module dependencies. See attached for a small example that demonstrates the issue. We use the OBJECT_DEPENDS property as follows