summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.h
Commit message (Collapse)AuthorAgeFilesLines
* Fortran: Fix submodule file names across compilersBrad King2019-02-141-0/+2
| | | | | | | | | The naming convention for submodule files varies across compilers. Add a table to the compiler information modules and thread the information through to the Fortran module dependency parser. Fill out the table for compiler ids known to support Fortran submodules. Fixes: #18746
* Fortran: Thread compiler id through to internal Fortran parserBrad King2019-02-141-0/+2
|
* clang-tidy: Use `= delete`Regina Pfeifer2019-01-291-2/+3
|
* cmDepends: all members accept std::string argumentsVitaly Stakhovsky2019-01-191-6/+9
| | | | | | Most `const char*` arguments converted to `const std::string&` in `cmDepends` and derived classes. In addition performed minor code cleanup.
* clang-tidy: Use default member initializationRegina Pfeifer2018-12-151-1/+1
|
* Various typo fixesLuz Paz2018-01-031-1/+1
| | | | Some are user-facing. Others are source comments.
* Use C++11 override instead of CM_OVERRIDEBrad King2017-09-151-3/+3
| | | | | | | | We now require C++11 support including `override`. Drop use of the old compatibility macro. Convert references as follows: git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' | xargs sed -i 's/CM_OVERRIDE/override/g'
* IWYU: Mark cmConfigure.h with pragma: keepDaniel Pfeifer2017-08-261-1/+1
| | | | Also remove `#include "cmConfigure.h"` from most source files.
* Use CM_DISABLE_COPYDaniel Pfeifer2017-04-241-3/+2
|
* Use quotes for non-system includesDaniel Pfeifer2017-04-111-1/+1
| | | | | | | | | | | | | Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
* cmConfigure: Ensure separate include block in headersDaniel Pfeifer2017-04-111-0/+1
| | | | | | | | | | | Make sure that `#include <cmConfigure.h>` is followed by an empty line in header files. This is necessary to make sure that changing <> to "" does not affect the include ordering of clang-format. Automate with: git grep -l '#include <cmConfigure.h>' | grep -v '.cxx$' \ | xargs sed -i '/#include <cmConfigure.h>/ { N; N; s/\n\{1,2\}/\n\n/ }'
* Fortran: Wrap path convert in a call with a more-suitable nameStephen Kelly2016-10-061-0/+3
|
* Simplify CMake per-source license noticesBrad King2016-09-271-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* fix a load of include-what-you-use violationsDaniel Pfeifer2016-09-031-0/+7
|
* mark functions with CM_OVERRIDEDaniel Pfeifer2016-06-271-7/+6
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-11/+10
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* cmDependsFortran: Use string to store module directoryBrad King2015-07-291-1/+2
|
* cmDependsFortran: Simplify storage of preprocessor definitionsBrad King2015-07-271-1/+1
| | | | | | Collect the original preprocessor definitions in a std::set<> so that it can be copied directly by cmFortranParser's constructor instead of making a copy on the stack.
* cmDependsFortran: Move FindIncludeFile method into parser classBrad King2015-07-271-6/+0
| | | | | This drops the only awareness of cmDependsFortran that cmFortranParser needed.
* Rename Fortran parser infrastructure to drop "Depends" prefixKitware Robot2015-07-271-4/+4
| | | | | | | | | | | The parser can be re-used outside cmDependsFortran or the cmDepends class hierarchy so drop the "Depends" from its name: rename 's/DependsFortran([A-Za-z0-9_])/Fortran$1/' Source/*.* sed -i 's/DependsFortran\([A-Za-z0-9_]\)/Fortran\1/g' Source/*.* sed -i 's/FortranInternals/DependsFortranInternals/g' Source/*.* Also manually fix Source/CMakeLists.txt source file ordering.
* cmDepends: allow multiple dependees per dependerAlex Neundorf2012-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | This patch is heavily inspired by Michael Wild. The interfaces cmDepends::Write and cmDepends::WriteDependencies where extended to allow multiple dependees (sources) per depender (object). cmDepends::Write first collect all dependencies into a std::set before passing it to cmDepends::WriteDependencies. cmDependsC::WriteDependencies also first collects all explicit and implicit dependencies into a std::set and only then writes depend.{internal,make}. The implementation of cmDependsFortran simply loops over all sources and proceeds as before, whereas the cmDependsJava implementation is as trivial as before. This is for preventing exponential growth of depend.{internal,make} in the next commit which fixes dependency-vector erasure in cmDepends::CheckDependencies. Inspired-by: Michael Wild <themiwi@users.sourceforge.net>
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* ENH: Light refactoring of implicit dependency scanning configuration ↵Brad King2008-05-081-4/+1
| | | | | | implementation. - Move lookup of config variables from cmLocalUnixMakefileGenerator3 to cmDepends hierarchy.
* ENH: Patch from Maik to add preprocessor directive handling to Fortran ↵Brad King2008-01-091-1/+3
| | | | dependency scanning. Also added -fpp flag to Intel Fortran compiler on Windows by default.
* ENH: Make the Fortran compiler id available to cmDependsFortran at scanning ↵Brad King2008-01-021-1/+2
| | | | and module timestamp copy time.
* ENH: Changes based on patch from Maik Beckmann to copy fortran modules to ↵Brad King2007-12-311-0/+4
| | | | timestamps only if they have really changed. This optimization should reduce extra rebuilds caused by dependencies on modules whose providers have recompiled but whose interfaces have not changed.
* ENH: Implemented Fortran module output directory and search path flags.Brad King2007-12-301-2/+3
|
* ENH: Implement Fortran module dependencies across targets and directories.Brad King2007-12-281-0/+23
| | | | | | | | | - See issue #5809 - Keep information about all sources in the target until deps are written - Create a fortran.internal file after scanning that lists modules provided - Load fortran.internal files from linked targets to find modules - Search the include path for external modules - Create file-level deps on in-project module timestamps or external mods
* ENH: Convert cmDepends object interface to scan an entire target at once.Brad King2007-12-231-5/+1
|
* ENH: Pass target directory to cmDependsFortran scanning instances.Brad King2007-12-191-3/+7
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-2/+2
|
* ENH: Improve performance of check build system by creating another file that ↵Andy Cedilnik2005-10-121-3/+3
| | | | is simpler to parse and therefore much faster overall
* ENH: reduce the number of files produced still needs a bit more cleanupKen Martin2005-07-271-2/+3
|
* ENH: some changes to the depends signature to be more flexibleKen Martin2005-05-111-3/+2
|
* ENH: Added optional verbose output to build system dependency check.Brad King2005-05-061-1/+1
|
* ENH: Implementing explicit cmake_copy_f90_mod callback to copy Fortran90 ↵Brad King2005-03-031-0/+5
| | | | modules to the stamp files more reliably. This removes the temporary hack for per-platform upper-/lower- case.
* ENH: Added Fortran dependency scanner implementation.Brad King2005-01-261-0/+64