summaryrefslogtreecommitdiffstats
path: root/Source/cmMakeDepend.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Replace foo.size() pattern with !foo.empty().Stephen Kelly2015-01-181-3/+3
|
* Use the cmDeleteAll algorithm instead of trivial raw loops.Stephen Kelly2015-01-131-6/+1
|
* strings: Remove redundant calls to std::string::c_str()Nils Gladitz2014-10-151-4/+4
| | | | | Replacements were detected and performed by the clang tool remove-cstr-calls on a linux build.
* Remove some c_str() calls.Stephen Kelly2014-03-111-4/+4
| | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.
* stringapi: Use strings for search pathsBen Boeckel2014-03-081-1/+1
|
* Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.Clinton Stimpson2014-01-071-1/+2
| | | | | Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames.
* GenEx: Fix reporting about not-found include directories and libraries.Stephen Kelly2012-10-171-4/+15
| | | | | | This fixes a regression introduced in commit 290e92ad (Move GetIncludeDirectories to cmGeneratorTarget, 2012-09-16) which loops over cmGeneratorTargets before they get created, so the container is empty.
* Move GetIncludeDirectories to cmGeneratorTarget.Stephen Kelly2012-09-191-3/+4
|
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-7/+7
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Make search paths ordered and uniqueDavid Cole2012-02-221-1/+14
| | | | | Avoid duplicates. Same as before the introduction of the INCLUDE_DIRECTORIES target property.
* Extract and use the INCLUDE_DIRECTORIES target properties.Stephen Kelly2012-02-221-9/+13
| | | | | | | | | Eliminate callers of cmMakefile::GetIncludeDirectories. All callers of GetIncludeDirectories should go through the local generator object. Only the local generator calls cmTarget::GetIncludeDirectories directly.
* 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: Remove unused code from cmMakeDependBrad King2009-03-161-58/+0
| | | | | | | This class is the old-style dependency scanner. It is needed only to implement the output_required_files command. This change removes some code not needed for that purpose, including a reference to the HEADER_FILE_ONLY property.
* BUG: fix for bug 6136 make sure includes are not directoriesBill Hoffman2007-12-151-4/+4
|
* BUG: some UNIX fixes for my m_ commitKen Martin2006-03-151-4/+4
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-71/+72
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-22/+25
|
* ENH: make LOCATION an computed property of the target and get rid of a bunch ↵Ken Martin2005-06-221-3/+3
| | | | of const junk
* BUG: fix for bug 373 make depend problemBill Hoffman2003-11-121-2/+4
|
* removed duplicate includesKen Martin2003-08-101-1/+0
|
* ENH: performance fixes for network dependsBill Hoffman2003-07-281-7/+31
|
* ENH: Merged use of the kwsys RegularExpression class instead of ↵Brad King2003-06-231-1/+2
| | | | cmRegularExpression.
* Implement GetLineFromStream that actually works and use it instead of getlineAndy Cedilnik2003-03-271-3/+3
|
* BUG: fix bug in dependsBill Hoffman2002-12-101-6/+0
|
* FIX: a / was appended without checking if there wasn't one already.Sebastien Barre2002-11-061-3/+12
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-10/+10
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot ↵Brad King2002-09-101-2/+2
| | | | be compared directly with other pointer types. We use 0 instead.
* modified how source files store propertiesKen Martin2002-08-161-1/+1
|
* removed all source lists from the system and made them vectors. Also ↵Ken Martin2002-06-271-24/+20
| | | | appended _CMAKE_PATH to the end of the automatic cache entries for executables and libraries. Odds of all these changes working are slim but cmake builds and passes all its tests. VTK40 starts building
* now includes current include files directory when searching for files it ↵Ken Martin2002-06-101-8/+24
| | | | includes
* ENH: major change, the cmMakefile now contains a master list of cmSourceFile ↵Bill Hoffman2002-03-291-8/+8
| | | | objects, the source lists reference the list via pointers, also you can now set properties on a file, like compile flags, abstract, etc.
* ENH:Updated copyrightWill Schroeder2002-01-211-30/+6
|
* Now adds dependency if the file doesn't exist but will be created during the ↵Franck Bettinger2001-11-161-4/+41
| | | | compilation
* ENH: cmMakeDepend::GenerateDependInformation will now use hints regardless ↵Brad King2001-11-121-14/+19
| | | | of whether the actual file exists. This can be used to add dependencies to .h files which are generated but included in hand-written .cxx files. If the .cxx does exist, though, it will be used first, and the hints will be used afterward.
* BUG: Changed include and link directory paths in cmMakefile back to ↵Brad King2001-07-301-2/+2
| | | | std::vector because there is an order dependency. Only cmMakefile::AddIncludeDirectory and cmMakefile::AddLinkDirectory should be called to add directories to the paths. They make sure the paths are unique as they are inserted.
* Removed the Uniquification of the include and link directory list in FinalPass,Ian Scott2001-07-301-2/+2
| | | | | and achieved the same effect by makein m_LinkDirectores and m_IncludeDirectories a set rather than vector
* BUG: Need to expand variables in search paths in case it hasn't been done ↵Brad King2001-07-171-1/+3
| | | | yet by the makefile.
* ENH: Hacked together a new implementation of the dependency generator code. ↵Brad King2001-07-171-137/+99
| | | | This should support finding dependencies for individual files without doing them for the entire makefile. Use cmMakeDepend::FindDependencies() to do this.
* ENH: Extended INCLUDE_REGULAR_EXPRESSION to allow selective complaints about ↵Brad King2001-06-211-30/+19
| | | | missing dependencies.
* BUG: Dependency hints must be removed by the makefile generator before ↵Brad King2001-06-121-14/+0
| | | | adding the dependencies generated by cmMakeDepend.
* some cleanup to the make depend processKen Martin2001-06-121-24/+46
|
* ENH: unify make process on unixBill Hoffman2001-05-161-1/+0
|
* ENH:New copyrightWill Schroeder2001-04-271-3/+28
|
* STYLE: Updated comments for name change cmClassFile->cmSourceFileBrad King2001-04-251-7/+7
|
* many fixes and cleanup and featuresKen Martin2001-04-241-16/+22
|
* ERR: We can't assume a vector iterator is a pointer. It must be ↵Brad King2001-04-181-1/+1
| | | | dereferenced to get a reference to the element, and then we can take the address of that to get a pointer. "i" becomes "&*i"
* ENH: Changed m_Indices to an stl set and renamed it to m_IndexSet. Using a ↵Brad King2001-04-161-24/+7
| | | | set results in a significant performance increase and reduction in memory usage.
* major changes to support multiple libraries and source listsKen Martin2001-04-111-18/+20
|
* ENH: Added INCLUDE_REGULAR_EXPRESSION command to set regular expression used ↵Brad King2001-03-151-8/+5
| | | | in dependency checking.
* ENH: Added support for finding dependencies for files that don't exist. ↵Brad King2001-03-081-26/+86
| | | | Dependency recursion begins with hints provided in the cmClassFile for a file if it doesn't exist.