summaryrefslogtreecommitdiffstats
path: root/Tests/CxxOnly
Commit message (Collapse)AuthorAgeFilesLines
* VS: Restore compilation of '.C' sources as C++Brad King2020-06-113-1/+4
| | | | | | | | | Refactoring in commit 3b547e2e4b (VS: Simplify logic adding source file C/C++ language flag to MSVC, 2020-05-15, v3.18.0-rc1~139^2~1) failed to account for MSVC's treatment of `.C` extensions as C. Add this special case to the logic to restore use of `-TP` for `.C` extensions. Fixes: #20822
* Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-012-8/+8
| | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * 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.
* Revise C++ coding style using clang-formatKitware Robot2016-05-163-16/+17
| | | | | | | | | | | | | 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.
* Fix CXX/Fortran MODULE flags when enabled before C (#12929)Brad King2012-02-032-0/+8
| | | | | | | | | | | | | | | If CXX or Fortran is enabled before C then the values of CMAKE_SHARED_MODULE_C_FLAGS CMAKE_SHARED_MODULE_CREATE_C_FLAGS may not be available. On platforms where MODULE library (plugin) creation is the same as SHARED library creation initialize the MODULE creation flags from the SHARED creation flags of the matching language instead of assuming that C has been enabled first. Teach the COnly and CxxOnly tests to build MODULE libraries. The latter covers this specific case.
* Merge branch 'allow_upper_case_cpp_and_others' into ↵Brad King2010-09-142-1/+8
|\ | | | | | | | | | | | | resolve/fix_target_name_with_dot_vs10/allow_upper_case_cpp_and_others Conflicts: Tests/CxxOnly/CMakeLists.txt
| * Allow testing of .CPP on WIN32 as it is a case insensitive OS and should work.Bill Hoffman2010-09-071-1/+1
| |
| * Only test for .CPP on Microsoft compilers which will handle .CPP as c++.Bill Hoffman2010-09-062-1/+8
| |
* | Fix targets with . in the name for VS 10 IDE.Bill Hoffman2010-09-061-2/+2
|/
* Only use .CPP .CXX and .C++ do not work by default with g+++.Bill Hoffman2010-09-024-6/+2
|
* Let CMake recognize .CPP .CXX and .C++ as c++ files.Bill Hoffman2010-09-025-1/+8
|
* ENH: some more CMakeList cleanupsKen Martin2007-05-111-3/+3
|
* ENH: Adding C++-only test.Brad King2006-07-216-0/+59