Stephen Kelly
5f66900e71
cmGlobalGenerator: Port Find API to cmMakefile.
2015-08-07 04:10:29 +02:00
Stephen Kelly
52b9d828ab
cmMakefile: Move CMP0059 handling to command code.
...
Don't pay a penalty for it in all GetProperty calls.
Additionally, the storage of properties will eventually move to
cmState, which should only contain state and not logic for policies
like this.
2015-06-08 22:23:44 +02:00
Stephen Kelly
fe603c7dfb
cmGetDirectoryPropertyCommand: Move variable to the point of use.
2015-06-08 22:18:42 +02:00
Stephen Kelly
8fc53c3ce8
cmGetDirectoryPropertyCommand: Extract StoreResult method.
2015-06-08 22:18:40 +02:00
Stephen Kelly
3ac4b90bfd
cmPropertyMap: Require a non-empty name parameter.
...
The cmGetPropertyCommand already checks for this.
2015-06-07 09:29:30 +02:00
Stephen Kelly
a0836ed978
Port to cmMakefile::GetGlobalGenerator.
2015-05-03 11:42:00 +02:00
Stephen Kelly
32b8f03acc
cmMakefile: Port users of GetStart* methods to new names.
2015-04-21 00:15:20 +02:00
Nils Gladitz
cc1139cc30
strings: Remove redundant calls to std::string::c_str()
...
Replacements were detected and performed by the clang tool
remove-cstr-calls on a linux build.
2014-10-15 14:54:05 +02:00
Stephen Kelly
21c573f682
Remove some c_str() calls.
...
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.
2014-03-11 15:03:50 +01:00
Kitware Robot
7bbaa4283d
Remove trailing whitespace from most CMake and C/C++ code
...
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/ \+$//'
2012-08-13 14:18:39 -04:00
Brad King
96afb12087
Convert CMake to OSI-approved BSD License
...
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.
2009-09-28 11:43:28 -04:00
Ken Martin
0e69d38004
ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class
2008-01-23 10:28:26 -05:00
Ken Martin
36eb538843
BUG: fix screwup in GetDirectoryProp...
2007-07-12 10:17:37 -04:00
Ken Martin
8c641677e9
ENH: some cleanup of get property commands
2007-07-10 13:52:41 -04:00
Brad King
30235517f8
BUG: Need to collapse path argument to get_directory_property. This addresses bug#3847.
2006-10-16 15:18:03 -04:00
Ken Martin
71b993560b
STYLE: fix line length
2006-05-10 15:56:00 -04:00
Ken Martin
3d96e52261
STYLE: some m_ to this-> cleanup
2006-03-15 11:02:08 -05:00
Ken Martin
2a45d5cd68
ENH: added DIRECTORY option to GET_DIRECTORY_PROPERTIES
2005-09-13 10:39:42 -04:00
Ken Martin
d5814719d6
ENH: added patch from Alexander Neundorf to get DEFINITIONS
2005-07-01 10:23:16 -04:00
Bill Hoffman
ab7d51581c
ENH: get directory property should return an empty variable if it is not set, not just have an error
2005-04-04 16:43:44 -04:00
Andy Cedilnik
3031467e33
ENH: Implement additional make clean files as a directory property instead of cmake variable
2004-05-20 16:56:34 -04:00
Andy Cedilnik
aff8c7bcd6
ENH: Add GET/SET_DIRECTORY_PROPERTY/PROPERTIES commands so that we can change include directories and get all sorts of things. Closes Bug #25 - Get_CMAKE_PROPERTIES
2004-04-23 16:20:36 -04:00