Brad King
52898fe925
BUG: Fix Fortran dependency parser preprocessor handling crash.
...
- Do not crash if a #elseif occurs out of order
- Recognize preprocessor directives only at the beginning of lines.
- See issue #6855
2008-04-21 11:15:56 -04:00
Brad King
aed67d5d93
COMP: Fix build on Borland 5.5.
2008-01-18 18:40:05 -05:00
Brad King
8d1d5500c8
ENH: Enable use of COMPILE_DEFINITIONS property for Fortran sources.
2008-01-17 19:58:01 -05:00
Brad King
564a23c6ba
COMP: Fix build on VS6.
2008-01-10 09:46:04 -05:00
Brad King
b761da39c1
ENH: Patch from Maik to add preprocessor directive handling to Fortran dependency scanning. Also added -fpp flag to Intel Fortran compiler on Windows by default.
2008-01-09 10:30:11 -05:00
Bill Hoffman
4b166fc319
BUG: make it compile on vs 6
2008-01-08 08:25:07 -05:00
Brad King
e73508aa65
ENH: Changes based on patch from Maik for better cmDependsFortran::ModulesDiffer.
2008-01-07 11:36:17 -05:00
Brad King
aa399c2350
ENH: Cleanup Fortran build directories by placing module stamp files in the target directory that builds them. This is actually a simpler implementation anyway.
2008-01-02 18:30:48 -05:00
Brad King
c7de81f9a6
ENH: Make the Fortran compiler id available to cmDependsFortran at scanning and module timestamp copy time.
2008-01-02 11:04:52 -05:00
Brad King
1f987c06ea
ENH: Changes based on patch from Maik Beckmann to copy fortran modules to 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.
2007-12-31 11:25:17 -05:00
Brad King
b2e8c07af8
ENH: Implemented Fortran module output directory and search path flags.
2007-12-30 16:11:38 -05:00
Brad King
cd8a2bbab6
ENH: Simplify Fortran module proxy dependency implementation by removing unnecessary target.
2007-12-30 12:23:54 -05:00
Brad King
edd5f1f5f1
COMP: Fix uninitialized variable and unused parameter warnings.
2007-12-28 22:29:19 -05:00
Brad King
81f6e86f12
ENH: Add per-language clean rule generation to cmake_clean.cmake files to include cmake_clean_<lang>.cmake files generated by dependency scanning. Add Fortran module file and timestamp cleaning rules.
2007-12-28 11:50:14 -05:00
Brad King
68dad94b00
ENH: Implement Fortran module dependencies across targets and directories.
...
- 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
2007-12-28 11:49:59 -05:00
Brad King
4d360f7ac5
ENH: Convert cmDepends object interface to scan an entire target at once.
2007-12-22 22:41:42 -05:00
Brad King
c7bf320539
BUG: cmDependsFortran should store the source file as a dependency of the object file when scanning for dependencies.
2007-12-19 16:35:09 -05:00
Brad King
891256546b
ENH: Pass target directory to cmDependsFortran scanning instances.
2007-12-19 14:28:46 -05:00
Brad King
4143d8a700
ENH: Make module timestamps work for modules in subdirectories. Make sure timestamps for all modules provided by a target are created when the target is done building.
2007-12-15 15:35:00 -05:00
Bill Hoffman
a5e76555bf
BUG: fix for bug 6136 make sure includes are not directories
2007-12-14 20:31:27 -05:00
Bill Hoffman
8eea168c23
STYLE: fix line len
2007-12-05 09:17:07 -05:00
Bill Hoffman
c34b1b48fc
ENH: do not depend on touch being on the system
2007-12-04 16:09:46 -05:00
Brad King
1de1f4bb83
STYLE: Fixed line-too-long.
2007-10-16 10:20:59 -04:00
Brad King
48762a51dd
ENH: When an object file requires a module add the file-level dependency between the object file and the module timestamp file. Create a dummy timestamp file in case nothing in the project actually creates the module. See bug#5809.
2007-10-12 09:51:28 -04:00
Brad King
ea56464864
BUG: Fix in-interface mode. Patch from Maik Beckmann. See bug#5809.
2007-10-10 09:07:10 -04:00
Brad King
394077ac5c
BUG: When requiring a module through a .proxy rule add an empty .proxy rule in case no other source in the target provides it. Since it is not a file-level dependency there does not need to be a rule to create the .proxy as a file. This addresses bug#3984.
2007-10-03 16:19:19 -04:00
Brad King
f8caab4613
BUG: Fix for bug#5809. Applied patch supplied in the bug report. Updated pre-generated lexer and parser sources. This updates the makedepf90 version to 2.8.8. The parser actions have been updated to ignore "use" in comments properly.
2007-10-03 15:41:39 -04:00
Brad King
fb43c64476
BUG: Do not write symbolic make dependencies into depends.internal.
2007-08-29 11:30:53 -04:00
Ken Martin
a5ed047d4b
STYLE: fix line length
2006-05-10 14:54:46 -04:00
Ken Martin
3d96e52261
STYLE: some m_ to this-> cleanup
2006-03-15 11:02:08 -05:00
Andy Cedilnik
f18e7c7ff7
ENH: Improve performance of check build system by creating another file that is simpler to parse and therefore much faster overall
2005-10-12 13:52:29 -04:00
Ken Martin
f85f919dbc
ENH: reduce the number of files produced still needs a bit more cleanup
2005-07-27 09:49:37 -04:00
Andy Cedilnik
0e194cab84
ENH: new fortran depends to match new Unix Gen
2005-05-25 11:19:16 -04:00
Ken Martin
1c95c08ccf
ENH: some updates to the provides requires code
2005-05-16 10:53:02 -04:00
Ken Martin
c85069b290
ENH: some changes to the depends signature to be more flexible
2005-05-11 13:16:45 -04:00
Brad King
e8911705d6
ENH: Added optional verbose output to build system dependency check.
2005-05-06 09:58:58 -04:00
Brad King
e75df695de
BUG: When checking for upper-case modules do not use an upper-case .MOD extension.
2005-03-07 15:19:18 -05:00
Brad King
2444cd3828
ENH: Implementing explicit cmake_copy_f90_mod callback to copy Fortran90 modules to the stamp files more reliably. This removes the temporary hack for per-platform upper-/lower- case.
2005-03-03 16:53:33 -05:00
Brad King
ba6f07b10c
BUG: We need to test the compiler for the case of the mod file names. For now this is a temporary hack to use upper case on SGI and lower case on Sun.
2005-03-02 09:02:36 -05:00
Brad King
2a8adb53ea
BUG: Module file names are case insensitive. Always use lower case no matter the real name of the module.
2005-03-01 13:36:07 -05:00
Brad King
4601c46ad8
STYLE: Added TODO comment for checking dependencies.
2005-02-15 09:02:45 -05:00
Brad King
04e56bf7ff
ENH: Changed over to using C++ for building flex/bison generated files. It reduces the number of changes that need to be made after generation.
2005-02-01 10:42:52 -05:00
Brad King
51750d0552
STYLE: Added another solution proposal for out-of-directory modules.
2005-01-28 12:01:26 -05:00
Brad King
c16aca0643
ENH: Added provides/requires output for modules.
2005-01-28 10:45:00 -05:00
Brad King
f1b52f3f98
COMP: Added constructor to cmDependsFortranFile to avoid using initializer list. Also included assert.h.
2005-01-26 16:09:48 -05:00
Brad King
483534f1a3
ENH: Removed Lexer/Parser prefix before _yy symbols. Just cmDependsFortran_yy is enough.
2005-01-26 15:45:59 -05:00
Brad King
19f977bad7
ENH: Added Fortran dependency scanner implementation.
2005-01-26 15:33:38 -05:00