Bill Hoffman
3a32cec969
ENH: merge in changes for beos support
2006-12-04 17:26:41 -05:00
Bill Hoffman
5ff037e894
BUG: better fix for .dll.lib problem
2006-11-30 17:32:46 -05:00
Bill Hoffman
4c87d57e71
ENH: make it work for hp
2006-11-30 09:51:07 -05:00
Bill Hoffman
9eb1ec3efe
ENH: add extern for hp c compiler
2006-11-29 21:53:52 -05:00
Bill Hoffman
445e091ffa
ENH: fix test to run with debug or release and put the exe next to the dll, still shows the bug this is testing for
2006-11-29 21:36:13 -05:00
Bill Hoffman
b56a60d01e
ENH: fix errors for unix builds
2006-11-29 17:45:55 -05:00
Bill Hoffman
46f8ed0648
BUG: fix a problem where it tried to link .dll.lib files
2006-11-29 15:58:19 -05:00
Bill Hoffman
f2e8fd06c2
ENH: make sure things do not depend on optimized libraries if they are debug, and the other way around as well
2006-11-27 16:13:41 -05:00
Bill Hoffman
31a576abe6
ENH: add a test for a target name with the same name as the output of a custom command
2006-11-27 15:14:42 -05:00
Bill Hoffman
fb8a239f94
ENH: make sure it is qt3 before running test
2006-11-22 14:22:43 -05:00
Bill Hoffman
651fecee5b
ENH: make sure findqt3 finds qt3 and not qt4
2006-11-22 13:30:59 -05:00
Brad King
4400842135
ENH: Added test case for bug#3966.
2006-10-30 10:38:55 -05:00
Brad King
9b8f479e01
ENH: Re-enabling # escape test now that it is implemented everywhere.
2006-10-25 11:23:23 -04:00
Brad King
9e29a742a9
BUG: EQUAL -> STREQUAL for string comparison.
2006-10-25 10:58:30 -04:00
Andy Cedilnik
f1a0e48082
BUG: Attempt to fix the test
2006-10-25 09:54:17 -04:00
Brad King
ee9341079f
BUG: Disable testing of # escapes until it can be implemented for Watcom WMake.
2006-10-24 09:47:04 -04:00
Brad King
87dcfb54c4
ENH: Added # character for shell escaping.
2006-10-23 17:20:59 -04:00
Brad King
b25629efc4
ENH: Remove old IF(FILE_IS_NEWER) syntax. It was never in a release anyway.
2006-10-23 17:14:20 -04:00
Brad King
d1a9c93119
ENH: Patch from Alex to provide nicer syntax for FILE_IS_NEWER. Using name IS_NEWER_THAN so old syntax will continue to work.
2006-10-23 13:37:24 -04:00
Brad King
21a56b7df7
COMP: Fixed typo: CMAKE_TEST_CMAKELIB -> COMPLEX_TEST_CMAKELIB.
2006-10-22 11:57:11 -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
Brad King
30235517f8
BUG: Need to collapse path argument to get_directory_property. This addresses bug#3847.
2006-10-16 15:18:03 -04:00
Andy Cedilnik
3206db15b3
ENH: Properly propagate config type to test
2006-10-13 17:10:48 -04:00
Andy Cedilnik
df1ff57498
ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX
2006-10-12 13:30:00 -04:00
Andy Cedilnik
e31dc3abe5
ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX
2006-10-12 13:05:50 -04:00
Brad King
b20fd1af11
BUG: Do not collapse the INSTALL_NAME_DIR setting because users may intend to have .. in the path. This makes the makefile generator consistent with the already working Xcode implementation of this feature. Also added a test for @executable_path/.. style settings for this property.
2006-10-11 12:41:20 -04:00
Brad King
0fe0523810
BUG: Fixed out-of-source subdirectories to work when they are also out-of-binary. Updated the OutOfSource test to test this feature.
2006-10-09 21:25:58 -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
934c804ea4
ENH: Added OPTIONAL option to INSTALL command to allow installation of files if they exist while ignoring them otherwise. This addresses bug#2922.
2006-10-05 11:31:57 -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
9f52b7d2da
ENH: Adding test of special characters in custom command and custom target comments.
2006-10-04 18:57:59 -04:00
Brad King
5a6b0792cd
ENH: Added COMMENT option to ADD_CUSTOM_TARGET. This addresses bug#3461.
2006-10-04 18:10:30 -04:00
Brad King
2dfa2ba888
ENH: Added APPEND option to ADD_CUSTOM_COMMAND to allow extra dependencies to be connected later. This is useful to create one rule and then have a macro add things to it later. This addresses bug#2151.
2006-10-04 15:24:26 -04:00
Brad King
523075ded5
BUG: Do not replace @VAR@ syntax in list files. This addresses bug #2722 .
2006-10-04 14:37:42 -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
bb01a0d6ba
COMP: Fix command line check test implementation for Watcom.
2006-10-02 10:17:22 -04:00
Brad King
d01b6f1281
ENH: Added VERBATIM option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET commands. This option enables full escaping of custom command arguments on all platforms. See bug#3786.
2006-09-28 11:30:49 -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
c1b4a0bf74
BUG: Disable new shell escape code until backward compatibility can be established in the new implementation.
2006-09-25 10:22:48 -04:00
Brad King
97c97730a6
BUG: Character + should be valid in a variable name.
2006-09-25 10:05: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
c27e9fd656
COMP: Need ANSI C flags to build check_command_line.c.
2006-09-22 08:42:45 -04:00
Brad King
ca22f0f14b
ENH: Adding test for non-trivial custom command line arguments. This is for bug#3786.
2006-09-21 16:11:25 -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
1d0502927c
ENH: Adding support to link specifically to an archive or a shared library based on the file name specified. This fixes the problem of having -lfoo linking to libfoo.so even when it came from libfoo.a being specified.
2006-09-15 14:09:10 -04:00
Brad King
27a67fb72f
ENH: Add support to INSTALL(DIRECTORY) to install an empty directory. This addresses bug#3572.
2006-08-29 15:04:29 -04:00
Brad King
6449089436
ENH: Patch from Alex for adding IF(FILE_IS_NEWER). I also added a test.
2006-08-25 16:31:07 -04:00
Andy Cedilnik
3ef750a42c
ENH: Always do tar.Z since we do have compress now builtin
2006-08-24 10:57:27 -04:00
Brad King
93163cc1f9
ENH: Added code to remove any bad installations of CVS directories before running the test so that one failure does not need manual adjustment to get it to pass again.
2006-08-24 09:47:52 -04:00
Brad King
a2b89129de
ENH: Added check for bad installation of a CVS directory to test.
2006-08-21 17:52:34 -04:00
Brad King
08398a9f0c
BUG: Need to execute sample_script.bat on windows and sample_script otherwise.
2006-08-21 17:37:40 -04:00
Brad King
bed79f6c6b
ENH: Implemented INSTALL(DIRECTORY) command and added a test. Re-organized cmFileCommand's implementation of FILE(INSTALL) a bit to help out. This addresses bug#1694 and partially addresses bug#2691.
2006-08-21 16:55:03 -04:00
Bill Hoffman
372b6932ed
ENH: fix error in if statement
2006-08-10 23:20:58 -04:00
Bill Hoffman
4ddcdbed9a
ENH: fix failing tests
2006-08-10 09:38:52 -04:00
Bill Hoffman
fe3d8078c5
ENH: try to fix compress failure
2006-08-09 11:32:23 -04:00
Bill Hoffman
bba6583942
ENH: finally fix the failing test on the dashboard for the past month or so
2006-08-07 10:10:38 -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
Andy Cedilnik
0de464fe36
ENH: Add test for bz2 and check for compress
2006-07-28 09:22:34 -04:00
Bill Hoffman
60e4fef0c6
ENH: do not use c++ comments in c code
2006-07-26 09:11:04 -04:00
Ken Martin
16a15f3e5e
BUG: remove command causing issues with mid build reruns of cmake on vs70
2006-07-25 14:32:55 -04:00
Ken Martin
2433bf4517
ENH: trying a slight change
2006-07-25 12:38:17 -04:00
Ken Martin
814c7e12ab
BUG: remove c++comments
2006-07-25 10:46:24 -04:00
Ken Martin
284f6c6835
BUG: temp fix
2006-07-24 16:35:32 -04:00
Ken Martin
42819b7a5d
ENH: add more coverage
2006-07-24 15:40:52 -04:00
Ken Martin
53549a6426
ENH: more coverage
2006-07-24 09:43:11 -04:00
Brad King
3c9744f406
ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script.
2006-07-21 15:43:19 -04:00
Ken Martin
ad748ce26e
BUG: work around XCode issue
2006-07-21 14:05:32 -04:00
Brad King
673e3f8964
ENH: Adding C++-only test.
2006-07-21 11:43:26 -04:00
Ken Martin
0189ce3424
ENH: increase coverage in a couple places
2006-07-21 10:26:05 -04:00
Brad King
ccfab2622b
ENH: Adding test for multiple source files with the same name but different full paths.
2006-07-07 09:54:29 -04:00
Andy Cedilnik
9dffe62736
ENH: Improve the test to create a bundle in the subdirectory
2006-07-06 16:05:54 -04:00
Andy Cedilnik
24e6ffae36
BUG: If the source file specified is not in a source tree, do not use full path to the file
2006-07-05 16:27:44 -04:00
Ken Martin
8e9a6beccc
ENH: centralized locaiton of CMakeFiles setting
2006-06-14 12:28:32 -04:00
Brad King
c32b8c196d
COMP: More fixes for non-ANSI C compilers.
2006-06-03 09:48:39 -04:00
Brad King
9af54c440d
COMP: Fix for non-ANSI C compilers.
2006-06-03 09:42:14 -04:00
Brad King
e1c110d244
BUG: Custom commands should actually generate the files they claim to generate.
2006-06-02 12:19:16 -04:00
Brad King
09f2be12b8
ENH: Added test for generation of files listed explicitly as sources but not used during the build of a target.
2006-06-01 13:01:31 -04:00
Brad King
9a74185695
BUG: Fix REMOVE_DEFINITIONS command to not remove substrings.
2006-05-23 12:51:26 -04:00
Andy Cedilnik
ed1ea24cef
ENH: Fix INSERT to allow inserting to empty list
2006-05-15 10:14:16 -04:00
Andy Cedilnik
cb2a9be622
ENH: Change REMOVE and REMOVE_ITEM to REMOVE_AT and REMOVE_ITEM
2006-05-15 09:57:49 -04:00
Andy Cedilnik
3b92585cf0
ENH: Remove some errors, fix append to work on nonexisting lists
2006-05-15 09:25:06 -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
Brad King
50a0f71120
ENH: Added CONFIGURATIONS option to INSTALL command to allow per-configuration install rules.
2006-05-05 14:57:19 -04:00
Brad King
66d7aef82b
ENH: Adding COMPONENT option to an INSTALL command call to smoke-test it.
2006-05-05 11:51:07 -04:00
Bill Hoffman
1794836ee3
ENH: fix build c stuff with c and c++ with c++
2006-05-04 13:35:56 -04:00
Bill Hoffman
bff279c615
ENH: create the correct jar name
2006-04-23 23:24:48 -04:00
Bill Hoffman
1198106e3c
ENH: use the right name for the test
2006-04-23 15:34:34 -04:00
Bill Hoffman
e5fdf8335c
ENH: fix build
2006-04-23 11:10:41 -04:00
Bill Hoffman
b663e221da
ENH: fix in source build for vs ide
2006-04-22 09:13:07 -04:00
Brad King
428b4c9244
ENH: Updated VS6 generator to use target.GetFullName() to compute target file names.
2006-04-18 11:45:31 -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
58d0c5e176
COMP: Do not use ANSI function prototypes to pacify HP.
2006-04-13 15:28:57 -04:00
Brad King
d4c5fe840b
ENH: Added INSTALL(CODE) mode to allow inline specification of install script code. This reduces the need for configuring an install script that needs some variable settings because the install code can set thing up first.
2006-04-12 22:04:50 -04:00
Brad King
d5719f22c1
ENH: Added support for multiple outputs generated by a single custom command. For Visual Studio generators the native tool provides support. For Xcode and Makefile generators a simple trick is used. The first output is considered primary and has the build rule attached. Other outputs simply depend on the first output with no build rule. During cmake_check_build_system CMake detects when a secondary output is missing and removes the primary output to make sure all outputs are regenerated. This approach always builds the custom command at the right time and only once even during parallel builds.
2006-04-11 11:06:19 -04:00
Bill Hoffman
3df8a59374
ENH: add test for mfc
2006-04-10 13:52:22 -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
Bill Hoffman
4fd3292d04
ENH: add a test for find framework stuff in find_library, and fix the framework search stuff
2006-03-29 13:33:49 -05:00
Andy Cedilnik
386900bfdd
ENH: Several cleanups and make sure things get propagated where they should. Also, allow to load CTest custom files to the actual ctest -S script
2006-03-29 12:01:24 -05:00
Andy Cedilnik
ad380d6b8b
BUG: Fix the read custom files command and add a coverage test
2006-03-28 16:36:48 -05:00
Andy Cedilnik
09b4b2d62c
ENH: Check if files exist
2006-03-28 13:23:10 -05:00
Andy Cedilnik
40272a16bd
ENH: Add support for adding content to bundles
2006-03-28 08:54:01 -05:00
Brad King
ca5647c92c
ENH: Added ARCHIVE option to the TARGETS mode of the INSTALL command. It is a third option added to RUNTIME and LIBRARY property types. Static libraries and import libraries are now treated as ARCHIVE targets instead of LIBRARY targets. This adds a level of granularity necessary for upcoming features. Also updated the CVS CMake patch level set in CMake_VERSION_PATCH from 4 to 5 to allow users of this version to know whether this incompatible change is present.
2006-03-24 16:11:24 -05:00
Ken Martin
6ccc18bc26
BUG: fix test to list generate dheader
2006-03-24 12:20:46 -05:00
Bill Hoffman
f7c1723135
ENH: add support for universal binaries
2006-03-24 09:15:05 -05:00
Ken Martin
eb773486f3
ENH: added testing for new features
2006-03-22 15:01:22 -05:00
Andy Cedilnik
d41f97a5e6
ENH: Add relative tag and add test for relative tag
2006-03-21 16:03:19 -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
Andy Cedilnik
4909154387
ENH: Add package to bundle test
2006-03-10 10:12:26 -05:00
Andy Cedilnik
3d44b9a354
ENH: Add additional subdirectory to improve testing and to allow cleanup when testing cpack
2006-03-08 14:02:30 -05:00
Andy Cedilnik
27b9ab47c2
COMP: Ok, fix typo
2006-03-08 13:20:18 -05:00
Andy Cedilnik
cd62290147
ENH: Add testing for cpack
2006-03-08 13:13:48 -05:00
Bill Hoffman
d03c92bfb3
ENH: remove cpack stuff for now so that we can get mac dashboards again
2006-03-07 19:52:49 -05:00
Brad King
2caa6bb7e6
BUG: Some platforms require executable permission on shared libraries.
2006-03-07 10:04:29 -05:00
Brad King
06846c4c07
ENH: Added PERMISSIONS option to the TARGETS mode of the INSTALL command.
2006-03-03 19:29:35 -05:00
Brad King
a2e136fd17
ENH: Added PERMISSIONS and RENAME options to the INSTALL command's FILES and PROGRAMS mode, and corresponding support to FILE(INSTALL). Default permissions for shared libraries on non-Windows/non-OSX platforms no longer has the execute bit set.
2006-03-03 18:44:32 -05:00
Brad King
93c95f1cc5
BUG: Fixed installation of MacOSX Bundle executables and the corresponding install_name remapping support. Extended the BundleTest test to check that this all works. Part of these fixes required changing the signature of AppendDirectoryForConfig in all generators. It now accepts prefix and suffix strings to deal with whether leading or trailing slashes should be included with the configuration subdirectory.
2006-03-03 12:58:48 -05:00
Andy Cedilnik
a87de1e1cd
ENH: Add generic instructions
2006-02-28 14:06:39 -05:00
Andy Cedilnik
3341923ecb
ENH: Attempt to handle windows without NSIS installed
2006-02-28 13:30:11 -05:00
Andy Cedilnik
36d7f3990a
ENH: Add support for multiple build targets and start adding simple cpack tests
2006-02-28 08:23:40 -05:00
Brad King
586a9427d3
ENH: Created target property INSTALL_NAME_DIR initalized by CMAKE_INSTALL_NAME_DIR specifying the directory portion of the OSX install_name field in shared libraries. This is the OSX equivalent of RPATH.
2006-02-24 13:13:14 -05:00
Brad King
518080136d
ENH: Implemented FILES and PROGRAMS forms of the INSTALL command as replacements for the INSTALL_FILES and INSTALL_PROGRAMS commands. This addresses the request for absolute path install destinations in bug#2691.
2006-02-19 18:47:13 -05:00
Brad King
8d27255aef
ENH: Using CMAKE_SKIP_BUILD_RPATH to test relink support.
2006-02-19 17:44:45 -05:00
Brad King
96f0266228
ENH: Created new install script generation framework. The INSTALL command creates the generators which are later used by cmLocalGenerator to create the cmake_install.cmake files. A new target installation interface is provided by the INSTALL command which fixes several problems with the INSTALL_TARGETS command. See bug#2691. Bugs 1481 and 1695 are addressed by these changes.
2006-02-19 15:25:27 -05:00
Brad King
98a187a8d4
ENH: Automatic include directories should not be done by default as was just implemented. Instead a project may now set CMAKE_INCLUDE_CURRENT_DIR to get this behavior. The current source and binary directories are added automatically to the beginning of the include path in every directory. This simulates in-source behavior for double-quote includes when there are generated sources and headers in the directory.
2006-02-19 13:10:25 -05:00
Brad King
ad2cc1f333
BUG: Need INSTALL_RPATH property on SimpleInstallS2 also.
2006-02-16 15:38:59 -05:00
Brad King
c70da1aae6
ENH: Use target property for INSTALL_RPATH of SimpleInstall so that it is the only one that needs to relink.
2006-02-16 15:28:09 -05:00
Brad King
537e2b4ed5
ENH: Implemented RPATH specification support. It is documented by the command SET_TARGET_PROPERTIES.
2006-02-16 15:19:00 -05:00
Brad King
9762573aa9
COMP: Fixed form of function main.
2006-02-14 15:15:48 -05:00
Brad King
de8080c76f
ENH: Added test for IF(DEFINED ENV{var})(.
2006-02-10 15:45:27 -05:00
Andy Cedilnik
f87271d0ea
ENH: Add initial implementation of the list command
2006-02-10 14:11:12 -05:00
Brad King
b8a33fb424
ENH: Added INSTALL command as a placeholder for a future generic install specification interface. Currently it supports only a SCRIPT option specifying a script to run during the install stage.
2006-02-10 13:54:36 -05:00
Brad King
1b6e55933b
ENH: Strengthened EXECUTE_PROCESS output check test.
2006-02-10 11:47:18 -05:00
Bill Hoffman
aacd51034a
ENH: fix test to work with in source build
2006-02-10 10:30:20 -05:00
Brad King
e666b8e825
BUG: Avoid case problems on windows.
2006-02-09 18:39:00 -05:00
Bill Hoffman
7a3ed4644b
ENH: add test for working directory of custom command and target
2006-02-08 11:33:40 -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
Ken Martin
4bdca3b404
ENH: put CmakeTmp into CMakeFiles
2006-01-12 13:49:32 -05:00
Bill Hoffman
c3a7680dc6
ENH: add test for generated header
2006-01-09 14:56:29 -05:00
Bill Hoffman
a91947039a
ENH: for all custom commands that can not be given to a target, add them to all targets in the current makefile
2006-01-09 14:40:31 -05:00
Bill Hoffman
2c73d2e0f3
ENH: add new cmakedefine01 feature from bug report 2603
2006-01-03 16:40:51 -05:00
Bill Hoffman
9d0f86d7d0
BUG: force EXECUABLE and LIBRARY output paths so bad cache entries do not fail tests
2006-01-02 15:01:43 -05:00
Andy Cedilnik
e37d8867b8
BUG: Flush the EXECUTABLE and LIBRARY output path to internal
2006-01-02 14:33:16 -05:00
Brad King
2166bdfeac
ENH: Simplified ln command to use relative path in symlink.
2005-12-31 13:10:04 -05:00
Andy Cedilnik
6a9d13a32f
ENH: Add testing of symlinks too
2005-12-30 15:46:40 -05:00
Andy Cedilnik
8ff4919443
ENH: Add a tar test
2005-12-30 15:27:17 -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
Andy Cedilnik
0795d64a23
BUG: Fix test
2005-12-15 16:28:50 -05:00
Brad King
a9c2ff474e
COMP: Need target-level dependency from wrapper targets on Wrap executable target.
2005-11-17 16:49:48 -05:00
Brad King
70b4e1051e
BUG: Fixed support for external object files built by custom commands. Also added a test to keep it working.
2005-11-17 13:49:10 -05:00
Ken Martin
fed6dae8e9
ENH: some fixes
2005-11-10 15:13:54 -05:00
Ken Martin
5a007dc0e3
ENH: some fixes
2005-11-10 12:05:53 -05:00
Ken Martin
a41c41ec54
STYLE: fix spelling
2005-11-10 11:48:52 -05:00
Ken Martin
6f5a53618a
ENH: step 5
2005-11-10 10:51:25 -05:00
Ken Martin
699a97a504
ENH: step 4
2005-11-10 10:50:45 -05:00
Ken Martin
814f0a573a
ENH: step 3
2005-11-10 10:50:09 -05:00
Ken Martin
cf31168726
ENH: checkeed in step 1 and 2
2005-11-09 16:21:05 -05:00
Andy Cedilnik
8a5bb25614
ENH: More tests
2005-10-18 13:22:28 -04:00
Andy Cedilnik
427ed70363
ENH: Add math test
2005-10-17 16:39:58 -04:00
Andy Cedilnik
12ef4edf64
ENH: Add String length and substring
2005-10-17 09:56:42 -04:00
Andy Cedilnik
6e5cdd6de7
ENH: Add regular string replace (not regex), and relative path command. Also add tests
2005-10-17 09:10:20 -04:00
Ken Martin
8607e8008b
ENH: increase coverage in loaded commands
2005-09-20 12:50:27 -04:00
Ken Martin
fd26d148d8
ENH: test get directory properties ability to get props from subdirs
2005-09-13 10:40:38 -04:00
Ken Martin
9a326a48e7
ENH: convert to work with the new syntax for ADD_SUBDIRECTORY
2005-09-12 14:26:45 -04:00
Bill Hoffman
34170ed52e
ENH: more qt changes
2005-09-12 09:32:21 -04:00
Bill Hoffman
afbc9b7b07
ENH: clean up the find qt stuff some
2005-09-09 21:51:23 -04:00
Bill Hoffman
62ae06081e
ENH: use native Deployment and Development directories
2005-08-30 13:58:46 -04:00
Brad King
98e5119664
BUG: Install rule should take build configuration into account.
2005-08-19 17:56:26 -04:00
Brad King
8346edbff0
BUG: Removing exe VERSION attribute test until it is implemented in the XCode generator.
2005-08-19 09:22:14 -04:00
Brad King
861719c054
COMP: Avoid C++ comment in C translation unit.
2005-08-18 09:21:45 -04:00
Brad King
af5d324574
BUG: It seems the auto-object-depends feature does not work in Visual Studio. I'm restoring the explicit OBJECT_DEPENDS lines.
2005-08-17 17:56:14 -04:00
Brad King
b0d05cf020
ENH: Updated SimpleInstall test to test new versioned executable and OUTPUT_NAME support.
2005-08-17 16:19:33 -04:00
Brad King
1774d306ee
ENH: Adding test for auto-object-depends feature. It has been tested with the Makefile generator. Hopefully this will work for the Visual Studio and XCode generators.
2005-08-17 11:48:05 -04:00
Bill Hoffman
e59e9d0e59
ENH: fix bug 2087 lib prefix stripped off on windows
2005-08-10 12:55:41 -04:00
Brad King
2c658a6300
BUG: Need TSD target to be built before SimpleInstall.
2005-08-08 11:33:47 -04:00
Andy Cedilnik
e3d4eb3715
COMP: Fix for proxy test
2005-08-03 11:50:42 -04:00
Andy Cedilnik
8d62804b3a
COMP: Try to fix test by taking arg1 into acount
2005-08-02 10:07:30 -04:00
Bill Hoffman
12ed2c85d9
ENH: make sure CMAKE_C_FLAGS are not clobbered
2005-08-01 09:44:44 -04:00
Andy Cedilnik
10b6e2a621
ENH: Add C++ test too
2005-07-31 23:05:05 -04:00
Andy Cedilnik
e898324778
ENH: Add a test for C source file like AC_TRY_COMPILE
2005-07-31 23:02:22 -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
Ken Martin
c6b011e35e
ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree
2005-07-29 09:19:25 -04:00
Andy Cedilnik
5b26fefd60
ENH: Add support for multi-string compiler name, and improve support for subversion
2005-07-26 09:17:00 -04:00
Andy Cedilnik
3d84afe571
ENH: Several improvements and cleanups:
...
1. Add long command line arguments for every argument
2. Add a way to overwrite CTest configuration by providing --overwrite TimeOut=10
3. Improve argument parsing.
4. Add submit index argument
2005-07-18 11:46:45 -04:00
Bill Hoffman
237e7d34f9
ENH: add missing files
2005-07-14 13:50:27 -04:00
Bill Hoffman
b7b35d2c5a
FIX: fix bug 2043 borland compiler and dll problem and add a test for it
2005-07-14 12:21:49 -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
Bill Hoffman
4214dd3c2a
ENH: add a bundle test
2005-07-13 15:43:40 -04:00
Ken Martin
f65b3b0971
BUG: minor fix to project name to match ADD_TEST call
2005-07-06 15:24:31 -04:00
Ken Martin
ba3b7c1588
ENH: added testing of the WHILE command
2005-06-30 13:39:38 -04:00
Ken Martin
d75a2f0861
ENH: convert to lower case
2005-06-27 12:45:55 -04:00
Andy Cedilnik
b60d8a7640
ENH: Perform second test if subversion exists
2005-06-23 13:07:03 -04:00
Ken Martin
6b466654dc
COMP: converted to lowercase commands
2005-06-20 11:49:29 -04:00
Andy Cedilnik
d7756a8ff7
ENH: Skip svn test for now
2005-06-20 07:42:28 -04:00
Andy Cedilnik
4b5559fa2e
ENH: Make CVS one nightly
2005-06-17 13:14:27 -04:00
Andy Cedilnik
a7b3ae8c44
ENH: Add subversion test
2005-06-17 13:07:07 -04:00
Andy Cedilnik
6c1a83609e
ENH: Fix test on HP
2005-06-17 08:45:01 -04:00
Andy Cedilnik
73fe7c316a
ENH: Return error if there is an ERROR_MESSAGE. Also fix tag for the test
2005-06-16 16:24:39 -04:00
Andy Cedilnik
c34696021d
ENH: Add test of macro
2005-06-16 14:56:28 -04:00
Andy Cedilnik
bb6203f970
ENH: Initial import
2005-06-16 13:29:59 -04:00
Andy Cedilnik
2cc5ed49d1
ENH: Several improvements to CTest:
...
1. Support for showing line numbers when debugging ctest --show-line-numbers
2. Modify the ctest initialization code, so that it can be delayed
3. Handlers now have corresponding command if they were invoked from the command (so far only update actually use that)
4. Start command is simplified and the functionality is moved to CTest
5. Update can perform initial checkout if CTEST_CHECKOUT_COMMAND is set
6. Add test that checks out kwsys and perform tests on the fresh checkout
2005-06-16 13:18:21 -04:00
Ken Martin
0fa7565407
ENH: add same name test
2005-06-16 11:47:29 -04:00
Andy Cedilnik
65b1771332
BUG: Fix typo
2005-06-15 10:54:04 -04:00
Andy Cedilnik
307b01002d
ENH: Also perform memory checking and coverage
2005-06-14 14:01:06 -04:00
Ken Martin
e1870805b4
ENH: change to work with new FLTK command
2005-06-10 10:09:39 -04:00
Ken Martin
d053034aa4
ENH: no longer test ITK command
2005-06-09 11:23:22 -04:00
Ken Martin
25314c428a
ENH: remove bad add target commands
2005-06-08 16:39:56 -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
Andy Cedilnik
ac3dfc716a
ENH: Cleanup
2005-06-08 09:52:24 -04:00
Andy Cedilnik
6af66e8b20
ENH: Add capability to include files to DartTestfile.txt and add example of that
2005-06-07 09:57:05 -04:00
Andy Cedilnik
26765e815f
ENH: Test setting of environment variables
2005-06-03 14:42:05 -04:00
Ken Martin
1dfe02fb86
ENH: removed old command
2005-06-02 15:09:34 -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
Andy Cedilnik
1b35cabc27
ENH: Add notes
2005-05-08 13:49:06 -04:00
Andy Cedilnik
3254c25e4f
ENH: Add new style ctest project
2005-05-05 10:19:09 -04:00
Brad King
3a81832bb3
BUG: Avoid infinite loop during installation.
2005-04-28 11:47:48 -04:00
Brad King
b5aafa7ef1
BUG: Use copy to produce doc1pre.txt instead of echo. The redirection does not like forward slashes on Win9x.
2005-04-27 09:12:41 -04:00
Brad King
0af2597bd8
ENH: Added pre-build and post-build test for custom targets.
2005-04-26 11:55:20 -04:00
Ken Martin
f33c633c40
ENH: also test for correct Proj dir settings
2005-04-12 09:35:40 -04:00
Brad King
1c4337d778
ENH: Removed CMAKE_GENERATOR_NEW now that the old unix makefile generator is never used.
2005-04-06 15:06:08 -04:00
Ken Martin
179dc3c7ac
ENH: better test for subdirs
2005-03-29 15:33:46 -05:00
Ken Martin
345cf04012
ENH: big change that includes immediate subdir support, removing the notion of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings
2005-03-18 10:41:41 -05:00
Brad King
db10dc0f1e
BUG: Do not add Qt wrapping test unless QT is found and QT_UIC_EXECUTABLE is found.
2005-03-16 09:55:08 -05:00
Ken Martin
f7c024df2a
ENH: added new test for out of dir source trees
2005-03-14 11:26:32 -05: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
7da6124416
ENH: Added test for multiple commands in a custom command.
2005-02-22 12:04:02 -05:00
Brad King
94a3e4be53
BUG: We still want to print out the location where the object was found if it was found by the glob.
2005-02-18 15:43:29 -05:00
Bill Hoffman
785b0dc012
ENH: all tests are passing for XCode
2005-02-18 13:32:51 -05:00
Brad King
e64f3c8b67
BUG: Fix for space in path for chdir test. We just need to double-quote the arguments.
2005-02-17 07:53:03 -05:00
Bill Hoffman
ee0db4aeb4
BUG: fix CommandLine test problems with spaces and testing for the return value
2005-02-16 13:15:25 -05:00
Brad King
eb9164bf0e
ENH: Added Fortran 90 test if the platform supports it.
2005-02-15 09:01:14 -05:00
Andy Cedilnik
d04a07e0c9
COMP: Try to fix test on HP
2005-02-14 16:15:18 -05:00
Brad King
87b7b8d1f1
COMP: Need ANSI flags for C executable.
2005-02-14 08:44:32 -05:00
Brad King
4931afd89d
ENH: Adding cleaning of custom command outputs during "make clean".
2005-02-09 11:40:01 -05:00
Brad King
41b2216594
ENH: Adding test of "make clean".
2005-02-09 09:21:01 -05:00
Andy Cedilnik
25cc03fd6f
ENH: Display all output in ctest
2005-02-08 10:13:30 -05:00
Brad King
16b9edd17b
ENH: Added partial test for include regular expressions.
2005-02-07 16:18:02 -05:00
Brad King
f765a56de7
BUG: Need to include full output to be a useful test.
2005-02-07 09:05:04 -05:00
Brad King
ec4fcb87f2
ENH: Updated post-build command to drive installation through the native build system.
2005-02-05 07:50:15 -05:00
Brad King
81b8aafb7a
ENH: Adding test for external object file feature.
2005-02-04 13:58:11 -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
160c32e529
BUG: add a test for a single char dir, and fix bug introduced in 1.53, but we still can not handle a space as the start of a directory name
2004-11-01 16:57:05 -05:00
Bill Hoffman
5eda379907
ENH: clean up loaded command test so you can tell what really failed
2004-10-25 15:08:05 -04: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
7ed631311c
FIX: fix RunSingleCommand to work with spaces in the path, and with an already quoted command
2004-10-25 11:59:50 -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
Andy Cedilnik
bb20ea5060
ENH: Display version of ctest first
2004-10-19 13:25:30 -04:00
Andy Cedilnik
f38a28f044
ERR: Fix problems on windows
2004-10-19 10:59:34 -04:00
Andy Cedilnik
9cbfe0e0b9
ENH: Propagate more things
2004-10-17 19:02:11 -04:00
Andy Cedilnik
9a92c429f2
ENH: Propagate MEMORYCHECK_COMMAND and COVERAGE_COMMAND to the CTest test
2004-10-17 18:50:18 -04:00
Andy Cedilnik
7e3c70082a
BUG: Use kwsys from the source tree
2004-10-04 12:02:38 -04:00
Andy Cedilnik
c75c2a8e99
ENH: Better sorting of results
2004-10-04 08:06:30 -04:00
Andy Cedilnik
c20b14de9b
BUG: Fix problem with spaces in the path
2004-10-03 07:27:53 -04:00
Andy Cedilnik
1b0ee0bd91
ENH: Use existing CTest and cmake
2004-10-01 13:10:33 -04:00
Andy Cedilnik
1b07b740d7
ENH: Let us recognize it on the dashboard
2004-10-01 11:13:04 -04:00
Andy Cedilnik
74b07fcf96
ENH: Do kwsys instead of CMake
2004-09-30 18:45:08 -04:00
Bill Hoffman
80050d9541
clean up output of test and force verbose makefiles
2004-09-27 13:03:36 -04:00
Bill Hoffman
74b3924edd
try and get this java test to work
2004-09-24 16:34:59 -04:00
Bill Hoffman
0a26f8d46c
ENH: add some java code to try and find the system path
2004-09-24 15:40:40 -04:00
Bill Hoffman
5360480b5a
ENH: remove classpath so that this test passes with older java compilers that clober the system class path with the -classpath option
2004-09-24 11:05:15 -04:00
Bill Hoffman
8691def12a
use verbose makefiles
2004-09-22 17:41:04 -04:00
Bill Hoffman
effeac8aab
make it verbose
2004-09-22 16:51:00 -04:00
Bill Hoffman
692ba48c4e
ENH: major changes to support addition of languages from cmake modules directory.
2004-09-22 14:42:05 -04:00
Brad King
bc26a216b4
BUG#1179: Fix for syntax in unquoted arguments.
2004-09-20 08:51:12 -04:00
Ken Martin
cf7893b934
BUG: fix VSExternal for visual studio 6
2004-09-16 10:48:10 -04:00
Ken Martin
49b554c1b3
ENH: produce better output
2004-09-15 10:35:58 -04:00
Bill Hoffman
785371af59
ENH: add a test for external projects
2004-09-14 16:35:39 -04:00