diff options
author | Brad King <brad.king@kitware.com> | 2020-08-18 14:27:42 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-08-18 14:28:22 (GMT) |
commit | 2f5cb922f39fd514bd3428e949a5666175017f1a (patch) | |
tree | b1ec5f707ac137ce277551fe182a7a839870cbaf /Help | |
parent | 44fac4a34e47702a42d5035ca2a8faef28b78736 (diff) | |
parent | c5407b95f083270108e434704413a727afd17660 (diff) | |
download | CMake-2f5cb922f39fd514bd3428e949a5666175017f1a.zip CMake-2f5cb922f39fd514bd3428e949a5666175017f1a.tar.gz CMake-2f5cb922f39fd514bd3428e949a5666175017f1a.tar.bz2 |
Merge topic 'fotran_module_vs_docs'
c5407b95f0 Help: Expand Fortran_MODULE_DIRECTORY documentation.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5128
Diffstat (limited to 'Help')
-rw-r--r-- | Help/prop_tgt/Fortran_MODULE_DIRECTORY.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/prop_tgt/Fortran_MODULE_DIRECTORY.rst b/Help/prop_tgt/Fortran_MODULE_DIRECTORY.rst index e061863..84029e4 100644 --- a/Help/prop_tgt/Fortran_MODULE_DIRECTORY.rst +++ b/Help/prop_tgt/Fortran_MODULE_DIRECTORY.rst @@ -11,6 +11,14 @@ corresponding to the target's source directory. If the variable :variable:`CMAKE_Fortran_MODULE_DIRECTORY` is set when a target is created its value is used to initialize this property. +When using one of the :ref:`Visual Studio Generators` with the Intel Fortran +plugin installed in Visual Studio, a subdirectory named after the +configuration will be appended to the path where modules are created. +For example, if ``Fortran_MODULE_DIRECTORY`` is set to ``C:/some/path``, +modules will end up in ``C:/some/path/Debug`` (or +``C:/some/path/Release`` etc.) when an Intel Fortran ``.vfproj`` file is +generated, and in ``C:/some/path`` when any other generator is used. + Note that some compilers will automatically search the module output directory for modules USEd during compilation but others will not. If your sources USE modules their location must be specified by |