summaryrefslogtreecommitdiffstats
path: root/Tests/CxxOnly
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Bump CMake minimum required in tests to 3.5Brad King2023-03-011-1/+1
| | | | | | | | | | | | | | | | | | | CMake 3.27 deprecates compatibility with CMake < 3.5. Update tests that do not cover older interfaces to avoid the deprecation warning. Follow the pattern from: * commit 7b07ccdd2b (Tests/*Only: Update cmake_minimum_required versions, 2020-06-15, v3.19.0-rc1~629^2~1) * commit 72e7c45e98 (Tests: Bump CMake minimum required in tests to 2.8.12, 2020-12-22, v3.20.0-rc1~224^2) * commit f6b4db365a (Tests: bump cmake_minimum_required version to 2.8.12, 2021-04-04, v3.21.0-rc1~372^2) Also remove explicit `cmake_policy` settings made redundant by the version.
* Tests/*Only: Update cmake_minimum_required versionsBrad King2020-06-181-0/+1
| | | | Use 3.3 or 2.8.12 where possible.
* 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