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
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
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
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
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
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
Bill Hoffman
e9e69b7e5e
fix borland test
2002-05-03 18:10:49 -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
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
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
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