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;

set_source_files_properties (${HDF5_F90_BINARY_DIR}/H5_gen.F90
    PROPERTIES OBJECT_DEPENDS "${f90_F_BASE_SRCS}"
)

This works fine on Linux and if we build within Visual Studio. If we build on 
the command line the DEPENDS seems to be ignored.

Environment: Windows 7, Visual Studio 2012, Intel Fortran 15, and CMake 3.1

Allen Byrne
The HDF Group

Attachment: cmakeFtest.tar
Description: Unix tar archive

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to