summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsC.h
Commit message (Collapse)AuthorAgeFilesLines
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-8/+8
| | | | | | | | | | | Casts from std::string -> cmStdString were high on the list of things taking up time. Avoid such implicit casts across function calls by just using std::string everywhere. The comment that the symbol name is too long is no longer relevant since modern debuggers alias the templates anyways and the size is a non-issue since the underlying methods are generated since it's inherited.
* stringapi: Use strings for the languagesBen Boeckel2014-03-081-1/+2
|
* cmDepends: allow multiple dependees per dependerAlex Neundorf2012-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | | 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>
* cmDependsC: remove unused member variableAlex Neundorf2012-09-301-3/+0
| | | | Alex
* 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.
* Major optimization of C/C++ dependency scanning.Alexander Neundorf2009-09-231-1/+3
| | | | | | | | | | | | | | Now only the dependencies for the file where the dependencies actually may have changed are rescanned, before that this was done for all source files even if only one source file had changed. This reduces e.g. on my machine the time for scanning the dependencies of kdelibs/khtml/ when only one file (khtml_global.cpp) has changed from around 7.5 seconds to 1.2 seconds. The tests succeed, it does what I expected it to do on kdelibs, and Brad also reviewed the patch, so I think it should be ok. Alex
* ENH: Teach cmDependsC about user-configured macro transformations.Brad King2008-05-141-0/+9
| | | | | | - Syntax is SOME_MACRO(%)=value-with-% - Later we will configure these with target and directory properties. - See issue #6648.
* ENH: Light refactoring of implicit dependency scanning configuration ↵Brad King2008-05-081-9/+4
| | | | | | implementation. - Move lookup of config variables from cmLocalUnixMakefileGenerator3 to cmDepends hierarchy.
* BUG: Patch from Alex to recompute dependencies when the include regex ↵Brad King2007-02-051-0/+3
| | | | changes. This addresses bug#4168.
* ENH: Patch from Alex to speed dependency scanning approximately 2x.Brad King2006-09-131-1/+2
|
* ENH: Make sure all custom command outputs are up to date before scanning ↵Brad King2006-08-311-11/+0
| | | | dependencies. This avoids the need to pass a list of generated files to the dependency scanning code and to rescan after the files have been generated. Currently there is no notion of implicit dependencies of the custom commands themselves so this design is safe. We only need to make sure implicit dependencies are up to date before the make process for the /build part of a target is executed because only this process loads them. This is a step towards fixing bug#3658.
* ENH: a warning fix and some more cleanupKen Martin2006-03-161-1/+1
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-13/+13
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-4/+6
|
* BUG: Fix for scanning generated headers included with double-quotes. Also ↵Brad King2006-01-051-0/+3
| | | | fixed double-quote include support to not use the special quoted location when a full path is given on the include line.
* ENH: try to fix hp build problemBill Hoffman2005-12-101-1/+1
|
* ENH: fix compile errorAndy Cedilnik2005-12-091-2/+2
|
* ENH: clean up style a bitBill Hoffman2005-12-091-3/+3
|
* PERF: apply patch for bug 2575 speeds up depend scanningBill Hoffman2005-12-091-2/+16
|
* ENH: Improve performance of check build system by creating another file that ↵Andy Cedilnik2005-10-121-7/+6
| | | | is simpler to parse and therefore much faster overall
* ENH: Adding support for automatically adding the OBJECT_DEPENDS for ↵Brad King2005-08-171-2/+11
| | | | generated header files.
* ENH: reduce the number of files produced still needs a bit more cleanupKen Martin2005-07-271-14/+5
|
* ENH: some changes to the depends signature to be more flexibleKen Martin2005-05-111-4/+5
|
* BUG: Re-implemented dependency line parsing to deal with quoted paths and ↵Brad King2005-05-101-0/+5
| | | | escaped spaces.
* ENH: Added optional verbose output to build system dependency check.Brad King2005-05-061-1/+1
|
* BUG: Fixed scanning to account for double-quote includes.Brad King2005-03-031-2/+7
|
* ENH: Implemented support for include/complain regular expressions for ↵Brad King2005-02-071-3/+9
| | | | dependency scanning. This now includes the possibility that scanning will return failure and the build will stop.
* ENH: Split dependency scanning and checking into separate cmDepends ↵Brad King2005-01-181-0/+70
superclass with language-specific subclasses such as cmDependsC.