Commit Graph

30 Commits

Author SHA1 Message Date
Brad King
5b255fe7da CMP0035: Remove support for OLD variable_requires command 2025-01-19 09:41:01 -05:00
Matthew Woehlke
99ac59d31b style: Remove trailing blank lines from all CMake sources
Our development workflow tooling prevents trailing blank lines
from being added, but some such lines remain from before that
was enforced.  Remove them to make it easier to rename files
without triggering enforcement.
2024-11-21 15:48:02 -05:00
Sylvain Joubert
58f4744821 configure_file: Add support for indented cmakedefine
Optional spaces and/or tabs are now understood between the '#' character
and the 'cmakedefine'/'cmakedefine01' words. This indentation is
preserved in the output lines.

Fixes: #13037
2017-07-04 12:00:02 +02:00
Brad King
ec1ba9b0ae get_filename_component: Add explicit unit tests
Add test RunCMake.get_filename_component to cover cases of the command.
Remove redundant coverage of these cases from the "complex" tests.
2013-04-16 09:35:29 -04:00
Brad King
53d31c2426 complex: Remove unused option to test CMakeLib
Now that the Complex tests do not depend on cmSystemTools or other
classes from CMakeLib the COMPLEX_TEST_CMAKELIB option is useless.
2011-12-23 16:16:57 -05:00
Ken Martin
19e891532a ENH: support parenthesis as arguments and in conditionals feature request #6191 2008-06-26 13:01:35 -04:00
Brad King
b646183f44 ENH: Added explicit name for option to test CMakeLib. Added option to disable testing of CMakeLib if system utility libraries are used until linking made easier. 2006-10-19 14:45:41 -04:00
Ken Martin
a6e63f3a61 ENH: added test for elseif 2006-09-22 11:49:56 -04:00
Brad King
f430ad0ea2 BUG: Removed compiled-in CMAKE_SHARED_MODULE_PREFIX and CMAKE_SHARED_MODULE_SUFFIX for loaded commands in favor of using the settings from the platform files. 2006-03-16 17:20:09 -05:00
Bill Hoffman
9891260a6d ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
Bill Hoffman
2c73d2e0f3 ENH: add new cmakedefine01 feature from bug report 2603 2006-01-03 16:40:51 -05:00
Bill Hoffman
76e14b4f1a ENH: do not test for c and cxx flags on visual studio as it does not work yet 2005-07-29 14:02:51 -04:00
Ken Martin
ba3b7c1588 ENH: added testing of the WHILE command 2005-06-30 13:39:38 -04:00
Ken Martin
aef8110c36 added test of SET CACHE FORCE 2002-10-09 15:54:34 -04:00
Brad King
3d3caacf9e ENH: Added test for IF inside a FOREACH. 2002-07-16 17:42:56 -04:00
Brad King
a454990f7d ENH: Added configuration of CMAKE_NO_ANSI_STRING_STREAM. It is defined when the sstream header does not exist. 2002-06-21 09:00:51 -04:00
Bill Hoffman
6cc58e5f9b ENH: add test for SEPARATE_ARGUMENTS 2002-04-30 14:01:07 -04:00
Ken Martin
7aa35093b8 fixed for remove COMMAND 2002-04-22 11:51:26 -04:00
Bill Hoffman
0415b58573 ENH: backwards compatible for VTK 4.0, add cmake version requires 2002-04-17 16:16:06 -04:00
Sebastien Barre
81ebecaea1 ENH: add test for registry-related functions (win32) 2002-04-01 14:58:21 -05:00
Sebastien Barre
b3647fe6d3 ENH: fix tests 2002-03-29 15:02:18 -05:00
Sebastien Barre
85b286f04e ENH: add a more stressing FOREACH test. 2002-03-27 13:54:31 -05:00
Sebastien Barre
049a4820a2 More tests + coverage 2002-01-20 00:12:27 -05:00
Sebastien Barre
c8d8e693cf Add documentation, comments. Move some 'Complex' sub-tests into 2 new 'Wrapping' and 'Testing' tests. 2002-01-19 21:24:55 -05:00
Sebastien Barre
b6bdbc54fc ENH: Increase test + coverage 2002-01-18 19:21:43 -05:00
Sebastien Barre
914e051fd7 Increase coverage, add tests 2002-01-18 12:03:32 -05:00
Sebastien Barre
e8c4fbef82 ENH: tests ADD_DEPENDENCIES and ADD_CUSTOM_COMMAND 2002-01-17 15:49:08 -05:00
Bill Hoffman
6a3138293b BUG: fix complex test for old compilers 2001-08-24 15:54:06 -04:00
Bill Hoffman
d6aee2bc36 BUG: fix for SGI Native compiler 2001-08-24 15:45:46 -04:00
Bill Hoffman
3a3b55679b ENH: try to get better test coverage 2001-08-23 13:57:45 -04:00