summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalKdevelopGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Replace foo.size() pattern with !foo.empty().Stephen Kelly2015-01-181-1/+1
|
* strings: Remove redundant calls to std::string::c_str()Nils Gladitz2014-10-151-3/+3
| | | | | Replacements were detected and performed by the clang tool remove-cstr-calls on a linux build.
* cmTarget: Make the source files depend on the config.Stephen Kelly2014-04-021-1/+2
| | | | | | | | | | | | | | | | | Disallow the use of config-specific source files with the Visual Studio and Xcode generators. They don't have any way to represent the condition currently. Use the same common-config API in cmQtAutoGenerators. While it accepts config-specific files, it doesn't have to support multiple configurations yet. Loop over the configs in cmTargetTraceDependencies and cmGlobalGenerator::WriteSummary and consume all source files. Loop over the configs in cmComputeTargetDepends and compute the object library dependencies for each config.
* Remove c_str calls when using stream APIs.Stephen Kelly2014-03-111-11/+11
| | | | | Use an ad-hoc clang tool for matching the calls which should be ported.
* Remove some c_str() calls.Stephen Kelly2014-03-111-1/+1
| | | | | | 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 generator namesBen Boeckel2014-03-081-1/+1
|
* cmTarget: Refactor GetLocation APIBrad King2014-03-081-1/+1
| | | | | | | | | When given a non-NULL configuration the GetLocation returned the location for the given configuration. When given a NULL configuration the GetLocation method returned a location with the build-system placeholder for the configuration name. Split the latter use case out into a separate GetLocationForBuild method and update call sites accordingly.
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-3/+3
| | | | | | | | | | | 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.
* cmTarget: Make GetSourceFiles populate an out-vector parameter.Stephen Kelly2014-01-091-1/+2
| | | | | In a future patch, this will also be populated with extra sources from the linked dependencies.
* Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.Clinton Stimpson2014-01-071-2/+3
| | | | | Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames.
* KDevelop: Use GetLocation(0) instead of LOCATION property.Stephen Kelly2013-11-191-1/+1
| | | | This can be migrated to use cmGeneratorTarget later.
* Prefer CMAKE_MAKE_PROGRAM over CMAKE_BUILD_TOOL (#14548)Brad King2013-11-181-1/+1
| | | | | | | | | | | | | Historically these were both added for the Makefile and Visual Studio generators, respectively. Later the VS generators started using the CMAKE_MAKE_PROGRAM cache entry to find the IDE build tool, and the CMAKE_BUILD_TOOL was simply set as an alias. Fix the documentation to explain that CMAKE_MAKE_PROGRAM is the modern variable and that CMAKE_BUILD_TOOL is the compatibility alias, not the other way around. Replace uses of CMAKE_BUILD_TOOL with CMAKE_MAKE_PROGRAM in CMake-provided modules. Nothing needs to lookup CMAKE_BUILD_TOOL in the cache, so simply set it as a normal variable.
* Drop the 'Full' field from cmDocumentationEntryBrad King2013-10-161-10/+0
| | | | | We need only 'Brief' for usage documentation. We no longer have builtin 'Full' documentation, which is now in Help/*/*.rst files.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-35/+35
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Ninja: Eclipse and KDevelop fixes for ninjaPeter Kuemmel2012-06-151-0/+3
| | | | Thx to Claus Klein
* disable cmake's verbose output in the Eclipse and KDevelop generatorsAlexander Neundorf2009-12-231-0/+1
| | | | | | | | | | | | The Eclipse and KDevelop generators set the VERBOSE environment variable to TRUE in the project files, because they must be able to "see" the full command lines and errors, otherwise they can't parse the errors. But the VERBOSE env.var. also enables cmakes own verbose output, which can be quite long. This commit introduces an environment variable CMAKE_NO_VERBOSE, which when set disables cmake's verbose output also when VERBOSE is set. This env.var is now set by both the Eclipse and the KDevelop generators. Alex
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-18/+12
| | | | | | | 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: fix #7477, set VERBOSE=1 in the kdevelop setting for the environment,Alexander Neundorf2008-08-161-2/+4
| | | | | | not together with the make executable Alex
* BUG: fix #7471, only put build directories and CMakeFiles/ in the blacklistAlexander Neundorf2008-08-161-4/+9
| | | | Alex
* COMP: fix warning about unused mfAlexander Neundorf2008-03-271-12/+3
| | | | | | | -"make VERBOSE=1 <target>" should be more portable than "VERBOSE=1 make <target>", since it doesn't rely on the shell, shouldn't it ? Alex
* ENH:Alexander Neundorf2008-03-271-4/+4
| | | | | | | -enable colored output with the kdevelop generator -create non-verbose makefiles and have kdevelop call "VERBOSE=1 make" instead Alex
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-3/+3
| | | | there, also provides secitons for Variables now
* ENH: add support for Fortran to the KDevelop generatorAlexander Neundorf2007-08-311-130/+192
| | | | | | -minor optimization for GetLanguageEnabled() Alex
* COMP: remove unused variableAlexander Neundorf2007-08-271-1/+0
| | | | Alex
* ENH: add all subdirs of the project to the kdevelop blacklist, so kdevelopAlexander Neundorf2007-08-261-2/+40
| | | | | | doesn't watch these dirs for added or remved files everytime it is started Alex
* ENH: also check for .hpp and .cxx filesAlexander Neundorf2007-08-211-2/+2
| | | | Alex
* ENH: enable cvs or svn support if the source has the CVS/.svn subdirsAlexander Neundorf2007-06-101-0/+14
| | | | Alex
* ENH: add cmExternalMakefileProjectGenerator, which should make it easier toAlexander Neundorf2007-06-081-19/+27
| | | | | | | | | write generators for IDE projects, which use already existing makefiles (current the kdevelop generator) -first stept of the export interface, iniitial export() command -more replacements for the FIND_XXX docs Alex
* STYLE: move ForceVerboseMakefiles to cmGlobalUnixMakefileGenerator3, so theAlexander Neundorf2007-06-051-9/+1
| | | | | | kdevelop generator doesn't need its own CreateLocalGenerator() anymore Alex
* STYLE: use bracesAlexander Neundorf2007-05-171-4/+6
| | | | Alex
* BUG: fix for 4186, kdevelop adding file twiceBill Hoffman2007-01-251-2/+4
|
* STYLE: Fixed line-too-long warning.Brad King2006-10-031-2/+3
|
* ENH: Patch from Alex to help with KDevelop code completion in generated ↵Brad King2006-10-021-1/+23
| | | | projects.
* ENH: Patch from Alex to fix current working directory when running ↵Brad King2006-08-291-1/+1
| | | | executables built in KDevelop.
* ENH: fix linelengthKen Martin2006-06-151-2/+4
|
* ENH: centralized locaiton of CMakeFiles settingKen Martin2006-06-141-3/+7
|
* STYLE: fix line lengthKen Martin2006-05-111-46/+61
|
* ENH: Enabling color makefile support using cmsysTerminal_cfprintf. Support ↵Brad King2006-04-271-1/+1
| | | | for color is automatically detected when messages are printed. Also made color scheme more readable on both black and white backgrounds. This option can be enabled by setting CMAKE_COLOR_MAKEFILE to true in the project.
* ENH: fix warningsBill Hoffman2006-04-241-13/+14
|
* ENH: merge in Alex patchesBill Hoffman2006-04-241-5/+14
|
* ENH: Implemented VT100 terminal escape sequences. If CMAKE_COLOR_MAKEFILE ↵Brad King2006-03-301-0/+1
| | | | is set then messages produced by makefiles will be in color if the native tool supports it. This addresses bug#3060.
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-3/+3
|
* ENH: apply patch from Alex to support some more kdevelop stuffBill Hoffman2006-02-181-11/+49
|
* ENH: make LOCATION an computed property of the target and get rid of a bunch ↵Ken Martin2005-06-221-2/+2
| | | | of const junk
* BUG: fix KDev gen to call parent class GenerateKen Martin2005-06-091-1/+1
|
* COMP: fix warningBill Hoffman2005-02-101-2/+1
|
* COMP: fix warningBill Hoffman2005-02-101-2/+1
|
* ENH: move most of the to global generatorBill Hoffman2005-02-101-0/+363
|
* DOC: documentation changeBill Hoffman2004-10-271-6/+6
|
* NEW: add kdevelop patch from Alexander NeundorfBill Hoffman2004-10-111-0/+52