summaryrefslogtreecommitdiffstats
path: root/Source/cmCPluginAPI.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Remove some c_str() calls.Stephen Kelly2014-03-111-3/+3
| | | | | | 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.
* cmListFileArgument: Generalize 'Quoted' bool to 'Delimeter' enumBrad King2013-08-081-2/+3
| | | | | | Replace the boolean value that indicates whether an argument is unquoted or quoted with a generalized enumeration of possible argument types. For now "Quoted" and "Unquoted" remain the only types.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-3/+3
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Fix plugin API for gcc 2.9-aix51-020209 (#12233)Daniel R. Gomez2011-05-311-1/+1
| | | | Use proper C function prototype syntax to satisfy this compiler.
* 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.
* BUG: Do not automatically set HEADER_FILE_ONLYBrad King2009-03-161-16/+5
| | | | | | | | | | 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: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* BUG: better setup of properties for loaded commandsKen Martin2007-11-121-2/+4
|
* ENH: add IMPORT keyword to ADD_LIBRARY, dependencies are not yet workingAlexander Neundorf2007-06-221-1/+3
| | | | | | STYLE: fix line lengths and indentation, use enum as argument to AddLibrary() instead of int (which was initialized from a bool in some cases) Alex
* COMP: Work-around warning about static specifier on HP compiler.Brad King2007-06-191-1/+1
|
* ENH: Merging changes from branch CMake-SourceFile2-b between tagsBrad King2007-06-181-45/+282
| | | | | | | | | | | | | | | | | | | | | | | | 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: 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: some more cleanupKen Martin2007-03-131-1/+1
|
* ENH: allow source file properties to chain to Directories and upKen Martin2006-12-131-1/+1
|
* COMP: fix warningKen Martin2006-12-071-1/+2
|
* ENH: make properties a bit more formal with documentation and chainingKen Martin2006-12-071-0/+20
|
* ENH: unify version stuff, get rid of it out of cmake and cmMakefile and only ↵Bill Hoffman2006-11-291-2/+3
| | | | use cmVersion
* ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid ↵Brad King2006-09-281-13/+3
| | | | to have an output from a utility rule and no calls to the method asked for an output anyway. The argument has been removed.
* COMP: Added missing includes. This partially addresses bug#3556.Brad King2006-08-011-0/+6
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-3/+3
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-27/+28
|
* ENH: add working directory supportBill Hoffman2006-02-081-3/+5
|
* ENH: add support for watcom wmake and wcl386Bill Hoffman2006-01-171-52/+52
|
* ENH: Updated implementation of custom commands. Multiple command lines are ↵Brad King2005-02-221-39/+109
| | | | now supported effectively allowing entire scripts to be written. Also removed extra variable expansions and cleaned up passing of commands through to the generators. The command and individual arguments are now kept separate all the way until the generator writes them out. This cleans up alot of escaping issues.
* ENH: Added support for special variables CMAKE_CURRENT_LIST_FILE and ↵Brad King2004-08-041-1/+2
| | | | CMAKE_CURRENT_LIST_LINE that evaluate to the file name and line number in which they appear. This implements the feature request from bug 1012.
* ENH: Styart working on bundles support and abstract WIN32_EXECUTABLEAndy Cedilnik2004-02-281-1/+5
|
* ENH: CleanupsAndy Cedilnik2004-02-221-0/+2
|
* ENH: Fix compatibilityAndy Cedilnik2003-07-231-1/+1
|
* ERR: Fix error on bad C++ compiler that do not handle return voidAndy Cedilnik2003-07-221-1/+1
|
* ENH: Add DisplayStatusAndy Cedilnik2003-07-221-0/+7
|
* yikes added new custom command supportKen Martin2003-06-031-0/+53
|
* ENH: Added return type int to ExecuteCommand.Brad King2002-12-171-3/+3
|
* fixed warningsKen Martin2002-12-131-1/+0
|
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-4/+6
| | | | evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
* added a Free methodKen Martin2002-12-111-0/+13
|
* added another funcKen Martin2002-11-141-0/+9
|
* added another funcKen Martin2002-11-141-0/+7
|
* 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.
* some mods to the plugin APIKen Martin2002-10-081-44/+54
|
* ERR: Fixes for comeau compiler. NULL is a pointer of type void*, and cannot ↵Brad King2002-09-101-1/+1
| | | | be compared directly with other pointer types. We use 0 instead.
* extern C fixesKen Martin2002-08-291-0/+5
|
* changed cache manager and registered generators to no longer be singletonsKen Martin2002-08-281-4/+6
|
* now uses stubsKen Martin2002-08-261-0/+50
|
* compiler warningsKen Martin2002-08-231-2/+2
|
* minor warning fixKen Martin2002-08-221-2/+2
|
* fixed some warningsKen Martin2002-08-221-4/+2
|
* minor bugKen Martin2002-08-211-13/+11
|
* added C Plugin API first cutKen Martin2002-08-211-0/+457