Commit Graph

156 Commits

Author SHA1 Message Date
Brad King 57a9e26c15 BUG: Fixed cmOrderLinkDirectories to make sure cmake-built libraries are found properly. Also taking libraries that will be built but may not yet exist into account. The per-configuration subdirectories that are included by generators in the link path are checked for conflicting libraries also. Potentially conflicting libraries that are actually symlinks back to the desired library are no longer considered conflicting, which avoids bogus impossible ordering warnings. 2006-04-04 14:25:17 -04:00
Bill Hoffman b45f4a5d45 ENH: change library order to use a vector 2006-04-04 11:52:00 -04:00
Ken Martin eb773486f3 ENH: added testing for new features 2006-03-22 15:01:22 -05: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
Andy Cedilnik f483e48d2a ENH: Cleanup DynamicLoader so that the symbols have more consistent names, start using dynamic loader from kwsys in CMake 2006-03-16 11:01:05 -05:00
Brad King e666b8e825 BUG: Avoid case problems on windows. 2006-02-09 18:39:00 -05:00
Bill Hoffman 07ef88c985 ENH: add COMPILE_FLAGS to targets 2006-01-25 08:38:06 -05:00
Bill Hoffman ac58fb88b9 ENH: more fixes for watcom 2006-01-17 14:35:04 -05:00
Bill Hoffman 9891260a6d ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
Brad King 22c62c9e65 BUG: Sweeping changes to cleanup computation of target names. This should
fix many bugs related to target names being computed inconsistently.

- Centralized computation of a target's file name to a method in
  cmTarget.  Now that global knowledge is always available the
  *_CMAKE_PATH cache variables are no longer needed.

- Centralized computation of link library command lines and link
  directory search order.

- Moved computation of link directories needed to link CMake targets
  to be after evaluation of linking dependencies.

This also removed alot of duplicate code in which each version had its
own bugs.

This commit is surrounded by the tags

  CMake-TargetNameCentralization1-pre

and

  CMake-TargetNameCentralization1-post

so make the large set of changes easy to identify.
2006-01-13 18:18:32 -05:00
Bill Hoffman 2c73d2e0f3 ENH: add new cmakedefine01 feature from bug report 2603 2006-01-03 16:40:51 -05:00
Andy Cedilnik 456276278f BUG: Now really fix the test 2005-12-28 20:04:13 -05:00
Andy Cedilnik 26b75693cb COMP: Fix test 2005-12-28 19:31:48 -05:00
Andy Cedilnik 2fcd41323b COMP: Fix complex test and fix bootstrap 2005-12-28 17:02:16 -05:00
Bill Hoffman e59e9d0e59 ENH: fix bug 2087 lib prefix stripped off on windows 2005-08-10 12:55:41 -04:00
Bill Hoffman 12ed2c85d9 ENH: make sure CMAKE_C_FLAGS are not clobbered 2005-08-01 09:44:44 -04:00
Bill Hoffman efc41c634c ENH: use ansi flags 2005-07-31 22:25:39 -04:00
Bill Hoffman 0f380c0dfa ENH: no c++ comments in a c file 2005-07-30 21:58:12 -04: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
Bill Hoffman 8dc6db4777 ENH: add new test to make sure c and cxx flags are going to the right files 2005-07-29 11:56:31 -04:00
Andy Cedilnik 1b95674b0e ENH: Do 4 files 2005-07-14 09:44:49 -04:00
Andy Cedilnik 308db351cc ENH: Add a test for cmGeneratedFileStream 2005-07-14 09:30:50 -04:00
Ken Martin ba3b7c1588 ENH: added testing of the WHILE command 2005-06-30 13:39:38 -04:00
Ken Martin 2e4258efc1 ENH: shift to using ADD_SUBDIRECTORY 2005-06-08 12:26:32 -04:00
Bill Hoffman 332cd81fdd ENH: try to see if there is still a problem 2005-03-11 13:12:02 -05:00
Bill Hoffman ed1afcdaee ENH: make it pass anyway so I can see debug info 2005-03-03 19:42:17 -05:00
Bill Hoffman 16b65d86c9 ENH: try and debug the failed test on the continuous 2005-03-03 18:46:52 -05:00
Bill Hoffman ded7d15144 ENH: try number two with topological sort 2005-03-03 18:16:00 -05:00
Bill Hoffman 17f474b0d4 ENH: reverse last changes to avoid dashboard failures 2005-03-02 18:56:46 -05:00
Bill Hoffman 7007b41dcb ENH: fix library ordering stuff to use a topological sort 2005-03-02 17:49:11 -05:00
Brad King b40219372e ENH: Added full pre-build/pre-link/post-build testing for both library and executable targets. 2005-02-25 09:31:55 -05:00
Brad King 16b9edd17b ENH: Added partial test for include regular expressions. 2005-02-07 16:18:02 -05:00
Andy Cedilnik 197ba0bdd6 ENH: Link to cmzlib 2005-01-27 10:13:38 -05:00
Andy Cedilnik 1f4d3c7a66 COMP: Add proper link directory 2005-01-18 18:11:24 -05:00
Andy Cedilnik fc43cc06d2 COMP: Add cmexpat to complex 2005-01-18 17:29:25 -05:00
Bill Hoffman 626be7884a FIX: go back to not trying to handle spaces in the path for run single command and comment it so that people know to call the right thing 2004-10-25 13:16:05 -04:00
Bill Hoffman e26c14e5d3 ENH: add test back for single char exe 2004-10-25 12:15:37 -04:00
Bill Hoffman b35a73aae5 remove run program test until run single command is fixed 2004-10-22 21:52:09 -04:00
Bill Hoffman 5c26f29ed7 ENH: add missing file 2004-10-22 17:05:25 -04:00
Bill Hoffman 040f776885 FIX: fix the problem where a target is a single character and nmake gets confused and add a test for it 2004-10-22 17:00:00 -04:00
Bill Hoffman 66a08c10e5 ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code 2004-08-26 14:55:55 -04:00
Bill Hoffman 22de04fab9 ENH: fix tests to work with in source builds 2004-05-04 14:24:25 -04:00
Bill Hoffman 14ba8b5df9 ENH: add a test for EQUAL in if 2004-04-28 10:09:50 -04:00
Ken Martin c63c23a617 added tests for var args with macros 2004-04-26 11:12:19 -04:00
Andy Cedilnik 23a154941b ENH: Add test for REMOVE_DEFINITION 2004-04-15 13:59:29 -04:00
Bill Hoffman a35d911def ENH: MinGW build now passes all the tests 2003-08-27 16:42:01 -04:00
Bill Hoffman 7e54a53a3d ENH: improve coverage 2003-08-07 16:07:23 -04:00
Bill Hoffman 33580312b3 add missing file 2003-08-01 15:41:47 -04:00
Bill Hoffman 4808d9cec2 BUG (85): allow . to be in the name of an executable 2003-08-01 14:34:51 -04:00
Brad King dc3fd5c267 ENH: Merged use of kwsys library. 2003-06-23 08:58:58 -04:00
Bill Hoffman 62314ea808 BUG: fix REMOVE test 2003-03-21 11:33:30 -05:00
Bill Hoffman 68d9a5d404 remove trailing slash from findpath command 2003-01-17 10:28:41 -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
Brad King 526649127e ENH: Added test for generated header included by non-generated source. 2002-12-13 17:35:00 -05:00
Ken Martin aef8110c36 added test of SET CACHE FORCE 2002-10-09 15:54:34 -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 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 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
Brad King 3d3caacf9e ENH: Added test for IF inside a FOREACH. 2002-07-16 17:42:56 -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 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
Bill Hoffman 27fe57b716 ENH: change LINK_LIBRARY to add to targets 2002-05-02 13:17:10 -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 0415b58573 ENH: backwards compatible for VTK 4.0, add cmake version requires 2002-04-17 16:16:06 -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 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 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 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
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
Bill Hoffman 7d76de4403 make sure ; expansion is done in all commands 2002-03-29 14:20:32 -05:00
Sebastien Barre 85b286f04e ENH: add a more stressing FOREACH test. 2002-03-27 13:54:31 -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 e0f36dbfba ENH: Use ${CMAKE_CFG_INTDIR} instead of hardcoded RelInfo, Debug, Release, etc. 2002-03-26 14:41:33 -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
Sebastien Barre ac1f2bcf6b Just rename dir 2002-01-22 15:57:40 -05:00
Sebastien Barre a249b4d188 Coverage for OUTPUT_REQUIRED_FILES 2002-01-22 13:30:06 -05:00
Sebastien Barre 0660ea09c5 Add warnings/infos 2002-01-21 15:30:37 -05:00
Sebastien Barre 5325be37b6 Comment test OUTPUT_REQUIRED 2002-01-21 10:22:51 -05:00
Sebastien Barre 6f3570656c Increase Coverage. 2002-01-20 01:58:57 -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 c26008ccf3 ENH: Increase test + coverage 2002-01-18 20:32:06 -05:00
Sebastien Barre b6bdbc54fc ENH: Increase test + coverage 2002-01-18 19:21:43 -05:00