summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.cxx
Commit message (Collapse)AuthorAgeFilesLines
* 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: Clarify COMPILE_DEFINITIONS separator in docsBrad King2009-06-241-1/+2
| | | | | The COMPILE_DEFINITIONS properties are semicolon-separated lists. Make this clear in the documentation. See issue #9199.
* ENH: Support preprocessor def values in VS6Brad King2009-03-231-1/+1
| | | | | | | | | The add_definitions() command and COMPILE_DEFINITIONS dir/tgt/src properties support preprocessor definitions with values. Previously values were not supported in the VS6 generator even though the native tool supports them. It is only values with spaces that VS6 does not support. This enables support and instead complains only for values with spaces. See issue #8779.
* BUG: Do not automatically set HEADER_FILE_ONLYBrad King2009-03-161-19/+0
| | | | | | | | | | Long ago the native build system generators needed HEADER_FILE_ONLY to be set on header files to stop them from building. The modern generators correctly handle headers without the help of this property. This removes automatic setting of the property so that it can be used reliably as an indicator of project author intention. It fixes VS IDE project files to show header files normally instead of excluded (broken by the fix for issue #7845).
* ENH: Define target and source property LABELSBrad King2009-02-101-0/+7
| | | | | | This creates a new LABELS property for targets and source files. We write the labels of each target and its source files in target-specific locations in the build tree for future use.
* ENH: Improve docs of OBJECT_DEPENDS propertyBrad King2008-09-221-4/+16
| | | | | Specify exactly what the value of the property should contain and the resulting behavior. Note alternatives for a common out-dated usage.
* ENH: Catch missing source files specified by full path earlier.Brad King2008-05-271-11/+7
| | | | | | - Revert previous change to trust user-provided full paths. - Instead trust them only far enough to determine the source language but still check for existence for non-generated sources.
* ENH: In cmSourceFile::GetLanguage use the file extension (if not ambiguous) ↵Brad King2008-04-291-4/+33
| | | | to determine the language without requiring the source file to exist.
* ENH: Add context information when a source file cannot be found.Brad King2008-04-291-2/+2
|
* BUG: Trust user-provided source file full paths.Brad King2008-04-251-0/+10
|
* ENH: support unset of propertiesKen Martin2008-04-011-4/+0
|
* ENH: Cleanup impl of PUBLIC_HEADER, PRIVATE_HEADER, and RESOURCE propertiesBrad King2008-02-181-7/+12
|
* ENH: Cleanup building of OS X bundle contentBrad King2008-02-151-18/+9
| | | | | | | | | | - Fixes repeated rebuild of bundles by Makefile generators - Add special rules to copy sources to their MACOSX_PACKAGE_LOCATION bundle directory - Remove MacOSX_Content language hack - Remove EXTRA_CONTENT property - Remove MACOSX_CONTENT - Remove corresponding special cases in object names
* BUG: Add cmSourceFile::GetPropertyForUser to centralize the LOCATION ↵Brad King2008-01-301-0/+27
| | | | 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/+10
| | | | implementation of SET_PROPERTY command by using them.
* ENH: Renamed <CONFIG>_COMPILE_DEFINITIONS to COMPILE_DEFINITIONS_<CONFIG> ↵Brad King2008-01-161-5/+5
| | | | for better documentation clarity.
* ENH: Add explicit documentation entry for configuration-specific ↵Brad King2008-01-151-0/+9
| | | | <CONFIG>_COMPILE_DEFINITIONS.
* ENH: Create COMPILE_DEFINITIONS property for targets and source files. ↵Brad King2008-01-141-1/+27
| | | | Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators.
* STYLE: Spelling fixes on documentationAmitha Perera2008-01-101-4/+4
|
* ENH: Added cmSourceFile::GetLocation method to get a read-only reference to ↵Brad King2007-12-171-0/+6
| | | | the Location ivar. This partially addresses issue #6137.
* BUG: Do not force HEADER_FILE_ONLY off if the user has already set it on.Brad King2007-11-191-1/+7
|
* ENH: Added OBJECT_OUTPUTS source file property. Updated PrecompiledHeader ↵Brad King2007-09-131-0/+8
| | | | test to use it (making the test simpler).
* ENH: Merging changes from branch CMake-SourceFile2-b between tagsBrad King2007-06-181-141/+209
| | | | | | | | | | | | | | | | | | | | | | | | 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: allow source file properties to chain to Directories and upKen Martin2006-12-131-2/+20
|
* ENH: make properties a bit more formal with documentation and chainingKen Martin2006-12-071-16/+119
|
* STYLE: fix line lengthKen Martin2006-05-121-2/+2
|
* ENH: Added information about target needing a source file when one cannot be ↵Brad King2006-05-051-12/+17
| | | | found.
* ENH: added some new functionalityKen Martin2006-03-221-0/+7
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-39/+39
|
* STYLE: fix line lengthsBill Hoffman2006-03-101-1/+2
|
* BUG: Fixed support for external object files built by custom commands. Also ↵Brad King2005-11-171-0/+13
| | | | added a test to keep it working.
* BUG: mor emissing convert to unix slashesKen Martin2005-07-071-0/+1
|
* BUG: Do not leave ../ in the full path to a source file. Using ↵Brad King2005-04-271-27/+8
| | | | CollapseFullPath simplifies the code anyway.
* ENH: Speedup by storing source name without last extensionAndy Cedilnik2005-04-131-0/+11
|
* BUG: cmSourceFile instances should delete their own custom commands when a ↵Brad King2005-02-181-0/+9
| | | | new one is set.
* BUG: Fix aus source dir and add better testing of itAndy Cedilnik2004-04-271-7/+9
|
* ENH: When source file is in subdirectory put object file in subdirectory. ↵Andy Cedilnik2004-04-261-8/+14
| | | | Fixes Bug #290 - Source files in subdirectories should produce object files in subdirectories
* ENH: Add support for adding object files and sources. This way you can use ↵Andy Cedilnik2004-04-181-0/+5
| | | | external program such as assembler or fortran to generate object files. Also star of fixing: Bug #757 - add .o file as a source file
* removed duplicate includesKen Martin2003-08-101-1/+0
|
* ENH: add checking for NOTFOUNDBill Hoffman2003-01-311-2/+2
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-12/+12
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* Fix bug in trying to set stding with nullAndy Cedilnik2002-08-271-0/+4
|
* modified how source files store propertiesKen Martin2002-08-161-21/+36
|
* modified create test source to create a vectorKen Martin2002-06-191-1/+0
|
* modified create test source to create a vectorKen Martin2002-06-191-0/+1
|
* ENH: major change, the cmMakefile now contains a master list of cmSourceFile ↵Bill Hoffman2002-03-291-5/+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
|
* BUG: fix generated files with no extension bugBill Hoffman2002-01-211-1/+6
|
* ENH: Classify a file as source or header even when the extension is givenAmitha Perera2001-12-281-2/+6
| | | | explicitly.
* ENH: clean up error report for source files not foundBill Hoffman2001-10-151-5/+3
|