Commit Graph

3742 Commits

Author SHA1 Message Date
Andy Cedilnik e92c98f4b0 Add testing for when C sources are compiled with C++ compiler 2003-03-17 13:26:30 -05:00
Andy Cedilnik a2c4d8eb90 Display Cache and all variables 2003-03-17 08:25:45 -05:00
Bill Hoffman 0f19623edd BUG: fixes for hp 2003-03-11 15:25:50 -05:00
Andy Cedilnik 814b8856a0 Add command for accessing cmake properties. At this point the only properties are VARIABLES and CACHE_VARIABLES. Also add test for this feature 2003-03-06 11:20:26 -05:00
Bill Hoffman cdf6e1dc21 ENH: add more testing for ansi for scopes 2003-02-10 22:00:40 -05:00
Bill Hoffman b04e32c642 ENH: add a new test for TRY_COMPILE 2003-02-10 16:20:10 -05:00
Bill Hoffman d94c0e0429 ENH: add a new test to test try compile 2003-02-10 13:19:34 -05:00
Bill Hoffman 486da564ef ENH: add a better test for lib deps 2003-02-03 13:31:31 -05:00
Bill Hoffman c4fa5d1fdf ENH: add a new command that allows exports of library dependencies from a project to a file 2003-01-20 16:59:02 -05:00
Bill Hoffman 68d9a5d404 remove trailing slash from findpath command 2003-01-17 10:28:41 -05:00
Bill Hoffman 0510292b9e add some more prints 2003-01-17 10:28:07 -05:00
Ken Martin fedf21722a ENH: fix for compilers that need _ 2003-01-16 15:47:04 -05:00
Bill Hoffman 6695fa300b ENH: add the config directory to look for the loadable module 2003-01-16 08:28:45 -05:00
Bill Hoffman c6d2312619 ENH: add testing for modules and one two config modes for cmaketest 2003-01-15 17:31:22 -05:00
Bill Hoffman 17d8775e82 use module on all platforms 2003-01-15 17:02:35 -05:00
Bill Hoffman b9d5389bca BUG: fix CMAKE_C_FLAGS for visual studio 6, and add a test case 2003-01-13 09:30:48 -05:00
Andy Cedilnik 8b1d032b7b Change name of variable 2003-01-08 11:53:55 -05:00
Andy Cedilnik 79651a2663 Fix problem with test on Borland 2003-01-03 16:14:14 -05:00
Andy Cedilnik e7fd8fb12f Rename libraries from c1 to testc1 2003-01-02 09:06:24 -05:00
Andy Cedilnik 8714396927 Test conversion from ascii to string 2003-01-01 17:35:42 -05:00
Andy Cedilnik fe6721af84 Shared library should export symbols on windows 2003-01-01 14:26:50 -05:00
Andy Cedilnik 9bb153cbf1 Test also stating and shared libraries 2002-12-31 15:22:48 -05:00
Brad King ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 2002-12-30 11:02:31 -05:00
Bill Hoffman 3859417d1a ENH: add target properties 2002-12-20 17:15:45 -05:00
Bill Hoffman bd2739feec BUG: fix for backwards compatibility 2002-12-20 11:20:14 -05:00
Brad King ccb93dc2f4 ERR: Project name and executable name should match for consistency in the X11 test. 2002-12-18 09:38:34 -05:00
Brad King 5abc8c18c0 BUG: Renamed X11 test executable to useX11 to avoid conflict with name of library. 2002-12-17 13:28:49 -05:00
Brad King 526649127e ENH: Added test for generated header included by non-generated source. 2002-12-13 17:35:00 -05:00
Brad King 5203a92ef1 BUG: Can't double-quote foreach arguments. 2002-12-12 10:10:34 -05:00
Ken Martin ee46e410ce now uses SET instead of SOURCE_LIST command 2002-12-12 08:42:33 -05:00
Andy Cedilnik 8d20322160 Speedup the test 2002-12-05 11:55:53 -05:00
Ken Martin fa73553a59 clean up coverage some 2002-12-03 11:21:12 -05:00
Andy Cedilnik f778ae3fed Add missing library. The test should be linked to framework Cocoa 2002-11-27 07:42:23 -05:00
Yves Starreveld ad01416a11 Test for ObjC++ on OSX machines only 2002-11-26 19:01:51 -05:00
Bill Hoffman e9687d931a fix for create shared library 2002-11-21 08:45:45 -05:00
Ken Martin 1a9ae3b5fa converted c plus plus comments 2002-11-21 08:19:05 -05:00
Ken Martin f3e7681ff4 fixed comments to be c style not c plus plus 2002-11-20 09:04:28 -05:00
Amitha Perera 939035ad91 BUG: the dependency analysis would incorrectly alphabetically re-order the
link lines, which affects external libraries pulled up from deep within
the dependency tree. Fixed by preserving order everywhere.
2002-11-19 18:01:05 -05:00
Bill Hoffman 603af011c1 add print for compiler is gnu 2002-11-18 09:08:23 -05:00
Bill Hoffman 8b689f9a62 clean up test for html output 2002-11-12 14:18:36 -05:00
Bill Hoffman 59d623dc66 *** empty log message *** 2002-11-12 09:33:00 -05:00
Bill Hoffman 56d4bba759 fix project name 2002-11-12 09:31:05 -05:00
Bill Hoffman 928b9dee06 new test 2002-11-11 18:07:20 -05:00
Brad King 6ab16695d0 BUG: Fixed STRING(REGEX REPLACE ...) and added better test. 2002-11-06 18:05:39 -05:00
Brad King 42c464c05e ENH: Added STRING command. 2002-11-06 17:35:27 -05:00
Andy Cedilnik bde5ee3f44 Try to fix test 2002-11-06 08:52:25 -05:00
Andy Cedilnik 8ac50c4aad Try to fix FindX11 2002-11-05 07:15:42 -05:00
Andy Cedilnik 14ab03ff69 Simplify 2002-11-05 07:06:00 -05:00
Andy Cedilnik 23dde130c7 Fix test 2002-11-04 11:54:30 -05:00
Andy Cedilnik 7f0cbaa5ee Try to make test to run 2002-11-03 18:18:04 -05:00
Andy Cedilnik ea2001e6e5 Print message on system without X11 2002-10-29 15:58:35 -05:00
Andy Cedilnik a43958f4f0 Add Windows code 2002-10-29 15:54:40 -05:00
Andy Cedilnik 2d970c26f0 Add test for X11 2002-10-29 15:46:38 -05:00
Ken Martin aef8110c36 added test of SET CACHE FORCE 2002-10-09 15:54:34 -04:00
Ken Martin fd3323177d new plugin API 2002-10-08 15:55:24 -04:00
Andy Cedilnik 696d15c7ba Fix problem on HP 2002-10-07 09:20:47 -04:00
Andy Cedilnik 9ed93397fb If you specify header file as source, it should still use C compiler and not CXX. Also fix COnly test so that it make sure that this still works... 2002-10-06 12:12:59 -04:00
Ken Martin 4918ce6593 Remove bogus exec_program 2002-10-01 12:59:18 -04:00
Andy Cedilnik 2f1052b0e5 Use cmake echo 2002-09-27 17:16:03 -04:00
Andy Cedilnik 332c653586 Check for library 2002-09-25 10:08:46 -04:00
Andy Cedilnik ba10f96223 Fix problem 2002-09-23 17:24:47 -04:00
Andy Cedilnik 4ca00b8d3e Some minor fixes for mac 2002-09-23 15:56:28 -04:00
Ken Martin 903796a76a cleanup 2002-09-23 14:57:41 -04:00
Andy Cedilnik d59d94ff6a Fix test so that it will work on HP 2002-09-23 14:11:57 -04:00
Andy Cedilnik 571c483ad8 Include more testing 2002-09-20 14:17:32 -04:00
Andy Cedilnik 50423a779e Fix test so that it does some modules testing by checking for some functions and some size of types 2002-09-20 13:17:59 -04:00
Ken Martin e5a8887426 removed c++ style comments 2002-09-20 10:06:00 -04:00
Ken Martin eab24670e3 test passing CMAKE_FLAGS 2002-09-18 11:38:15 -04:00
Ken Martin 40a99bcd1a removed target 2002-09-18 08:07:53 -04:00
Ken Martin 222b04f6d9 added Destructor 2002-09-17 10:38:34 -04:00
Ken Martin 40fd3b83dc some cleanup 2002-09-17 09:16:04 -04:00
Ken Martin e4690b6df2 minor fix in error message 2002-09-17 08:29:42 -04:00
Ken Martin 885f55b3d0 load command test 2002-09-16 16:27:00 -04:00
Franck Bettinger 5e6b29717e added include of FindQT.cmake 2002-09-12 13:20:05 -04:00
Franck Bettinger 6b9d82f41d corrected test for QTWrapUI 2002-09-12 11:37:16 -04:00
Franck Bettinger 4be9fce5fe added test for QTWrapUI 2002-09-11 16:41:46 -04:00
Franck Bettinger 3f047aabaf test for QTWarpUI 2002-09-11 16:41:11 -04:00
Ken Martin b8e39b0a61 fixed test for new cmake 2002-09-04 11:17:26 -04:00
Bill Hoffman 31f80f19ae add rpcrt4.lib because of CMakeLib needing it 2002-08-30 09:54:48 -04:00
Ken Martin 499cef0367 now needs dynlib support 2002-08-28 16:33:38 -04:00
Ken Martin ae6e90e872 added new form of Set source file properties command 2002-08-26 15:20:47 -04:00
Bill Hoffman 85d1fc1425 no more dll for plugin 2002-08-23 16:25:41 -04:00
Ken Martin cb57dd49c7 remoevd shared lib 2002-08-23 16:15:05 -04:00
Bill Hoffman e1d5c0c729 BUG: fix for cygwin 2002-08-23 13:47:04 -04:00
Bill Hoffman 40cf734152 BUG: fix for borland and a shared CMakeLib 2002-08-22 17:06:05 -04:00
Bill Hoffman faf4b68ca9 BUG: fix for borland and a shared CMakeLib 2002-08-22 16:57:45 -04:00
Ken Martin c4076fb287 complex test needs the dll 2002-08-22 15:58:22 -04:00
Ken Martin d38b48fcae added macro test 2002-08-13 15:47:19 -04:00
Ken Martin 836a280a6a minor fix for c tests 2002-07-31 11:08:42 -04:00
Ken Martin 9ca602e18e updated to mods in command 2002-07-30 16:19:39 -04:00
Ken Martin fcc410de44 fixed if statements inside a foreach 2002-07-17 10:48:39 -04:00
Brad King 3d3caacf9e ENH: Added test for IF inside a FOREACH. 2002-07-16 17:42:56 -04:00
Ken Martin 7cd492d443 a minor fix to make my life easier 2002-06-27 16:05:23 -04:00
Ken Martin 44a7cd55ff removed all source lists from the system and made them vectors. Also appended _CMAKE_PATH to the end of the automatic cache entries for executables and libraries. Odds of all these changes working are slim but cmake builds and passes all its tests. VTK40 starts building 2002-06-27 15:57:09 -04:00
Bill Hoffman c487718844 add a test with no extension 2002-06-25 09:59:32 -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
Ken Martin 38145ad5a4 modified create test source to create a vector 2002-06-19 12:52:16 -04:00
Bill Hoffman cc59f9bd1f *** empty log message *** 2002-06-19 07:28:30 -04:00
Bill Hoffman 0065bc5fa0 ENH: try and fix link problem on dec 2002-06-18 08:54:07 -04:00
Ken Martin db4b4533a0 changed CCOMMAND to CMAKE 2002-06-03 13:40:34 -04:00
Ken Martin 350f09ae6d removed ccommand use cmake now 2002-06-03 13:08:52 -04:00
Sebastien Barre 14bc6b5887 ENH: add tests for LESS, GREATER, STRLESS, STRGREATER (IF command) 2002-05-27 10:29:04 -04:00
Bill Hoffman 23772b369d ENH: increse coverage 2002-05-23 13:27:21 -04:00
Bill Hoffman 2d9e5edb27 ENH: increase coverage 2002-05-23 13:23:35 -04:00
Bill Hoffman 14b07c0973 add a test for escape quotes and configure file 2002-05-23 13:04:00 -04:00
Amitha Perera 0e6b39e52f BUG: Correct some of the dependency analysis code.
- Make sure the original link line is untouched
- Avoid duplicating the link line when supporting version < 1.4
- Make sure the cyclic dependencies and such are output correctly in
  complicated cases.
- Avoid outputing dependencies that are already satisfied on the original
  link line when possible.
2002-05-10 13:35:42 -04:00
Brad King 1de2e69810 ENH: Added coverage test for ITK_WRAP_TCL. Doesn't actually invoke CABLE. 2002-05-08 17:45:56 -04:00
Bill Hoffman e9e69b7e5e fix borland test 2002-05-03 18:10:49 -04:00
Amitha Perera 4bff970413 - bug fix where paths weren't being output when LIB_OUT_PATH *isn't* used
- test case for above mentioned bug
- more comments. Comments are good.
2002-05-03 00:27:34 -04:00
Bill Hoffman 2242006ca1 Debug optimized cache fixes 2002-05-02 15:10:19 -04:00
Bill Hoffman 27fe57b716 ENH: change LINK_LIBRARY to add to targets 2002-05-02 13:17:10 -04:00
Amitha Perera 099436db26 ENH: Make the LinkLibraries command contribute dependencies towards AddLibraries. 2002-05-01 16:33:27 -04:00
Amitha Perera 36f80fe6c8 ENH: Make the LinkLibraries command contribute dependencies towards AddLibraries. 2002-05-01 16:24:47 -04:00
Amitha Perera 1f8df8585e ENH: Add library dependency analysis. 2002-05-01 14:00:21 -04:00
Bill Hoffman 6cc58e5f9b ENH: add test for SEPARATE_ARGUMENTS 2002-04-30 14:01:07 -04:00
Ken Martin bf228b05c7 duhZ 2002-04-22 14:18:50 -04:00
Ken Martin 7aa35093b8 fixed for remove COMMAND 2002-04-22 11:51:26 -04:00
Bill Hoffman 4591e41a62 BUG: add link directories for target link libraries and add a test for it 2002-04-19 15:28:43 -04:00
Bill Hoffman 72022ac27b ENH: add ability to escape semi-colons 2002-04-18 12:02:00 -04:00
Bill Hoffman 0415b58573 ENH: backwards compatible for VTK 4.0, add cmake version requires 2002-04-17 16:16:06 -04:00
Brad King b7c368b5e3 ENH: Removed tests for commands that no longer exist. 2002-04-17 14:58:24 -04:00
Bill Hoffman 3483a590b1 ENH: more coverage 2002-04-17 08:09:25 -04:00
Bill Hoffman 789267c949 ENH: speed improvements 2002-04-11 17:02:10 -04:00
Sebastien Barre 45f459459c ENH: increase coverage 2002-04-11 11:30:05 -04:00
Sebastien Barre 4988ad93c0 ENH: use target as source if source is empty 2002-04-11 10:11:42 -04:00
Sebastien Barre 9d0a4b8a5f ENH: add a test to check if more than one post-build command can be attached. it fails right now. 2002-04-10 17:33:10 -04:00
Bill Hoffman 8e7e53960e ENH: only check flag on unix 2002-04-10 11:23:30 -04:00
Bill Hoffman 2e70c5094f ENH: check for compile flags and add back c flag to unix generator 2002-04-09 12:24:44 -04:00
Bill Hoffman d6da8ce630 ENH: check for compile flags and add back c flag to unix generator 2002-04-09 12:02:48 -04:00
Bill Hoffman 26ff184cf2 correct exports for windows 2002-04-09 10:19:02 -04:00
Bill Hoffman cd0e978ca1 c not c++ comment 2002-04-09 09:37:37 -04:00
Bill Hoffman 65e3edea04 ENH: use separate vars for creating c++ and c shared libraries and add a test for c libraries 2002-04-08 13:36:18 -04:00
Bill Hoffman 1182eba905 ENH: add missing file 2002-04-05 07:22:56 -05:00
Bill Hoffman e4dce08591 ENH: add the ability to process command line arguments in the test driver before the test driver gets them 2002-04-04 16:53:37 -05:00
Bill Hoffman d42055b283 ENH: fix more space problems, you can add args to the ExecProgram command separatly now 2002-04-03 16:14:06 -05:00
Bill Hoffman 4ea0f6b949 ENH: add enable language support for PROJECT command, this means that a C only project can be built with cmake, even without a cxx compiler 2002-04-02 15:43:23 -05:00
Sebastien Barre 81ebecaea1 ENH: add test for registry-related functions (win32) 2002-04-01 14:58:21 -05:00
Sebastien Barre 420b1a63fe FIX: fix dummy lib name for Unix 2002-03-29 15:41:10 -05:00
Sebastien Barre b3647fe6d3 ENH: fix tests 2002-03-29 15:02:18 -05:00
Bill Hoffman 3a2b963763 *** empty log message *** 2002-03-29 14:22:42 -05:00
Bill Hoffman 7d76de4403 make sure ; expansion is done in all commands 2002-03-29 14:20:32 -05:00
Bill Hoffman 0223ba91f3 ENH: add test for set to create source lists 2002-03-29 11:12:46 -05:00
Bill Hoffman 61697fab50 more tests 2002-03-29 10:07:10 -05:00
Sebastien Barre 85b286f04e ENH: add a more stressing FOREACH test. 2002-03-27 13:54:31 -05:00
Sebastien Barre 1623dc2183 ENH: add testdriver test with source file in subdir 2002-03-27 13:47:05 -05:00
Sebastien Barre 6d5bef7daf FIX: do not use CMAKE_CFG_INTDIR, just use LINK_DIRECTORIES 2002-03-27 10:55:02 -05:00
Sebastien Barre 07578f938d FIX: do not need CMakeLib 2002-03-27 10:54:25 -05:00
Sebastien Barre 9c4922b3af ENH: USE_MANGLED_MESA is more careful now. Try to trick it again. 2002-03-26 14:42:10 -05:00
Sebastien Barre e0f36dbfba ENH: Use ${CMAKE_CFG_INTDIR} instead of hardcoded RelInfo, Debug, Release, etc. 2002-03-26 14:41:33 -05:00
Bill Hoffman 2f639d37b5 ENH: add new command to create a test driver 2002-03-20 16:19:00 -05:00
Bill Hoffman 8f20044a64 ENH: more dec silly stuff 2002-03-08 13:12:31 -05:00
Bill Hoffman b45f96a83b more stupid dec cxx tricks... 2002-03-08 11:01:10 -05:00
Bill Hoffman f3c15849f1 ENH: add one more stupid function call for the dec cxx compiler... 2002-03-08 08:19:08 -05:00
Bill Hoffman a5f7d6a5dc try to fix dec cxx 2002-03-08 07:25:41 -05:00
Bill Hoffman 42a34e4722 ENH: add more junk for the dec cxx compiler to force it to instantiate stuff 2002-03-07 22:07:57 -05:00
Bill Hoffman 61e87c3a6d ENH: use the string class to force the dec compiler to instantiate some templates 2002-03-07 12:13:45 -05:00
Bill Hoffman 851e4ceeb8 ENH: add test for semi-colon separated lists of libraries 2002-03-06 10:11:58 -05:00
Bill Hoffman 17b6c98c19 ENH: add support for per file flags 2002-03-04 15:00:19 -05:00
Bill Hoffman 42c56a7cc7 ENH: add a test for per file flags 2002-03-04 14:11:48 -05:00
Sebastien Barre b7177cec30 ENH: provide a test for today's ReadListFile() bug fix 2002-02-25 15:22:39 -05:00
Sebastien Barre 9b78a74ed0 ENH: Trick VTK_WRAP_JAVA in a better way (avoid CUSTOM_TARGET) 2002-02-12 17:38:41 -05:00
Sebastien Barre ac1f2bcf6b Just rename dir 2002-01-22 15:57:40 -05:00
Sebastien Barre 416afb7d5a ENH: Move CMakeCache.txt to Cache/ directory to avoid any in-source build pb. 2002-01-22 15:50:52 -05:00
Sebastien Barre a249b4d188 Coverage for OUTPUT_REQUIRED_FILES 2002-01-22 13:30:06 -05:00
Bill Hoffman 0e0e4c1a1a flags already there, just not working 2002-01-22 07:37:01 -05:00
Bill Hoffman 1c26b1b73c BUG: must use ANSI flags for complex test now. 2002-01-22 07:18:37 -05:00
Sebastien Barre 0660ea09c5 Add warnings/infos 2002-01-21 15:30:37 -05:00
Sebastien Barre 0bee6e523f Add coverage for VTK_MAKE_INSTANTIATOR 2002-01-21 15:30:19 -05:00
Sebastien Barre 5325be37b6 Comment test OUTPUT_REQUIRED 2002-01-21 10:22:51 -05:00
Sebastien Barre 7bda70b836 More IF coverage 2002-01-20 02:21:25 -05:00
Sebastien Barre 6f3570656c Increase Coverage. 2002-01-20 01:58:57 -05:00
Sebastien Barre f04128ad63 Add coverage for QT and FLTK wrappers. Also MANGLED_MESA 2002-01-20 01:06:09 -05:00
Sebastien Barre 049a4820a2 More tests + coverage 2002-01-20 00:12:27 -05:00
Sebastien Barre df5131adc2 More coverage + include Dart.cmake to maximize chance nslookup/hostname are found 2002-01-20 00:11:59 -05:00
Sebastien Barre c0ae306090 Add test for VTK_WRAP_* 2002-01-20 00:11:19 -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 c26008ccf3 ENH: Increase test + coverage 2002-01-18 20:32:06 -05:00
Sebastien Barre 2b5bb96e23 ENH: Increase test + coverage. This is not a bug, this cache is used for test. 2002-01-18 19:22:50 -05:00
Sebastien Barre b6bdbc54fc ENH: Increase test + coverage 2002-01-18 19:21:43 -05:00
Andy Cedilnik 21224d0bf1 Add GENERATED to cmSourceFilesRemoveCommand 2002-01-18 15:39:24 -05:00
Sebastien Barre 21c01f609d Fix: create_file.cxx is not GENERATED, it exists (so that it can be removed, until SOURCE_FILES_REMOVE is synced with SOURCE_FILES) 2002-01-18 15:31:49 -05:00
Sebastien Barre 914e051fd7 Increase coverage, add tests 2002-01-18 12:03:32 -05:00
Sebastien Barre fc5bd6b8bc Is not used (see Simple test) 2002-01-18 09:02:13 -05:00
Bill Hoffman c8a09f9441 ENH: remove unused and non-standard io.h file 2002-01-18 07:05:16 -05:00
Sebastien Barre f632d20b64 Fix: displays msg if passed for custom command 2002-01-17 16:36:04 -05:00
Sebastien Barre e8c4fbef82 ENH: tests ADD_DEPENDENCIES and ADD_CUSTOM_COMMAND 2002-01-17 15:49:08 -05:00
Ken Martin 74ef4e4e58 minor fix 2001-08-28 16:06:52 -04:00
Bill Hoffman 66be1686da ENH: sgi -LANG:std 2001-08-27 10:11:48 -04: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
Ken Martin 2b895779c2 new tests 2001-06-21 17:52:22 -04:00