summaryrefslogtreecommitdiffstats
path: root/Tests/SetLang
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'backport-vs-lang-flags' into vs-lang-flagsBrad King2020-07-233-0/+23
|\
| * VS: Restore toleration of target-wide -TP flag with MSVCBrad King2020-07-233-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 3b547e2e4b (VS: Simplify logic adding source file C/C++ language flag to MSVC, 2020-05-15, v3.18.0-rc1~139^2~1) we only add a per-source language selection flag when the source file extension does not match the compiler's default. This approach breaks when a project adds a target-wide `-TP` flag. Although such projects likely did not work with non-VS generators, we did support them before in Visual Studio generators. Add a special case to tolerate such flags again. Fixes: #21005
* | Explicitly specify language flag when source LANGUAGE property is setRobert Maynard2020-06-093-1/+27
|/ | | | Fixes: #14516, #20716
* Revise C++ coding style using clang-formatKitware Robot2016-05-162-5/+4
| | | | | | | | | | | | | 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.
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-1/+1
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* ENH: preclean some warningsKen Martin2008-03-251-0/+1
|
* ENH: some more CMakeList cleanupsKen Martin2007-05-111-3/+3
|
* ENH: verboseBill Hoffman2007-02-201-0/+2
|
* BUG: fix for bug 4423 set language fixesBill Hoffman2007-02-203-0/+35