summaryrefslogtreecommitdiffstats
path: root/Tests/Properties
Commit message (Collapse)AuthorAgeFilesLines
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-1/+1
| | | | | | | | | | | | | 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.
* cmSourceFileLocation: Collapse full path for directory comparisons.Stephen Kelly2014-03-313-0/+16
| | | | | | | | | | | | | Otherwise Matches() ends up doing a comparison of the directories /path/to/dir/subdir/.. and /path/to/dir as strings and not matching where it should.
* Remove CMake multiline block-end command argumentsMarcin Wojdyr2012-08-151-4/+2
| | | | removing arguments omitted in 9db3116226cb99fcf54e936c833953abcde9b729
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-8/+8
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-10/+10
| | | | | | | | | | | | | | | | | 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 #12342: Add APPEND_STRING option to set_property()Alex Neundorf2011-07-151-0/+18
| | | | | | | | | 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
* Test cache entry property "STRINGS"Brad King2009-07-291-1/+5
| | | | | The STRINGS property tells cmake-gui to create a drop-down selection list. This teaches the Properties test to set and verify its value.
* ENH: Teach set/get_property about CACHE propertiesBrad King2009-03-101-0/+26
| | | | | | | | This adds the CACHE option to set_property and get_property commands. This allows full control over cache entry information, so advanced users can tweak their project cache as desired. The set_property command allows only pre-defined CACHE properties to be set since others would not persist anyway.
* ENH: support unset of propertiesKen Martin2008-04-011-3/+35
|
* ENH: preclean some warningsKen Martin2008-03-251-0/+1
|
* ENH: Updated DEFINE_PROPERTY command to be more extendible and more ↵Brad King2008-02-141-2/+4
| | | | consistent with new SET_PROPERTY and GET_PROPERTY signatures.
* ENH: Changed signature of GET_PROPERTY command to be more powerful and ↵Brad King2008-01-171-10/+12
| | | | extendible.
* ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more ↵Brad King2008-01-171-5/+4
| | | | powerful signature.
* ENH: Added SOURCES property to targets. This is based on patch from issues ↵Brad King2007-12-171-1/+11
| | | | #6137.
* ENH: some property cleanup and added GetPropertyKen Martin2007-06-251-4/+30
|
* ENH: added new test for SourceFile objects and propertiesKen Martin2007-05-314-0/+38