summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.h
Commit message (Collapse)AuthorAgeFilesLines
* use CM_NULLPTRDaniel Pfeifer2016-06-281-1/+1
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-8/+7
| | | | | | | | | | | | | 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.
* Source: Stabilize include orderBrad King2016-04-291-0/+1
| | | | | Each source file has a logical first include file. Include it in an isolated block so that tools that sort includes do not move them.
* cmSourceFile: Re-arrange data.Stephen Kelly2015-06-071-2/+2
| | | | Size goes from 304 to 296 bytes.
* cmSourceFile: Take a stringBen Boeckel2014-04-291-1/+1
|
* perf: Cache the language property stringBen Boeckel2014-04-291-0/+2
|
* cmSourceFile: Cache the isUiFile checkBen Boeckel2014-04-291-0/+1
| | | | The filename extension call is expensive, so cache the .ui check.
* Remove extra semicolons from C++ code.Stephen Kelly2014-04-031-1/+1
| | | | | Clang based tools running over the code complain about these, but clang has a fixit for removing them.
* Genex: Evaluate TARGET_OBJECTS as a normal expression.Stephen Kelly2014-03-311-0/+4
|
* stringapi: Use strings for the languagesBen Boeckel2014-03-081-2/+2
|
* stringapi: Use strings for TryFullPathBen Boeckel2014-03-081-1/+1
|
* stringapi: Use strings for source namesBen Boeckel2014-03-081-1/+1
|
* stringapi: Use strings for property namesBen Boeckel2014-03-081-5/+6
| | | | Property names are always generated by CMake and should never be NULL.
* Drop builtin property documentationBrad King2013-10-161-3/+0
| | | | | | Drop all DefineProperty calls for non-chained properties. Drop the documentation from the chained ones. The documentation for all properties is now in Help/prop_*/*.rst files.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-1/+1
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Classify known header file extensions as headersBrad King2012-03-281-0/+3
| | | | | | | | | | Commit 328c0f65 (Simplify cmVisualStudio10TargetGenerator source classification, 2012-03-19) introduced the first use of source classification from cmGeneratorTarget (which originated as Makefile generator logic) in a Visual Studio generator for handling of header files. Fix classification of header files to match known header extensions instead of only the HEADER_FILE_ONLY property. Make it consistent with the "Header Files" source group.
* Fix #12342: Add APPEND_STRING option to set_property()Alex Neundorf2011-07-151-1/+1
| | | | | | | | | set_property() has APPEND, which creates a list. E.g. when appending to COMPILE_FLAGS a string is needed, not a list. With the APPEND_STRING option the value is append as string, not as list. Alex
* Report missing source files with context of targetBrad King2010-09-131-2/+2
| | | | | Previously we reported only the CMakeLists.txt file in the directory that adds the target.
* 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: In cmSourceFile::GetLanguage use the file extension (if not ambiguous) ↵Brad King2008-04-291-0/+1
| | | | to determine the language without requiring the source file to exist.
* BUG: Add cmSourceFile::GetPropertyForUser to centralize the LOCATION ↵Brad King2008-01-301-0/+4
| | | | property hack. This fixes the LOCATION property when retrieved via the get_property command.
* ENH: Add AppendProperty methods for use by C++ code in CMake. Simplify ↵Brad King2008-01-171-0/+1
| | | | implementation of SET_PROPERTY command by using them.
* ENH: Added cmSourceFile::GetLocation method to get a read-only reference to ↵Brad King2007-12-171-1/+13
| | | | the Location ivar. This partially addresses issue #6137.
* ENH: Merging changes from branch CMake-SourceFile2-b between tagsBrad King2007-06-181-58/+31
| | | | | | | | | | | | | | | | | | | | | | | | CMake-SourceFile2-bp and CMake-SourceFile2-b-mp1 to trunk. This commit is surrounded by tags CMake-SourceFile2-b-mp1-pre and CMake-SourceFile2-b-mp1-post on the trunk. The changes re-implement cmSourceFile and the use of it to allow instances to be created much earlier. The use of cmSourceFileLocation allows locating a source file referenced by a user to be much simpler and more robust. The two SetName methods are no longer needed so some duplicate code has been removed. The strange "SourceName" stuff is gone. Code that created cmSourceFile instances on the stack and then sent them to cmMakefile::AddSource has been simplified and converted to getting cmSourceFile instances from cmMakefile. The CPluginAPI has preserved the old API through a compatibility interface. Source lists are gone. Targets now get real instances of cmSourceFile right away instead of storing a list of strings until the final pass. TraceVSDependencies has been re-written to avoid the use of SourceName. It is now called TraceDependencies since it is not just for VS. It is now implemented with a helper object which makes the code simpler.
* ENH: Removed unused methods that should never be used anyway.Brad King2007-05-281-3/+0
|
* ENH: Made cmSourceFile::GetDepends return reference to const so dependencies ↵Brad King2007-05-281-1/+1
| | | | can be added only by an access method in cmSourceFile.
* ENH: allow source file properties to chain to Directories and upKen Martin2006-12-131-0/+9
|
* ENH: make properties a bit more formal with documentation and chainingKen Martin2006-12-071-5/+11
|
* STYLE: fix line lengthKen Martin2006-05-121-1/+2
|
* ENH: Added information about target needing a source file when one cannot be ↵Brad King2006-05-051-2/+3
| | | | found.
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-18/+18
|
* ENH: Speedup by storing source name without last extensionAndy Cedilnik2005-04-131-0/+6
|
* BUG: cmSourceFile instances should delete their own custom commands when a ↵Brad King2005-02-181-3/+2
| | | | new one is set.
* removed redundent includesKen Martin2003-08-101-1/+0
|
* yikes added new custom command supportKen Martin2003-06-031-3/+17
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-3/+3
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* modified how source files store propertiesKen Martin2002-08-161-30/+7
|
* performance fixKen Martin2002-06-281-2/+2
|
* minor cleanupKen Martin2002-06-281-2/+1
|
* performance inprovementsKen Martin2002-06-281-0/+1
|
* ENH: add file specific compile flagsBill Hoffman2002-03-041-0/+4
|
* ENH:Updated copyrightWill Schroeder2002-01-211-30/+6
|
* ENH: Source and header file extensions are in variables in cmMakefile.Amitha Perera2001-07-161-5/+7
| | | | AUX_SOURCE_DIRECTORY will only add files that have a "source" extension.
* ENH:New copyrightWill Schroeder2001-04-271-5/+30
|
* many fixes and cleanup and featuresKen Martin2001-04-241-0/+117