summaryrefslogtreecommitdiffstats
path: root/Tests/COnly
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: Drop redundant string(ASCII) case from COnly testBrad King2023-02-031-2/+0
| | | | | | Drop the case added by commit 8714396927 (Test conversion from ascii to string, 2003-01-01, v2.4.0~4658). Its results were not checked, and the command is tested elsewhere anyway.
* Tests: Move LINK_FLAGS case from COnly to LinkFlags testBrad King2023-02-031-4/+0
| | | | | | Move the case added by commit 246e964180 (BUG: fix for bug 5455, handle nodefaultlib with more than one lib, 2007-12-06, v2.6.0~751) to a more sensible test.
* Tests/*Only: Update cmake_minimum_required versionsBrad King2020-06-181-1/+1
| | | | Use 3.3 or 2.8.12 where possible.
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-3/+2
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* Tests: Collect SourceFileProperty testsTushar Maheshwari2019-08-271-6/+0
| | | | | - Move the related test from COnly to SourceFileProperty - Cover `get_source_file_property` and `get_property(... SOURCE ...)`
* Tests: fix failures with gnu mode clang on windowsZsolt Parragi2019-05-241-1/+1
| | | | | | | | | Root causes were: * Using incorrect conditions (assuming MSVC-like command line mode) * Trying to compile the MSVC STL in C++11 mode, when parts of it require C++14 or enabling MS extensions in clang. * Missing flush in a testcase using stdout in a dll and a main part with static crt
* 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.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-3/+3
| | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | | 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 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.
* ENH: preclean some warningsKen Martin2008-03-251-0/+1
|
* BUG: fix for bug 6172 add get source file prop LANGUAGEBill Hoffman2007-12-181-0/+6
|
* ENH: change to libs that are not realBill Hoffman2007-12-071-1/+1
|
* BUG: fix for bug 5455, handle nodefaultlib with more than one libBill Hoffman2007-12-061-1/+4
|
* ENH: some more CMakeList cleanupsKen Martin2007-05-111-3/+3
|
* ENH: fix build c stuff with c and c++ with c++Bill Hoffman2006-05-041-1/+2
|
* COMP: converted to lowercase commandsKen Martin2005-06-201-8/+8
|
* ERR: Too much commitsAndy Cedilnik2004-02-291-1/+1
|
* ERR: Fix GetModulesFileAndy Cedilnik2004-02-291-1/+1
|
* ENH: Attempt to add debug library postfix for visual studio 6Andy Cedilnik2003-10-311-0/+2
|
* Fix problem with test on BorlandAndy Cedilnik2003-01-031-1/+1
|
* Rename libraries from c1 to testc1Andy Cedilnik2003-01-021-3/+3
|
* Test conversion from ascii to stringAndy Cedilnik2003-01-011-0/+3
|
* Shared library should export symbols on windowsAndy Cedilnik2003-01-012-1/+13
|
* Test also stating and shared librariesAndy Cedilnik2002-12-316-0/+26
|
* Fix problem on HPAndy Cedilnik2002-10-072-2/+2
|
* If you specify header file as source, it should still use C compiler and not ↵Andy Cedilnik2002-10-064-1/+8
| | | | CXX. Also fix COnly test so that it make sure that this still works...
* ENH: add enable language support for PROJECT command, this means that a C ↵Bill Hoffman2002-04-022-0/+7
only project can be built with cmake, even without a cxx compiler