[cmake-developers] Fortran module dependencies and preprocessing in CMake 3.3.0-rc3

Brad King brad.king at kitware.com
Mon Jul 6 10:41:19 EDT 2015


On 07/06/2015 09:13 AM, Radovan Bast wrote:
> SOMEDEF is defined at compile time. Attached is a tarball that contains
> the CMakeLists.txt which defines SOMEDEF, a main.F90 and a mymodule.F90
> which contains the module which is not built prior to building main.F90.

Thanks.  I've drafted a fix and a test case:

 Fortran: Fix passing of preprocessor definitions to dependency scanner
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0a203db5

If it passes nightly testing I'll merge it to 'release' for 3.3.

Thanks,
-Brad



More information about the cmake-developers mailing list