[CMake] Fortran build dependency on Windows
Brad King
brad.king at kitware.com
Tue Jul 21 13:06:52 EDT 2015
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 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.
-Brad
More information about the CMake
mailing list