- 15 Feb, 2019 1 commit
-
-
Albert Astals Cid authored
They are unused, but if someone used them they would lead to problems since they would copy the internal raw pointers and the destructor would cause double delete
-
- 02 Feb, 2019 1 commit
-
-
Sebastian Holtermann authored
Refactors the cmSourceFile::FindFullPath method to use lambdas.
-
- 01 Feb, 2019 2 commits
-
-
Sebastian Holtermann authored
All cmSourceFiles are checked at least once whether they're `GENERATED` or not. This adds a convenience method `GetIsGenerated` that returns a private boolean cache variable `IsGenerated`. `IsGenerated` is updated every time the `GENERATED` property is written.
-
Sebastian Holtermann authored
-
- 02 Jul, 2018 1 commit
-
-
Sebastian Holtermann authored
-
- 10 Jan, 2018 2 commits
-
-
Ben Boeckel authored
Primarily, this includes: - the rule files generated for custom targets; - source files representing custom targets directly; - outputs of custom commands; - byproducts of custom commands; and - dependencies of custom commands.
-
Ben Boeckel authored
The ambiguous extension logic is an old behavior that ends up taking lots of extra compute cycles to execute. This is triggered by various CMake codepaths which pass extension-less paths down when CMake actually knows that they are not ambiguous. These codepaths will be indicated in upcoming changes. Various APIs have gained a cmSourceFileLocationKind parameter, but they are all optional and default to the existing behavior.
-
- 08 Jan, 2018 1 commit
-
-
Robert Maynard authored
-
- 26 Aug, 2017 1 commit
-
-
Daniel Pfeifer authored
Also remove `#include "cmConfigure.h"` from most source files.
-
- 24 Aug, 2017 1 commit
-
-
Daniel Pfeifer authored
-
- 22 Aug, 2017 1 commit
-
-
Sebastian Holtermann authored
-
- 10 Jul, 2017 1 commit
-
-
UfoXp authored
Extend the Resources group regex to match pdf, png, jpeg, jpg, storyboards, and xcassets. This cleans up more complex Xcode projects a lot. While at it, factor the regular expressions for both "Resources" and "Source Files" into macros.
-
- 11 Apr, 2017 1 commit
-
-
Daniel Pfeifer authored
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'
-
- 01 Mar, 2017 1 commit
-
-
Michael Stürmer authored
-
- 27 Sep, 2016 1 commit
-
-
Brad King authored
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.
-
- 03 Sep, 2016 1 commit
-
-
Daniel Pfeifer authored
-
- 28 Jun, 2016 1 commit
-
-
Daniel Pfeifer authored
-
- 16 May, 2016 1 commit
-
-
Kitware Robot authored
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.
-
- 29 Apr, 2016 1 commit
-
-
Brad King authored
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.
-
- 07 Jun, 2015 1 commit
-
-
Stephen Kelly authored
Size goes from 304 to 296 bytes.
-
- 28 Apr, 2014 3 commits
-
-
Ben Boeckel authored
-
Ben Boeckel authored
-
Ben Boeckel authored
The filename extension call is expensive, so cache the .ui check.
-
- 03 Apr, 2014 1 commit
-
-
Stephen Kelly authored
Clang based tools running over the code complain about these, but clang has a fixit for removing them.
-
- 31 Mar, 2014 1 commit
-
-
Stephen Kelly authored
-
- 08 Mar, 2014 4 commits
-
-
Ben Boeckel authored
-
Ben Boeckel authored
-
Ben Boeckel authored
-
Ben Boeckel authored
Property names are always generated by CMake and should never be NULL.
-
- 16 Oct, 2013 1 commit
-
-
Brad King authored
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.
-
- 13 Aug, 2012 1 commit
-
-
Kitware Robot authored
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/ \+$//'
-
- 28 Mar, 2012 1 commit
-
-
Brad King authored
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.
-
- 15 Jul, 2011 1 commit
-
-
Alexander Neundorf authored
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
-
- 13 Sep, 2010 1 commit
-
-
Brad King authored
Previously we reported only the CMakeLists.txt file in the directory that adds the target.
-
- 01 Oct, 2009 1 commit
-
-
Bill Hoffman authored
-
- 28 Sep, 2009 1 commit
-
-
Brad King authored
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.
-
- 29 Apr, 2008 1 commit
-
-
Brad King authored
ENH: In cmSourceFile::GetLanguage use the file extension (if not ambiguous) to determine the language without requiring the source file to exist.
-
- 30 Jan, 2008 1 commit
-
-
Brad King authored
BUG: Add cmSourceFile::GetPropertyForUser to centralize the LOCATION property hack. This fixes the LOCATION property when retrieved via the get_property command.
-
- 17 Jan, 2008 1 commit
-
-
Brad King authored
ENH: Add AppendProperty methods for use by C++ code in CMake. Simplify implementation of SET_PROPERTY command by using them.
-
- 17 Dec, 2007 1 commit
-