summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceGroup.h
Commit message (Collapse)AuthorAgeFilesLines
* Modernize memory managementMarc Chevrier2020-02-271-1/+2
| | | | Update internals of various classes
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-1/+2
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* clang-tidy: Pass by valueRegina Pfeifer2019-01-221-1/+1
|
* cmSourceGroup: code improvements; use std::string and C++11 loopsVitaly Stakhovsky2018-01-111-6/+6
| | | | Topic-rename: cmSourceGroup-modern-cxx
* cmSourceGroup: Return strings from GetName and GetFullNameBrad King2017-11-151-2/+2
|
* IWYU: Mark cmConfigure.h with pragma: keepDaniel Pfeifer2017-08-261-1/+1
| | | | Also remove `#include "cmConfigure.h"` from most source files.
* Use C++11 nullptrDaniel Pfeifer2017-08-241-1/+1
|
* Use quotes for non-system includesDaniel Pfeifer2017-04-111-2/+2
| | | | | | | | | | | | | Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
* Simplify CMake per-source license noticesBrad King2016-09-271-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* fix a load of include-what-you-use violationsDaniel Pfeifer2016-09-031-3/+3
|
* make sure to include cmConfigure.h before cmStandardIncludes.hDaniel Pfeifer2016-09-031-0/+2
|
* use CM_NULLPTRDaniel Pfeifer2016-06-281-1/+1
|
* Pass arguments that are not modified as const&.Daniel Pfeifer2016-05-261-1/+1
| | | | | | | Use clang-tidy's performance-unnecessary-value-param checker to find value parameter declarations of expensive to copy types that are not modified inside the function. Ignore findings in kwsys. After applying the fix-its, manually change `const T&` to `T const&`.
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-4/+5
| | | | | | | | | | | | | 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.
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-1/+1
| | | | | | | | | | | 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.
* stringapi: Use strings for source namesBen Boeckel2014-03-081-1/+1
|
* cmSourceGroup: Fix method name capitalization.Stephen Kelly2014-01-221-1/+1
| | | | Adhere to the dominant style.
* cmMakefile: Constify some cmSourceGroup related code.Stephen Kelly2014-01-221-1/+1
|
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-11/+11
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Remove unused cmSourceGroup methodBrad King2012-03-091-1/+0
| | | | The non-const GetSourceFiles method is not needed.
* 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: add group support and fix borland errorBill Hoffman2009-07-111-1/+9
|
* COMP: Fix build with concept checking of STL.Brad King2008-05-161-3/+7
| | | | - Fix cmSourceGroup to not use std::vector with an incomplete type.
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-5/+5
|
* ENH: fix line length style stuffBill Hoffman2006-03-101-1/+2
|
* FIX: apply patch from bug# 1965Bill Hoffman2005-07-131-0/+23
|
* ENH: Fully implemented SOURCE_GROUP command.Brad King2003-07-231-14/+47
|
* ENH: Merged use of the kwsys RegularExpression class instead of ↵Brad King2003-06-231-2/+3
| | | | cmRegularExpression.
* yikes added new custom command supportKen Martin2003-06-031-41/+11
|
* Add comment support, so that you can see in build process what the custom ↵Andy Cedilnik2002-12-101-1/+2
| | | | command does
* 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.
* ENH: add file specific compile flagsBill Hoffman2002-03-041-3/+9
|
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* ENH: separate command from its arguments in the custom command. This allows ↵Bill Hoffman2001-09-041-0/+2
| | | | the generator on windows to change the slashes for just the command
* ENH: change all maps of string to be maps of cmStdString, to reduce symbol ↵Bill Hoffman2001-08-221-2/+2
| | | | length in object files.
* ENH: move testing stuff to cmake from configure, good bye dashboard... :)Bill Hoffman2001-05-041-1/+1
|
* better custom rulesKen Martin2001-05-041-0/+2
|
* BUG: Removed output of dual rules for source files that are processed by ↵Brad King2001-04-271-14/+8
| | | | both the compiler and by a custom command. Also removed generation of duplicate CMakeLists.txt in the project files.
* ENH:New copyrightWill Schroeder2001-04-271-3/+28
|
* ENH: new GUI editor for cmake cache fileBill Hoffman2001-04-231-1/+1
|
* major changes to support multiple libraries and source listsKen Martin2001-04-111-4/+2
|
* ENH: Added SOURCE_GROUP command and corresponding support code. This ↵Brad King2001-03-201-0/+94
command allows CMakeLists files to specify how sources are organized into groups in the generated DSP files and makefiles.