Commit Graph

235 Commits

Author SHA1 Message Date
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
Brad King 7ad07e0811 BUG: Fix link flags on cygwin shared libraries. This requires that the shared library prefix be supported in the link library regex. 2006-10-05 15:08:20 -04:00
Brad King 97e07dc162 BUG: Test -isystem without affecting other tests. Made separate Library/SystemDir for this purpose. 2006-10-05 12:04:30 -04:00
Brad King 16b781360c BUG: Run testSystemDir test only if -isystem flag is available. 2006-10-05 11:30:44 -04:00
Brad King c11cf31c9b ENH: Adding SYSTEM option to INCLUDE_DIRECTORIES command. This addresses bug #3462. 2006-10-05 08:55:59 -04:00
Brad King fcd500289b ENH: Renamed NOT_IN_ALL to EXCLUDE_FROM_ALL. 2006-10-02 12:01:20 -04:00
Brad King 1d9f287af7 ENH: Added NOT_IN_ALL option for ADD_LIBRARY and ADD_EXECUTABLE to avoid building the targets by default. 2006-10-02 11:14:00 -04:00
Brad King 16f8da8b14 ENH: Re-enabling .i rule test on MSYS now that it works. 2006-09-28 10:41:19 -04:00
Brad King f785ae9ac3 ENH: Re-enable preprocessing target test but specifically disable it on broken platforms. 2006-09-27 14:27:07 -04:00
Brad King 1ce1c5762b BUG: Disable new test_preprocess target until it is fixed on OSX universal binaries and mingw. 2006-09-24 10:28:47 -04:00
Brad King 13380569f3 ENH: Adding test for running preprocessor rules. 2006-09-23 16:55:16 -04:00
Ken Martin a6e63f3a61 ENH: added test for elseif 2006-09-22 11:49:56 -04:00
Brad King 07ec25e383 ENH: Added test for linking to a static library that is next to a shared library. See bug#1644 for related changes. 2006-09-15 14:31:24 -04:00
Brad King 24b55bfe11 BUG: Make sure sources with unknown extensions are not compiled by VS. 2006-08-03 09:26:36 -04:00
Brad King 1973efbab2 ENH: Adding test for source files and header files with the same base name in the same target. 2006-08-01 10:49:15 -04:00
Brad King 9a74185695 BUG: Fix REMOVE_DEFINITIONS command to not remove substrings. 2006-05-23 12:51:26 -04:00
Brad King 21089bf93f BUG: INCLUDE_DIRECTORIES should interpret relative path arguments with respect to the current source directory. 2006-05-12 10:54:09 -04:00
Brad King 5f20340c2a BUG: Disabling an EXECUTE_PROCESS test until problems on UNIX systems are fixed. 2006-05-08 10:02:28 -04:00
Bill Hoffman 1c44342cff ENH: remove duplicate file name test because it fails on xcode 2006-04-17 18:10:16 -04:00
Bill Hoffman 0f8603acc2 ENH: allow multiple files with the same name in different sub dirs test 2006-04-17 13:59:23 -04:00
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 1b6e55933b ENH: Strengthened EXECUTE_PROCESS output check test. 2006-02-10 11:47:18 -05:00
Brad King e666b8e825 BUG: Avoid case problems on windows. 2006-02-09 18:39:00 -05:00
Brad King 9787e55ee8 ENH: Added test for new EXECUTE_PROCESS command. 2006-02-03 17:09:35 -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 e37d8867b8 BUG: Flush the EXECUTABLE and LIBRARY output path to internal 2006-01-02 14:33:16 -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 859b517518 ENH: remove requirements on 1.2 2005-06-08 14:11:25 -04:00
Ken Martin 2e4258efc1 ENH: shift to using ADD_SUBDIRECTORY 2005-06-08 12:26:32 -04:00
Ken Martin d94deaea1a ENH: removed old commands 2005-06-02 14:56:50 -04:00
Ken Martin f5a81617ec ENH: removed use of ABSTRACT command 2005-06-02 14:10:37 -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
Andy Cedilnik 2eb42a533e ENH: Remove warnings 2004-04-30 18:21:55 -04:00
Andy Cedilnik 28f6e1b194 ENH: Add ARGV and ARGN support to MACRO command. ARGV is the list of all arguments and ARGN is the list of all nonexpected arguments 2004-04-29 17:41:33 -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 62fec9b386 BUG: remove bundle_loader stuff it did not work with spaces in the path and is not needed for this test 2003-08-28 14:58:37 -04:00
Yves Starreveld 2ff4690192 ENH: remove the -flat_namespace and -undefined suppress hacks from
ENH: CMAKE_SHARED_MODULE_CREATE_C_FLAGS
ENH: and fix the complex example to specify a -bundle loader for the
ENH: shared module that it builds.
2003-08-27 20:35:18 -04:00
Bill Hoffman a35d911def ENH: MinGW build now passes all the tests 2003-08-27 16:42:01 -04:00
Bill Hoffman 5523c4a967 BUG: fix the test 2003-08-07 16:54:45 -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
Andy Cedilnik b133b832fd Remove bogus flags from cmStandardIncludes and make complex test pass 2003-03-26 10:45:23 -05:00
Bill Hoffman 62314ea808 BUG: fix REMOVE test 2003-03-21 11:33:30 -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
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 b9d5389bca BUG: fix CMAKE_C_FLAGS for visual studio 6, and add a test case 2003-01-13 09:30:48 -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 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
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
Ken Martin aef8110c36 added test of SET CACHE FORCE 2002-10-09 15:54:34 -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
Bill Hoffman 31f80f19ae add rpcrt4.lib because of CMakeLib needing it 2002-08-30 09:54:48 -04:00