Brad King
997ae66cbb
Fix CHECK_(C|CXX)_COMPILER_FLAG macro test
...
The flag "-_this_is_not_a_flag_" was not rejected by GCC 4.0 on older
Mac OS X. We now use "---_this_is_not_a_flag_" instead, which will
hopefully be rejected by all compilers.
2009-09-18 09:49:51 -04:00
Brad King
42857c747e
Test CHECK_(C|CXX)_COMPILER_FLAG macros
...
This teaches the TryCompile test to check that the compiler flag check
macros correctly reject a bad flag. See issue #9516 .
2009-09-17 15:33:12 -04:00
Brad King
229b67a249
Create CMake.ConfigureFile test for configure_file
...
This test checks that configure_file() handles input and output file
arguments as documented.
2009-09-16 15:09:58 -04:00
Brad King
d23d268e39
Factor out CMake.File test result check for re-use
...
The CMake.File test runs several scripts through "cmake -P" and checks
the output and result against known good values. This commit factors
out the checking code into a separate CMakeCheckTest module. The module
may be used by new tests.
2009-09-16 15:09:10 -04:00
Brad King
33207a9a87
Test add_subdirectory inside function
...
This commit teaches the FunctionTest to check variable scope behavior
when a subdirectory is added inside a function call. Any PARENT_SCOPE
sets in the subdirectory should affect only the function scope which
called add_subdirectory and not its parent scope.
2009-09-16 09:52:04 -04:00
Brad King
2541f30287
Test that CTest can handle missing newlines
...
We create test 'CTest.NoNewline' to print output with no newline.
This tests CTest's ability to handle a missing newline.
2009-09-11 16:39:07 -04:00
Brad King
14b12d0355
Enable C and C++ first in Fortran test
...
CMake now looks for a Fortran compiler matching any C or C++ compiler
already enabled. We test this by enabling C and C++ first in the
Fortran test, which is what user projects will likely do.
2009-09-09 16:39:53 -04:00
David Cole
002ae925c3
Use more verbose/descriptive names for the "public API" functions in the ExternalProject.cmake module. Follow the cmake function naming convention, using a ModuleFileName_ prefix. Locate stamp files under a CMAKE_CFG_INTDIR subdir of the stamp dir so that debug and release builds have separate stamp files for Visual Studio builds. If no CMAKE_GENERATOR argument is given to ExternalProject_Add, default to using the parent project's cmake generator.
2009-09-08 15:37:15 -04:00
Brad King
4e16813f63
Put custom commands in topological order for VS 10
...
Visual Studio 10 uses MSBuild to drive the build. Custom commands
appear in MSBuild files inside CustomBuild elements, which appear inside
ItemGroup elements. The Outputs and AdditionalInputs elements of each
CustomBuild element are evaluated according to timestamps on disk.
MSBuild does not use inputs/outputs to order CustomBuild steps within a
single ItemGroup or across multiple ItemGroup elements. Instead we must
put only unrelated CustomBuild elements in a single ItemGroup and order
the item groups from top to bottom using a topological order of the
custom command dependency graph.
This fixes CustomCommand and ExternalProject test failures, so we remove
the expectation of these failures.
2009-09-07 10:12:18 -04:00
Alexander Neundorf
f5bcc82b13
Add a test for FILE(READ ... HEX) together with a tiny binary file.
...
Alex
2009-09-06 10:26:24 -04:00
David Cole
5624be360e
Add test step to ExternalProject builds. Rename SVN_TAG to SVN_REVISION since it is a more accurate name.
2009-09-03 12:11:14 -04:00
Zach Mullen
659171d1f7
ENH: Added PARALLEL_LEVEL option for ctest_memcheck(). Added PROCESSORS option to set_tests_properties (implementation to come).
2009-09-03 10:47:14 -04:00
Brad King
06332c883f
Make CTest.UpdateGIT robust to user git config
...
Part of this test does "git pull" on a dirty work tree. We need to make
sure that 'branch.master.rebase' is false for the test repository.
Otherwise if it is true in the user configuration then pull will refuse
to rebase and the test will fail.
2009-09-01 15:41:43 -04:00
Brad King
07f029d6ef
Test the user package registry
...
We teach the FindPackageTest to build a sample project that stores its
build tree in the user package registry using export(PACKAGE), and then
find it with find_package.
2009-09-01 14:05:42 -04:00
Brad King
d259128894
Test link multiplicity export/import
...
We test that LINK_INTERFACE_MULTIPLICITY propagates through export() and
install(EXPORT) into dependent projects. A simple cycle of two archives
that need to be scanned three times ensures that the importing project
uses the multiplicity correctly.
2009-09-01 10:38:36 -04:00
Brad King
0cfd8c411f
Test link multiplicity
...
This tests the LINK_INTERFACE_MULTIPLICITY property for a cycle of three
static libraries that must be scanned three times to link properly.
2009-09-01 10:38:03 -04:00
Zach Mullen
b427d1985e
Added ctest -N test. Fixed ctest working directory bug. MemCheck fix coming soon...
2009-08-28 11:08:39 -04:00
Brad King
6e7020b452
Enforce FortranCInterface_VERIFY in Fortran test
...
This removes the QUIET option from FortranCInterface_VERIFY in the
Fortran test to really test the detected interface everywhere.
2009-08-24 13:07:43 -04:00
Brad King
a9be85da2e
Create FortranCInterface_VERIFY function
...
This function builds a simple test project using a combination of
Fortran and C (and optionally C++) to verify that the compilers are
compatible. The idea is to help projects report very early to users
that the compilers specified cannot mix languages.
2009-08-24 08:49:35 -04:00
Bill Hoffman
b7e3146275
Output command that failed, if it fails.
2009-08-11 22:01:49 -04:00
Brad King
875c478b64
Test add_test() generator expressions
...
This teaches the 'testing' test to try generator expressions in
arguments to add_test(NAME). This test case mimics a common use-case of
passing executables to test driver scripts. We excercise the syntax for
per-configuration target file names.
2009-08-11 09:56:02 -04:00
Brad King
80f0201b37
Rewrite FortranCInterface module
...
This is a new FortranCInterface.cmake module to replace the previous
prototype. All module support files lie in a FortranCInterface
directory next to it.
This module uses a new approach to detect Fortran symbol mangling. We
build a single test project which defines symbols in a Fortran library
(one per object-file) and calls them from a Fortran executable. The
executable links to a C library which defines symbols encoding all known
manglings (one per object-file). The C library falls back to the
Fortran library for symbols it cannot provide. Therefore the executable
will always link, but prefers the C-implemented symbols when they match.
These symbols store string literals of the form INFO:symbol[<name>] so
we can parse them out of the executable.
This module also provides a simpler interface. It always detects the
mangling as soon as it is included. A single macro is provided to
generate mangling macros and optionally pre-mangled symbols.
2009-08-05 13:40:29 -04:00
Brad King
87442aefb0
Remove WXDialog source code
...
The QtDialog is our supported cross-platform GUI, so the WXDialog source
is no longer needed.
2009-08-05 10:15:30 -04:00
Brad King
80c947b397
No /fast targets in try_compile project mode
...
The try_compile command builds the cmTryCompileExec executable using the
cmTryCompileExec/fast target with Makefile generators in order to save
time since dependencies are not needed. However, in project mode the
command builds an entire source tree that may have dependencies.
Therefore we can use the /fast target approach only in one-source mode.
2009-08-04 14:37:46 -04:00
Brad King
f3cd1e06f5
Test C, C++, Fortran interface combinations
...
Previously the Fortran test created a single executable containing C,
C++, and Fortran sources. This commit divides the executable into three
libraries corresponding to each language, and two executables testing
Fortran/C only and Fortran/C/C++ together. The result tests more
combinations of using the languages together, and that language
requirements propagate through linking.
2009-08-04 14:06:45 -04:00
Brad King
73de2362dd
Fix recursive try_compile calls
...
When building an entire source tree with try_compile instead of just a
single source file, it is possible that the CMakeLists.txt file in the
try-compiled project invokes try_compile. This commit fixes propagation
of language-initialization results from the outer-most project into any
number of try-compile levels.
2009-08-03 13:37:36 -04:00
Brad King
1a159bbf33
Test try_compile project mode
...
The try_compile command project mode builds an entire source tree
instead of one source file. It uses an existing CMakeLists.txt file in
the given source tree instead of generating one. This commit creates a
test for the mode in the TryCompile test.
2009-08-03 13:37:28 -04:00
Brad King
2537a72f8e
Check PGI linker lines in ImplicitLinkInfo test
...
This adds sample linker invocation lines for the PGI compiler on Linux.
2009-07-29 16:38:12 -04:00
Brad King
f47ae0599d
Check Intel linker lines in ImplicitLinkInfo test
...
This adds sample linker invocation lines for the Intel compiler on
Linux. In particular, this exercises the case when "ld" appears without
a full path.
2009-07-29 16:07:33 -04:00
Brad King
819b0742c6
Test cache entry property "STRINGS"
...
The STRINGS property tells cmake-gui to create a drop-down selection
list. This teaches the Properties test to set and verify its value.
2009-07-29 08:39:50 -04:00
Brad King
836447663e
BUG: Parse implicit link editor -z*extract options
...
The Sun Fortran compiler passes -zallextract and -zdefaultextract to the
linker so that all objects from one of its archives are included in the
link. This teaches the implicit options parser to recognize the flags.
We need to pass them explicitly on C++ link lines when Fortran code is
linked.
2009-07-28 08:36:11 -04:00
Brad King
2b849a77a6
ENH: Test Fortran and C++ in one executable
...
This extends the Fortran-to-C interface test to add a C++ source file.
The executable can only link with the C++ linker and with the proper
Fortran runtime libraries. These libraries should be detected by CMake
automatically, so this tests verifies the detection functionality.
2009-07-27 12:43:42 -04:00
Brad King
1c98cdf224
ENH: Remove EXTRA_FORTRAN_C_LIBS Fortran test hack
...
This hack was created to help the Fortran test executables link to the
implicit C libraries added by BullsEye. Now that implicit libraries
from all languages are detected and included automatically the hack is
no longer needed.
2009-07-27 12:43:27 -04:00
Brad King
0afa7a95f2
ENH: Report CMake logs in SystemInformation test
...
This teaches the SystemInformation test to report the CMake log files
CMakeOutput.log and CMakeError.log from the CMake build tree and from
the SystemInformation test build tree. These logs may help diagnose
dashboard problems remotely.
2009-07-27 12:35:12 -04:00
David Cole
7ae028eb33
ENH: Make the CheckSourceTree test emit a warning (but pass instead of fail) when there is an in-source build on a dashboard machine.
2009-07-27 12:04:03 -04:00
Brad King
38d1ff59da
ENH: Require language libs in Fortran/C test
...
This extends the Fortran/C interface test to require that the executable
link to the fortran language runtime libraries. We must verify that the
proper linker is chosen.
2009-07-27 11:56:09 -04:00
David Cole
32be77df8c
ENH: Improvements to the new CheckSourceTree test: ignore Thumbs.db and .DS_Store files. Force all output to stderr by not using STATUS with message. Better error text.
2009-07-25 13:32:07 -04:00
Brad King
55718eb869
BUG: Further avoid ImplicitLinkInfo case change
...
The commit "Avoid case change in ImplicitLinkInfo test" did not change
all of the paths to mingw, so some case change still occurs. This
changes more of them.
2009-07-25 08:11:57 -04:00
David Cole
c84255d703
BUG: One last attempt for today to get the new CheckSourceTree test running on dashboards driven by CMake 2.4... Good night now.
2009-07-24 18:30:00 -04:00
David Cole
6414fa21fe
BUG: Close endif statements with same string as if so that it still configures with CMake 2.4. One more time. Encore, encore.
2009-07-24 17:28:54 -04:00
David Cole
6237c6ead4
BUG: Improve CheckSourceTree test so that it ignores 'U ' output from cvs update. Also: improve failure logic for dashboard runs and developer runs.
2009-07-24 17:12:37 -04:00
Brad King
d958105afb
BUG: Teach VariableWatch test to check results
...
Previously this test was only a smoke test for manual verification.
This teaches the test to actually check that the variable watch
succeeds.
2009-07-24 16:57:38 -04:00
David Cole
e0461bbcbc
BUG: Close endif statements with same string as if so that it still configures with CMake 2.4 -- also check for existence of FindCVS.cmake before doing find_package(CVS QUIET) also for CMake 2.4 sake...
2009-07-24 16:31:33 -04:00
David Cole
b819ee85c0
BUG: Oops. Left chunk of junk at the bottom of the main Tests CMakeLists.txt file with the last commit... Sorry.
2009-07-24 16:15:10 -04:00
David Cole
5bea9620dc
BUG: Additional fix necessary for issue #8481 so that Xcode builds do not write files into the source tree. Also add a test that runs last to check for local modifications in CMake_SOURCE_DIR based on whether 'cvs -q -n up -dP' output is empty. Test fails on dashboard runs when there are local modifications. Test passes on non-dashboard runs with local modifications so that CMake developers may have mods when running the test locally.
2009-07-24 15:58:23 -04:00
Brad King
e981dc99f5
BUG: Avoid case change in ImplicitLinkInfo test
...
Since "get_filename_component(... ABSOLUTE)" retrieves the actual case
for existing paths on windows, we need to use an obscure path for mingw.
Otherwise the test can fail just because the case of the paths changes.
2009-07-24 07:34:03 -04:00
Brad King
c98aaceb92
ENH: Create ImplicitLinkInfo test
...
This tests the internal CMakeParseImplicitLinkInfo.cmake module to
ensure that implicit link information is extracted correctly. The test
contains many manually verified examples from a variety of systems.
2009-07-23 10:07:39 -04:00
Brad King
07ea19ad1f
ENH: Implicit link info for C, CXX, and Fortran
...
This teaches CMake to detect implicit link information for C, C++, and
Fortran compilers. We detect the implicit linker search directories and
implicit linker options for UNIX-like environments using verbose output
from compiler front-ends. We store results in new variables called
CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES
CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES
The implicit libraries can contain linker flags as well as library
names.
2009-07-23 10:07:25 -04:00
Brad King
267085f338
ENH: Improve strictness of Function test
...
The command "set(... PARENT_SCOPE)" should never affect the calling
scope. This improves the Function test to check that such calls in a
subdirectory scope affect the parent but not the child.
2009-07-22 13:42:27 -04:00
Brad King
924dd34451
BUG: Fix SystemInformation dump output
...
When this test was renamed from DumpInformation to SystemInformation the
configured header that points the dump executable to the directory
containing information files was broken. No information has been dumped
by this test for 2 years! This fixes it.
2009-07-21 10:56:31 -04:00
Bill Hoffman
0902d2918e
ENH: set expected failure for tests
2009-07-20 10:58:50 -04:00
Bill Hoffman
3d1c12b802
ENH: remove INCLUDE_EXTERNAL_MSPROJECT name hack, and use target properties instead, fix VXExternalInclude test for VS10
2009-07-14 14:16:46 -04:00
Brad King
b23b1800a5
ENH: Teach separate_arguments() to parse commands
...
This adds UNIX_COMMAND and WINDOWS_COMMAND modes to the command.
These modes parse unix- and windows-style command lines.
2009-07-14 10:15:47 -04:00
Brad King
b44413f9f8
COMP: Shorten ExportImport test command lines
...
The ExportImport test drives its Export and Import projects using the
same compiler and flags. This converts the ctest --build-and-test
command lines to use an initial cache file instead of passing all
settings on the command line.
We need a shorter command line to pass through VS 6 on Win98.
This approach reduces duplicate code anyway.
2009-07-14 08:38:24 -04:00
Bill Hoffman
11d42b3e8f
ENH: almost all tests passing in vs 10, commit fixes preprocess and starts vs external project
2009-07-13 16:58:24 -04:00
Brad King
61367c69d7
COMP: Fix ExportImport testLib6 on VS6
...
The compiler does not support multiple source files differing only by
extension in one target. This renames the C source file in the test.
2009-07-13 09:20:36 -04:00
Alexander Neundorf
0429853f1b
BUG: disable the test for now, will make it work correctly later
...
Alex
2009-07-12 14:52:31 -04:00
Alexander Neundorf
7048373296
STYLE: don't load CMakeDetermineSystem and CMakeSystemSpecific directly from
...
cmCTestScriptHandler, but have it load the new script CTestScriptMode.cmake
-> that makes it more flexible, also add a simple test that the system name
has been determined correctly
Alex
2009-07-12 04:51:51 -04:00
Brad King
3621e073a8
ENH: Test export/import of link interface languages
...
This extends the ExportImport test. The Export project creates a C++
static library and exports it. Then the Import project links the
library into a C executable. On most platforms the executable will link
only if the C++ linker is chosen correctly.
2009-07-11 10:10:51 -04:00
Bill Hoffman
28b1912aa3
ENH: add group support and fix borland error
2009-07-11 00:05:20 -04:00
Brad King
22b96543e5
ENH: Test transitive link languages
...
This test creates a C executable that links to a C++ static library. On
most platforms the executable will not link unless the C++ linker is
chosen correctly.
2009-07-10 13:53:38 -04:00
Brad King
d4d467dbd5
ENH: Teach CTest to handle Mercurial repositories
...
This creates cmCTestHG to drive CTest Update handling on hg-based work
trees. Currently we always update to the head of the remote tracking
branch (hg pull), so the nightly start time is ignored for Nightly
builds. A later change will address this.
See issue #7879 . Patch from Emmanuel Christophe. I modified the patch
slightly for code style, to finish up some parsing details, and to fix
the test.
2009-07-10 11:08:05 -04:00
Bill Hoffman
5c4208f50e
ENH: only 5 failing tests for VS 10
2009-07-10 09:12:39 -04:00
Brad King
d1aa17a7b0
ENH: Remove CMAKE_ANSI_CFLAGS from tests
...
As of CMake 2.6 this variable is not defined, and the ANSI flags for the
HP compiler are simply hard-coded in the default C flags.
2009-07-08 11:41:48 -04:00
Brad King
4fc192c6cf
BUG: Skip CTest.Update* for cygwin tools on Windows
...
These tests cannot run with cygwin tools unless testing cygwin CTest.
The version control tools do not understand all Windows paths.
2009-07-01 14:29:25 -04:00
David Cole
44878e7b11
BUG: Exclude svn portions of ExternalProject test when: svn client version is less than 1.2 or cygwin/non-cygwin mismatch detected -- avoids ExternalProject test failures on dash5 and dash22-cygwin. Also, non-code change: allow cvslock through Windows firewall to prevent ExternalProject test failure on dash1vista32.
2009-07-01 13:48:38 -04:00
David Cole
fb81cd93f0
BUG: Avoid running the cvs portions of the ExternalProject test on non-cygwin builds that are using cygwin cvs.exe.
2009-06-29 10:46:45 -04:00
David Cole
0e6c530e9e
BUG: Downgrade svn repository to be created with an svn 1.2 installation (rather than 1.4) so that it works (hopefully) with more svn clients in the wild. Change time stamps of test projects in CMakeLists.txt to reflect times available in newly created repository. Add UPDATE_COMMAND "" for checkouts that are tag-based or date-stamp-based to avoid unnecessary update steps.
2009-06-26 13:00:39 -04:00
David Cole
688db8a17d
ENH: Do not unzip the local repositories unless CVS and SVN executables are available. Add 'configure' step to the repository extraction 'projects' to print the version number of CVS and SVN in the dashboard test/build output.
2009-06-26 11:32:04 -04:00
David Cole
f23668a919
ENH: Revise the ExternalProject test to use local CVS and SVN repositories to avoid network activity. Also: stop building KWStyle and kwsys as part of this test to reduce the amount of time spent running the test. Instead, build TutorialStep1 as retrieved from the new local repositories with various tags, date stamps and revision numbers.
2009-06-26 09:55:35 -04:00
David Cole
f96f7f8612
ENH: Add *.tgz files of cvs and svn repositories containing the TutorialStep1 project to test cvs and svn capabilities of ExternalProject without requiring network activity.
2009-06-25 12:03:00 -04:00
Brad King
c8a1621ebf
BUG: Fix CTest.UpdateBZR tests to run in parallel
...
The UpdateBZR and UpdateBZR.CLocale tests should run in different
directories so that they can be executed in parallel.
2009-06-25 10:51:53 -04:00
Brad King
031379abe6
ENH: New ExternalProject.cmake module interface
...
This creates new module ExternalProject.cmake to replace the prototype
AddExternalProject.cmake module. The interface is more refined, more
flexible, and better documented than the prototype.
This also converts the ExternalProject test to use the new module. The
old module will be removed (it was never in a CMake release) after
projects using it have been converted to the new module.
2009-06-24 15:03:26 -04:00
Brad King
191573e8d7
BUG: Extend timeout of ExternalProject test
...
This test requires a long time on slower machines, so we need to extend
its timeout. It is an important test, so it does not fall under the
CMAKE_RUN_LONG_TESTS option. In the future we should try to shorten the
test by building simpler external projects.
2009-06-24 14:48:27 -04:00
Ken Martin
57a0f830df
ENH: fix spelling mistake
2009-06-23 12:58:19 -04:00
Brad King
db024f444e
ENH: Auto-enable CTest.UpdateCVS test on Windows
...
The test needs to create a cvs repository with 'cvs init', but the CVSNT
client on Windows needs 'cvs init -n' to avoid administrator access.
Previously we required users to explicitly enable CTEST_TEST_UPDATE_CVS
to activate the test on Windows.
This teaches the test to use the '-n' option when necessary. Now we can
enable the test in all cases except when trying to use a cygwin cvs.exe
without cygwin paths.
2009-06-22 16:26:02 -04:00
Brad King
f4b3bdc6be
BUG: Create an exe's implib output dir for VS
...
If an executable marks symbols with __declspec(dllexport) then VS
creates an import library for it. However, it forgets to create the
directory that will contain the import library if it is different from
the location of the executable. We work around this VS bug by creating
a pre-build event on the executable target to make the directory.
2009-06-15 10:55:21 -04:00
Brad King
55c4cbbae9
BUG: Parse more bzr xml output encodings
...
The BZR xml output plugin can use some encodings that are not recognized
by expat, which leads to "Error parsing bzr log xml: unknown encoding".
This works around the problem by giving expat a mapping, and adds a
test. Patch from Tom Vercauteren. See issue #6857 .
2009-05-18 10:34:35 -04:00
Brad King
a524e07152
ENH: Teach CTest to handle Bazaar repositories
...
This creates cmCTestBZR to drive CTest Update handling on bzr-based work
trees. Currently we always update to the head of the remote tracking
branch (bzr pull), so the nightly start time is ignored for Nightly
builds. A later change will address this. Patch from Tom Vercauteren.
See issue #6857 .
2009-05-14 16:13:52 -04:00
Brad King
33a1076b84
BUG: file(COPY) test should not make read-only dir
...
CMake directory removal code cannot remove content from read-only
directories (a separate bug which will be fixed). Therefore we should
not create them in the StringFileTest. This tweaks the file(COPY) call
to test not giving OWNER_WRITE to files rather than directories.
2009-05-13 10:30:22 -04:00
Brad King
430cc2b4b7
ENH: Always imply CLEAN_DIRECT_OUTPUT target prop
...
This property was left from before CMake always linked using full path
library names for targets it builds. In order to safely link with
"-lfoo" we needed to avoid having both shared and static libraries in
the build tree for targets that switch on BUILD_SHARED_LIBS. This meant
cleaning both shared and static names before creating the library, which
led to the creation of CLEAN_DIRECT_OUTPUT to disable the behavior.
Now that we always link with a full path we do not need to clean old
library names left from an alternate setting of BUILD_SHARED_LIBS. This
change removes the CLEAN_DIRECT_OUTPUT property and instead uses its
behavior always. It removes some complexity from cmTarget internally.
2009-05-01 10:38:35 -04:00
Brad King
2740db5ede
ENH: Allow more specification of target file names
...
This creates target properties ARCHIVE_OUTPUT_NAME, LIBRARY_OUTPUT_NAME,
and RUNTIME_OUTPUT_NAME, and per-configuration equivalent properties
ARCHIVE_OUTPUT_NAME_<CONFIG>, LIBRARY_OUTPUT_NAME_<CONFIG>, and
RUNTIME_OUTPUT_NAME_<CONFIG>. They allow specification of target output
file names on a per-type, per-configuration basis. For example, a .dll
and its .lib import library may have different base names.
For consistency and to avoid ambiguity, the old <CONFIG>_OUTPUT_NAME
property is now also available as OUTPUT_NAME_<CONFIG>.
See issue #8920 .
2009-05-01 09:45:43 -04:00
Brad King
1f7ef5bf7a
BUG: Fix CMake.File test for deep dir name
...
This fixes the regex checking expected output of Copy-NoFile to account
for line wrapping when the input directory name is long.
2009-04-29 14:02:54 -04:00
Brad King
e0d3339e65
ENH: Test file(COPY) failure cases
...
This tests some cases of bad arguments to the file(COPY) signature.
It checks that the proper error messages are produced.
2009-04-29 13:13:58 -04:00
Brad King
c58ca24286
ENH: Create file(COPY) command signature
...
The file(INSTALL) command has long been undocumented and used only to
implement install() scripts. We now document it and provide a similar
file(COPY) signature which is useful in general-purpose scripts. It
provides the capabilities of install(DIRECTORY) and install(FILES) but
operates immediately instead of contributing to install scripts.
2009-04-29 13:13:29 -04:00
Brad King
6a74dbbeef
ENH: Test spaces in non-string preprocessor values
...
This extends the Preprocessor test to put spaces in the value of a
definition that is not a quoted string. In particular this tests that
VS6 supports values with spaces if they do not have '"', '$', or ';'.
See issue #8779 .
2009-04-24 11:21:09 -04:00
Brad King
708d1cf1ee
ENH: Support more preprocessor values in VS6
...
Previously we rejected all preprocessor definition values containing
spaces for the VS6 IDE generator. In fact VS6 does support spaces but
not in combination with '"', '$', or ';', and only if we use the sytnax
'-DNAME="value with spaces"' instead of '-D"NAME=value with spaces"'.
Now we support all definition values that do not have one of these
invalid pairs. See issue #8779 .
2009-04-24 11:18:06 -04:00
Brad King
d847ca8e27
BUG: Fix CTest.UpdateGIT test for older git
...
Older git versions do not support 'git init --bare', so we instead use
the more proper 'git --bare init'.
2009-04-23 09:10:07 -04:00
Brad King
9c17cbeb44
ENH: Teach CTest to handle git repositories
...
This creates cmCTestGIT to drive CTest Update handling on git-based work
trees. Currently we always update to the head of the remote tracking
branch (git pull), so the nightly start time is ignored for Nightly
builds. A later change will address this. See issue #6994 .
2009-04-22 09:19:06 -04:00
Bill Hoffman
3ca9bf797c
ENH: make sure tests for cpack are run correctly
2009-04-21 17:15:42 -04:00
Bill Hoffman
c8513fe14b
ENH: make sure tests for cpack are run correctly
2009-04-21 17:15:04 -04:00
Bill Hoffman
0bbed87a5b
ENH: make sure tests for cpack are run correctly
2009-04-21 17:13:46 -04:00
Bill Hoffman
572cf0212f
ENH: make sure tests for cpack are run correctly
2009-04-21 17:12:37 -04:00
Brad King
0d92350bb6
ENH: Create file(RENAME) command mode
...
This creates command "file(RENAME <oldname> <newname>)" to rename a file
or directory within a single disk volume.
2009-04-15 09:58:13 -04:00
Brad King
68248be52e
ENH: Allow lists in AddExternalProject arguments
...
The add_external_project function separates its arguments with ';'
separators, so previously no command line argument could contain one.
When specifying CMAKE_ARGS, some -D argument values may need to contain
a semicolon to form lists in the external project cache.
This adds add_external_project argument LIST_SEPARATOR to specify a list
separator string. The separator is replaced by ';' in arguments to any
command created to drive the external project. For example:
add_external_project(...
LIST_SEPARATOR ::
CMAKE_ARGS -DSOME_LIST:STRING=A::B::C
...)
passes "-DSOME_LIST:STRING=A;B;C" to CMake for the external project.
2009-04-09 13:56:08 -04:00
Brad King
d05e98f8d7
ENH: Allow IMPORTED_IMPLIB w/o IMPORTED_LOCATION
...
Linking to a Windows shared library (.dll) requires only its import
library (.lib). This teaches CMake to recognize SHARED IMPORTED library
targets that set only IMPORTED_IMPLIB and not IMPORTED_LOCATION.
2009-04-08 16:29:04 -04:00
Brad King
d49978a948
ENH: Teach Update* tests to report local mod step
...
The CTest.UpdateCVS/SVN tests report every step with a message. This
adds a message for the local modification step.
2009-04-08 09:22:08 -04:00
Brad King
cd532b6132
ENH: Make UpdateCVS test robust to 1s file time res
...
CVS clients recognize file modifications only if a file's timestamp is
newer than its CVS/Entries line. This fixes intermittent failure of the
test on filesystems with low timestamp resolution by delaying before
creating a local modification.
2009-04-08 09:21:57 -04:00
Brad King
d6bdaf9f13
ENH: Test transitive link to subdir-imported lib
...
This tests linking to an imported target that is not visible but is a
transitive dependency of a target that is visible. See issue #8843 .
2009-04-06 11:11:33 -04:00
David Cole
2981936707
STYLE: White space only change to see if continuous is working on new dashboard machine...
2009-03-31 13:50:26 -04:00
David Cole
17d62105d6
STYLE: White space only change to see if continuous is working on new dashboard machine...
2009-03-31 13:16:56 -04:00
Brad King
d2175580e7
ENH: Generalize AddExternalProject step creation
...
This creates function 'add_external_project_step' to centralize creation
of external project steps. Users may call it to add custom steps to
external project builds.
2009-03-30 11:36:32 -04:00
Brad King
5f4686920d
BUG: Fix CMAKE_CURRENT_LIST_FILE in macros
...
The value of CMAKE_CURRENT_LIST_FILE is supposed to be the list file
currently being executed. Before macros were introduced this was always
the context of the argument referencing the variable.
Our original implementation of macros replaced the context of command
arguments inside the macro with that of the arguments of the calling
context. This worked recursively, but only worked when macros had at
least one argument. Furthermore, it caused parsing errors of the
arguments to report the wrong location (calling context instead of line
with error).
The commit "Improve context for errors in macros" fixed the latter bug
by keeping the lexical context of command arguments in macros. It broke
evaluation of CMAKE_CURRENT_LIST_FILE because the calling context was no
longer preserved in the argument referencing the variable. However,
since our list file processing now maintains the proper value of
CMAKE_CURRENT_LIST_FILE with dynamic scope we no longer need the context
of the argument and can just evaluate the variable normally.
2009-03-25 10:37:04 -04:00
Brad King
4085454658
ENH: Support preprocessor def values in VS6
...
The add_definitions() command and COMPILE_DEFINITIONS dir/tgt/src
properties support preprocessor definitions with values. Previously
values were not supported in the VS6 generator even though the native
tool supports them. It is only values with spaces that VS6 does not
support. This enables support and instead complains only for values
with spaces. See issue #8779 .
2009-03-23 14:48:09 -04:00
Brad King
2cc46c12f8
ENH: Add patch step for add_external_project
...
The patch step runs parallel to the update step since it does not make
sense to have both. Configuration of the step requires specification of
a PATCH_COMMAND argument to add_external_project.
2009-03-18 11:01:02 -04:00
Brad King
6ae0ff626a
ENH: Improve add_external_project interface
...
This rewrites the keyword/argument parsing and handling in the
AddExternalProject module to use arguments more literally:
- The strict keyword-value pairing is gone in favor of keywords with
arbitrary non-keyword values. This avoids requiring users to escape
spaces and quotes in command lines.
- Customized step command lines are now specified with a single
keyword <step>_COMMAND instead of putting the arguments in a
separate entry (previously called <step>_ARGS).
- Build step custom commands now use VERBATIM mode so that arguments
are correctly escaped on the command line during builds.
2009-03-18 11:00:30 -04:00
Brad King
ecb0f3af55
ENH: New foreach(<var> IN ...) mode
...
This creates a new mode of the foreach command which allows precise
iteration even over empty elements. This mode may be safely extended
with more keyword arguments in the future. The cost now is possibly
breaking scripts that iterate over a list of items beginning with 'IN',
but there is no other way to extend the syntax in a readable way.
2009-03-17 15:10:15 -04:00
Brad King
493f88ce55
ENH: Allow projects to disable per-rule echo lines
...
This creates global property RULE_MESSAGES which can be set to disbale
per-rule progress and action reporting. On Windows, these reports may
cause a noticable delay due to the cost of starting extra processes.
This feature will allow scripted builds to avoid the cost since they do
not need detailed information anyway. This replaces the RULE_PROGRESS
property created earlier as it is more complete. See issue #8726 .
2009-03-16 16:55:58 -04:00
Brad King
2f651c2e59
ENH: Allow projects to disable per-rule progress
...
This creates global property RULE_PROGRESS which can be set to disbale
per-rule progress reporting. On Windows, progress reports may cause a
noticable delay due to the cost of starting an extra process. This
feature will allow scripted builds to avoid the cost since they do not
need detailed progress anyway. See issue #8726 .
2009-03-16 16:22:19 -04:00
Brad King
9862f383d0
ENH: Add NAME mode to ADD_TEST command
...
This creates command mode add_test(NAME ...). This signature is
extensible with more keyword arguments later. The main purpose is to
enable automatic replacement of target names with built target file
locations. A side effect of this feature is support for tests that only
run under specific configurations.
2009-03-16 10:51:30 -04:00
Brad King
e5e91d6179
ENH: Teach set/get_property about CACHE properties
...
This adds the CACHE option to set_property and get_property commands.
This allows full control over cache entry information, so advanced users
can tweak their project cache as desired. The set_property command
allows only pre-defined CACHE properties to be set since others would
not persist anyway.
2009-03-10 11:10:59 -04:00
David Cole
7bf80c9a11
STYLE: White space only change to see if continuous is working on new dashboard machine...
2009-03-06 14:29:31 -05:00
Brad King
ca3b93d9c6
ENH: Teach message() how to display warnings
...
This adds message(WARNING) and message(AUTHOR_WARNING) command modes and
fully documents the command behavior in all modes.
2009-03-06 10:04:06 -05:00
Brad King
98c51ff6dc
ENH: Overhaul CMake version numbering
...
This moves the version numbers into an isolated configured header so
that not all of CMake needs to rebuild when the version changes.
Previously we had spaces, dashes and/or the word 'patch' randomly chosen
before the patch number. Now we always report version numbers in the
traditional format "<major>.<minor>.<patch>[-rc<rc>]".
We still use odd minor numbers for development versions. Now we also
use the CCYYMMDD date as the patch number of development versions, thus
allowing tests for exact CMake versions.
2009-03-05 15:17:07 -05:00
Brad King
170febac52
ENH: Cleanup cmake --build interface.
...
This cleans up the 'cmake --build' command-line interface:
- Rename --clean to --clean-first to better describe it.
- Replace --extra-options with a -- separator to simplify passing of
multiple native build tool options.
- Document the options in the main CMake man page description of the
--build option, and shares this with the usage message.
- Require --build to be the first argument when present.
- Move implementation into cmakemain where it belongs.
2009-03-04 15:39:27 -05:00
Brad King
ba5cbf0fb1
ENH: Better recursive make in AddExternalProject
...
This teaches AddExternalProject to run "$(MAKE)" for build and install
steps of CMake-based external projects when using a Makefile generator.
It allows the external project to participate in a parallel make invoked
on the superproject.
2009-03-04 11:45:42 -05:00
Brad King
7960f7541c
ENH: Extend CTest.UpdateSVN to test local mods
...
This teaches the test to create local modifications in the work tree
before updating.
2009-02-26 09:22:16 -05:00
Brad King
ff32962a68
ENH: Test included header in Fortran preprocessing
...
This extends the Fortran preprocessing test to include a header file
through a preprocessor directive.
2009-02-24 14:32:31 -05:00
Brad King
1595b8e69e
ENH: Add install(DIRECTORY) option 'OPTIONAL'
...
This adds the OPTIONAL option to the install(DIRECTORY) command. It
tells the installation rule that it is not an error if the source
directory does not exist. See issue #8394 .
2009-02-24 11:41:40 -05:00
Brad King
ac89c8004b
BUG: Fix CTest.UpdateCVS/SVN tests for win slashes
...
This fixes the tests to allow windows slashes in reported file names in
the generated Update.xml file.
2009-02-23 16:54:53 -05:00
Brad King
430b376a5b
ENH: Test svn updates with space in author name
...
This enhances the CTest.UpdateSVN test with a space in the test author
name. It will check that author name parsing works correctly.
2009-02-23 15:59:20 -05:00
Brad King
5b49f22caf
ENH: Enhance CTest.UpdateCVS/SVN tests
...
This adds a source tree subdirectory to the content of the test
projects. It also smoke tests more than one revision worth of changes.
2009-02-23 15:59:07 -05:00
Brad King
a16c857c30
ENH: Better failure output from CTest.Update*
...
This teaches CTestUpdateCommon to report the process exit condition from
failed child processes executed during tests.
2009-02-23 15:58:44 -05:00
Bill Hoffman
819a4f2e57
ENH: make sure multiple archs are only tested when the work
2009-02-19 15:24:44 -05:00
Bill Hoffman
756cb547f3
BUG: fix xcode depend issue and add a test for it
2009-02-19 11:51:24 -05:00
Brad King
ae873d4a89
ENH: Add get_filename_component(... REALPATH)
...
This patch from Philip Lowman creates a REALPATH mode in the
get_filename_component command. It is like ABSOLUTE, but will also
resolve symlinks (which ABSOLUTE once did but was broken long ago).
See issue #8423 .
2009-02-09 09:23:55 -05:00
Brad King
16fe328dfc
BUG: Alternative fix to bug #8423
...
The patch used to fix this bug used SystemTools::GetRealPath which works
only for existing files. It broke the case of using the command
get_filename_component for a non-existing file. Also, it changed
long-standing behavior in a possibly incompatible way even for existing
files. This reverts the original fix and instead updates the
documentation to be consistent with the behavior.
2009-02-06 08:33:52 -05:00
Bill Hoffman
4b5cabed0e
ENH: add missing file
2009-01-29 11:57:42 -05:00
Bill Hoffman
33c296a44e
BUG: fix for #8423
2009-01-29 11:39:03 -05:00
Bill Hoffman
bac4f79764
ENH: change to use CMAKE_CREATE_VERSION from CMAKE_VERSION as CMAKE_VERSION is auto-defined now
2009-01-27 10:35:29 -05:00
Brad King
c332e0bf3c
ENH: Isolate policy changes in included scripts
...
Isolation of policy changes inside scripts is important for protecting
the including context. This teaches include() and find_package() to
imply a cmake_policy(PUSH) and cmake_policy(POP) around the scripts they
load, with a NO_POLICY_SCOPE option to disable the behavior. This also
creates CMake Policy CMP0011 to provide compatibility. See issue #8192 .
2009-01-22 13:18:40 -05:00
Brad King
3028ca756c
ENH: Better policies for functions and macros
...
This teaches functions and macros to use policies recorded at creation
time when they are invoked. It restores the policies as a weak policy
stack entry so that any policies set by a function escape to its caller
as before.
2009-01-22 13:16:47 -05:00
David Cole
3a4f76949a
BUG: Fix issue #8402 . Add a drag and drop bundle generator to the Mac build of CPack. Add a test of it in the CPackComponents test. Thanks to Clinton Stimpson for the patch.
2009-01-22 12:12:44 -05:00
David Cole
e8a0e90133
BUG: Avoid trying to package the X11 test on Windows when there is no NSIS installer available.
2009-01-22 10:22:30 -05:00
David Cole
36c228814b
BUG: Fix issue #7523 : Analyze output of 'hdiutil attach' to get the name of the volume that was mounted. Eliminates the need to use the -mountpoint arg of hdiutil which has a silly 90 character limit on the name of the mount point. Also add a custom volume icon to the BundleGeneratorTest to cover this code.
2009-01-21 13:39:22 -05:00
David Cole
c647ed54d9
BUG: Fix issue #7833 : Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch.
2009-01-21 11:54:30 -05:00
David Cole
03c940aeb3
BUG: Fix for issue #7470 . Allow spaces in the path names of installed files with the NSIS CPack generator and component-based installs. Add an installed file to the CPackComponents test: it failed before the fix; now it passes.
2009-01-20 14:29:41 -05:00
Brad King
bb2c08546c
ENH: Test find_package re-find feature
...
Recently we taught find_package to re-find a package if its
<package>_DIR result variable was set to a location not containing the
package (instead of reporting an error as before). This tests the
feature.
2009-01-14 09:34:42 -05:00
Brad King
d66c25c2f0
ENH: Teach ctest_submit about parts
...
This adds a PARTS option to the ctest_submit command which tells it to
submit only parts whose names are listed with the option.
2009-01-12 10:38:27 -05:00
Brad King
b5f3d4be61
ENH: Re-enable new 'testing' test mode
...
This fixes selection of a configuration when none is specified to find
an available configuration of the ctest test-command.
2009-01-05 14:14:25 -05:00
Bill Hoffman
36ce9651db
ENH: make it take longer
2008-12-29 18:11:02 -05:00
Bill Hoffman
38b7b3fea0
ENH: add test for -j N ctest stuff
2008-12-29 17:43:37 -05:00
David Cole
5d9e78e918
ENH: Re-work of fix committed yesterday for the Watcom WMake dashboard. Fix it properly by using the SYMBOLIC source file property to indicate to WMake when the sentinel file is not actually written by the update step.
2008-12-24 10:10:40 -05:00
David Cole
2f90c29be1
BUG: Workaround for Watcom WMake not handling "always out of date" custom commands to fix the failing ExternalProject test on the CMake nightly dashboard.
2008-12-23 10:01:53 -05:00
Brad King
fb4f016299
BUG: Disable new 'testing' test mode for now
...
The new 'testing' test behavior of actually running the tests generated
by the project still fails when the test script guesses the Debug
configuration but the CMake build tree was only built Release. The
inner ctest needs to find the ctest executable but is given the wrong
configuration.
2008-12-18 17:15:58 -05:00
Brad King
64f419c0e8
BUG: Fix new 'testing' test for CMake releases
...
The recent change of the 'testing' test to actually drive the tests
within it does not work on Windows with released CMakes 2.6.2 and lower
if no configuration is given to ctest with a -C option. This works
around the problem by detecting the case and changing the empty
configuration to Debug.
2008-12-18 14:26:20 -05:00
Brad King
0a83aa6f57
BUG: Fix windows command line escape for empty arg
...
On Windows the KWSys System package generates escapes for command-line
arguments. This fix enables quoting of the empty string as an argument.
This also adds a test to pass an empty argument to a custom command.
2008-12-18 13:36:58 -05:00
Brad King
adb6bf82b0
ENH: Improve 'testing' test to actually test
...
The 'testing' CMake test builds a project that uses add_test. This
strengthens the test to actually run CTest on the project build tree
after building it.
2008-12-18 12:28:05 -05:00
Brad King
3958b3e112
ENH: Teach find_package about more install dirs
...
We now search in
<prefix>/<name>*/
<prefix>/<name>*/(cmake|CMake)
when looking for package configuration files. This is useful on Windows
since the Program Files folder is in CMAKE_SYSTEM_PREFIX_PATH. These
paths are the Windows equivalent to the Apple convention application and
framework paths we already search. See issue #8264 .
2008-12-17 09:24:05 -05:00
Brad King
625ef26163
ENH: Allow most characters in ENV variable refs
...
The $ENV{VAR} syntax permits access to environment variables. This
teaches CMake to recognize most characters in the VAR name since some
environments may have variables with non-C-identifier characters.
2008-12-17 08:24:35 -05:00
Brad King
63e186a8e6
ENH: Strengthen FindPackageTest version check
...
The previous change to test finding in lib/cmake/<name>* weakened the
versioned find tests. Since the lib/cmake paths are searched before
lib/<name>* paths the previous change skipped requiring the command to
ignore zot-3.0 when finding zot-3.1. This change restores that and adds
zot-4.0 to test the lib/cmake path.
2008-12-16 09:13:39 -05:00
David Cole
3ddb9dfdea
BUG: One more conditional in the ExternalProject test to prevent build errors of Tutorial Step5 on Win98 using Visual Studio 6 when the path length of its build tree exceeds 72 characters. Crazy, perhaps. But this fixes the last real dashboard failure of the ExternalProject test.
2008-12-11 15:55:46 -05:00
Bill Hoffman
a87bb1b2f9
ENH: remove some verbosity to reduce test time
2008-12-11 14:35:57 -05:00
David Cole
4f217f0361
BUG: Prevent KWStyle portion of ExternalProject test from configuring, building, installing and testing on WATCOM dashboards. WATCOM STL support is still under development.
2008-12-10 11:30:51 -05:00
Brad King
e51969ac49
ENH: Add useful search locations to find_package
...
This teaches find_package to search
<prefix>/(share|lib)/cmake/<name>*/
for package configuration files. Packages that do not already have
files in a <prefix>/lib/<name>* directory can use this location to avoid
cluttering the lib directory.
2008-12-09 14:07:19 -05:00
David Cole
994ad3633e
COMP: No-op. White space only change to trigger a re-run of the ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes.
2008-12-05 17:54:39 -05:00
David Cole
fd644d1cb9
COMP: No-op. White space only change to trigger a re-run of the ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes.
2008-12-05 17:18:11 -05:00
David Cole
2540d84c02
COMP: No-op. White space only change to trigger a re-run of the ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes.
2008-12-05 16:46:52 -05:00
David Cole
527e2b8881
COMP: No-op. White space only change to trigger a re-run of the ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes.
2008-12-05 16:13:45 -05:00
David Cole
dba2c51d90
ENH: Make it easier to use configure/make/make-install as the build steps for an external project. Add capability of customizing the download step. Add tests of empty projects. Better comments and error checking in AddExternalProject.cmake. In tests, use KWStyle from CVSHEAD to see if QNX continuous can build the latest KWStyle. Make KWStyle test depend on all previous test external projects so it builds last to catch other issues before any KWStyle compile errors.
2008-12-05 15:18:32 -05:00
David Cole
67ebcb9597
ENH: Use a TryCheckout technique to decide whether or not to attempt building the projects that depend on a cvs or svn download method.
2008-12-04 15:30:37 -05:00
David Cole
930827d48c
ENH: First draft of add_external_project functionality. Tweaks, dashboard fixing, more tests and documentation certain to follow as it gets used by others...
2008-12-04 13:27:48 -05:00
David Cole
ceaef94ccc
ENH: Implement feature request from issue 7885. Allow setting environment variables on a per-test basis for ctest using set_test_properties ENVIRONMENT.
2008-11-26 14:38:43 -05:00
Bill Hoffman
bdfc3fadd3
ENH: add more debug stuff to CTestCTest2 so I can figure out redwall
2008-11-23 10:49:46 -05:00
Bill Hoffman
b8435f3d91
ENH: make ctest more verbose so that we can see failure on redwall
2008-11-21 16:37:49 -05:00
Bill Hoffman
46b9a884ac
ENH: make this test pass if new curl is on
2008-11-21 16:10:09 -05:00
Bill Hoffman
0f88ea3993
ENH: only link in curl directories that exist, this will help with vs6 nmake
2008-11-20 14:06:57 -05:00
Bill Hoffman
bc1f0e1b11
ENH: make it work if new curl is on
2008-11-19 01:15:41 -05:00
Bill Hoffman
32ac624352
ENH: make it work if new curl is on
2008-11-18 09:37:31 -05:00
Bill Hoffman
1f9d9b2050
ENH: add gfortran-4
2008-11-18 09:37:06 -05:00
Bill Hoffman
9e773f5376
ENH: fix gcc sun fortran mix
2008-11-11 14:03:14 -05:00
Bill Hoffman
9377e7122c
ENH: put a check in for the gnu sunpro case
2008-11-10 10:53:36 -05:00
Bill Hoffman
49f393074c
ENH: make the test pass when fortran is gnu and c is cl
2008-11-06 17:33:42 -05:00
Bill Hoffman
86b123ba27
ENH: add a way to fix bullseye link with fortran
2008-11-06 09:41:08 -05:00
Bill Hoffman
020f5ae82e
ENH: only call the fortran c interface test when compilers match
2008-11-05 10:20:51 -05:00
Bill Hoffman
a1f1e50143
ENH: only allow matching fortran a c compilers to be used
2008-11-03 12:15:59 -05:00
Bill Hoffman
a996c16bba
ENH: do not error when sunpro or mipspro fortran used
2008-10-31 16:10:34 -04:00
Bill Hoffman
cecc2ab290
ENH: do not error when sunpro or mipspro fortran used
2008-10-31 16:08:56 -04:00
Bill Hoffman
a07ab25e14
ENH: add some debug stuff for the dashboards
2008-10-30 17:32:40 -04:00
David Cole
b0536e29ea
ENH: Use settings for CPackComponents test to make it fail if the recent fix of cmCPackGenerator.cxx revision 1.16 ever encounters another regression.
2008-10-29 12:27:19 -04:00
Bill Hoffman
84a4222314
ENH: add test for FortranCInterface
2008-10-29 10:58:40 -04:00
David Cole
86ded1ba58
ENH: Activate GetPrerequisites code on Linux. Thanks to Mike Arthur for finishing it off.
2008-10-24 11:39:10 -04:00
Brad King
e12f299f9d
ENH: Enable cvs update test with CMake before 2.6
...
When CMake is built by CMake 2.4 or lower the FindCVS module is not
available. In that case we activiate CTest.UpdateCVS by searching for
the cvs command directly.
2008-10-19 16:16:58 -04:00
Brad King
3584a4eceb
ENH: Test CTest update logic with VCS tools
...
This creates new tests "CTest.UpdateSVN" and "CTest.UpdateCVS". They
test that the Update.xml produced by CTest for a version-controlled
project contains entries for files added, changed, and removed.
2008-10-19 11:53:01 -04:00
Bill Hoffman
407a2bc737
ENH: fix test to work with in-source testing of CMake
2008-10-18 10:31:16 -04:00
Bill Hoffman
96262d167b
ENH: run the right cmake
2008-10-15 16:56:01 -04:00
Bill Hoffman
6a312b9746
ENH: run the right cmake
2008-10-15 16:50:55 -04:00
Bill Hoffman
1777bb502a
BUG: 4244, add a --build option to cmake that can build projects configured by CMake
2008-10-15 13:56:07 -04:00
Brad King
c5f70ff27f
ENH: Allow custom sources in custom targets
...
This adds a SOURCES option to ADD_CUSTOM_TARGET, enabling users to
specify extra sources for inclusion in the target. Such sources may not
build, but will show up in the IDE project files for convenient editing.
See issue #5848 .
2008-10-09 11:01:23 -04:00
Brad King
25a5c34a62
ENH: Remove implicit NO_MODULE when recursing
...
Recently we taught find_package that the NO_MODULE option is implied
when it is recursively invoked in a find-module. This behavior may be
confusing because two identical calls may enter different modes
depending on context. It also disallows the possibility that one
find-module defers to another find-module by changing CMAKE_MODULE_PATH
and recursively invoking find_package. This change reverts the feature.
2008-10-08 10:56:23 -04:00
Brad King
0ae545ebad
ENH: Add UNSUITABLE result to package version test
...
Package version test files may now declare that they are unsuitable for
use with the project testing them. This is important when the version
being tested does not provide a compatible ABI with the project target
environment.
2008-10-03 10:41:15 -04:00
Brad King
79e9b75558
ENH: Help recursive find_package calls in modules
...
These changes teach find_package to behave nicely when invoked
recursively inside a find-module for the same package. The module will
never be recursively loaded again. Version arguments are automatically
forwarded.
2008-10-03 10:40:07 -04:00
Brad King
f8bc0492e1
ENH: Create $CACHE{VAR} syntax
...
This syntax allows reading of cache entries even when variables of the
same name have been defined in the local scope. See issue #7715 .
2008-09-25 10:21:15 -04:00
Brad King
4fa96dbf95
ENH: Add version comparison to if() command
...
Provide VERSION_LESS, VERSION_EQUAL, and VERSION_GREATER operators in
the if() command. This simplifies component-wise comparison of version
numbers in the form "major[.minor[.patch[.tweak]]]".
2008-09-10 11:58:40 -04:00
Brad King
994262e5cc
ENH: Improve find_package version numbering
...
Make the number of version components specified explicitly available.
Set variables for unspecified version components to "0" instead of
leaving them unset. This simplifies version number handling for find-
and config-modules. Also support a fourth "tweak" version component
since some packages use them.
2008-09-10 10:11:48 -04:00
David Cole
2fb00f28be
PERF: Test takes too long when recursing for executable files and when doing recursive prerequisite analysis. Put it back the way it was. Add another test later to do the recursive prerequisite analysis.
2008-09-09 12:48:58 -04:00
Bill Hoffman
1a3502d66a
BUG: fix test to work with new restrictions that cross compiling must be on
2008-09-08 20:21:35 -04:00
David Cole
6f8bdd276c
ENH: Add BundleUtilities.cmake and supporting changes to GetPrerequisites.cmake. Function copy_and_fixup_bundle in BundleUtilities helps to make standalone bundle applications on the Mac by pulling in prerequisite non-system libraries and frameworks as needed. Uses otool and install_name_tool to do analysis and fixups. Project-specific hooks for deciding where to embed libraries and for resolving item names into full path file names are also provided.
2008-09-06 12:20:07 -04:00
David Cole
58be1b005f
BUG: Fix issue #7046 - make sure extensionless headers and resource files work with the Xcode generator. Also fix incorrect mappings in the lastKnownFileType code. Add some extensionless files to the Framework test.
2008-09-05 15:51:19 -04:00
Brad King
3c5cf1bb8c
ENH: Allow a custom list of debug configurations
...
Create a DEBUG_CONFIGURATIONS global property as a way for projects to
specify which configuration names are considered to be 'debug'
configurations.
2008-09-04 17:34:25 -04:00
David Cole
a54e97cf94
ENH: Add indirect dependency to Carbon and call a Carbon function from executable. This will allow detecting broken dependency chaining for '-framework blah' style lib dependencies.
2008-09-02 11:07:04 -04:00
Brad King
0a10958a88
BUG: Fix Unset test on VS 6
...
Visual Studio 6 does not recognize .cc as a C++ extension by default.
Simplify the test to be C-only and use a .c extension.
2008-08-30 10:32:52 -04:00
David Cole
ff14ae2439
ENH: Changes that allow configuring/building BundleTest test separately from the main CMake build. (Eliminate reference to CMake_SOURE_DIR.)
2008-08-27 12:53:19 -04:00
Brad King
33e865c041
ENH: Add unset() command.
...
This introduces the unset() command to make it easy to unset CMake
variables, environment variables, and CMake cache variables. Previously
it was not even possible to unset ENV or CACHE variables (as in
completely remove them). Changes based on patch from Philip Lowman.
See issue #7507 .
2008-08-25 10:31:29 -04:00
Brad King
990c6b0b90
ENH: Allow custom limit on object file path length
...
Some native build tools, particularly those for cross compiling, may
have a limit on the length of the full path to an object file name that
is lower than the platform otherwise supports. This change allows the
limit to be set by the project toolchain file through the variable
CMAKE_OBJECT_PATH_MAX.
2008-08-21 09:54:36 -04:00
Brad King
fff812db95
ENH: Add if(TARGET) command
...
It is useful to be able to test if a target has been created. Often
targets are created only inside conditions. Rather than storing the
result of the condition manually for testing by other parts of the
project, it is much easier for the other parts to just test for the
target's existence. This will also be useful when find-modules start
reporting results with IMPORTED targets and projects want to test if a
certain target is available.
2008-08-20 11:45:16 -04:00
Brad King
181c1eeede
ENH: Add test_clean target to wipe out tests
...
We frequently need to wipe out all the CMake test build directories in
order to run tests from scratch. This change adds a test_clean custom
target to remove all these directories for out-of-source builds.
2008-08-19 11:43:57 -04:00
Brad King
061d20be38
ENH: Add UNKNOWN type for IMPORTED libraries
...
When creating an IMPORTED target for a library that has been found on
disk, it may not be known whether the library is STATIC or SHARED.
However, the library may still be linked using the file found from disk.
Use of an IMPORTED target is still important to allow per-configuration
files to be specified for the library.
This change creates an UNKNOWN type for IMPORTED library targets. The
IMPORTED_LOCATION property (and its per-config equivalents) specifies
the location of the library. CMake makes no assumptions about the
library that cannot be inferred from the file on disk. This will help
projects and find-modules import targets found on disk or specified by
the user.
2008-08-18 11:39:22 -04:00
Brad King
94c1fe83fd
ENH: Make link interface mode more distinct
...
Rename the recently added INTERFACE mode of the target_link_libraries()
command to LINK_INTERFACE_LIBRARIES. This makes it much more distinct
from a normal call to the command, and clearly states its connection to
the property of the same name. Also require the option to appear
immediately after the target name to make it a mode rather than an
option.
2008-08-18 10:11:29 -04:00
Brad King
7f7068e9d4
ENH: Add cmake_policy(GET) command mode
...
It is likely that projects or CMake modules in the future will need to
check the value of a policy setting. For example, if we add a policy
that affects the results of FindXYZ.cmake modules, the module code will
need to be able to check the policy.
2008-08-18 09:53:06 -04:00
Alexander Neundorf
814b368725
STYLE: extend documentation for RETURN() a bit
...
ENH: add a test for calling RETURN() in an included file
Alex
2008-08-16 18:06:17 -04:00
Brad King
1712cd0a98
BUG: Fix ExportImport test on VS6
...
Visual Studio 6 does not support per-target object files, so just use two
separate source file names in this case.
2008-08-12 17:27:48 -04:00
Brad King
7b873cd951
ENH: Test target_link_libraries INTERFACE option
2008-08-11 16:23:10 -04:00
Brad King
c76f3ae5b5
ENH: Test fake circular dependency case
...
A recent change fixed a case in which CMake incorrectly diagnosed a
circular dependency involving a non-linkable executable target. This
adds a test for that case.
2008-08-07 10:13:15 -04:00
Alexander Neundorf
e0f59d9af5
BUG: fix endif()
...
Alex
2008-08-06 17:43:34 -04:00
Alexander Neundorf
e6290446d8
ENH: add simple tests to test that the extra generators don't crash
...
Alex
2008-08-06 16:16:53 -04:00
Brad King
32df2a715b
ENH: Test relative path custom command output
...
As of CMake 2.6 a custom command output specified by relative path is
placed in the build tree. This adds a test to make sure other
references to the output are hooked up correctly, fixing a bug in CMake
2.6.1.
2008-08-05 13:27:14 -04:00
Bill Hoffman
26aa93d2cd
ENH: fix build with Xcode project was missing
2008-07-31 10:54:55 -04:00
David Cole
6ec7ec2079
ENH: Add test for the new CPack BundleGenerator. Thanks to Tim Shead for the patch. See issue #7170 for more details.
2008-07-30 16:36:22 -04:00
Bill Hoffman
299a0c826b
ENH: remove test that does not work on all compilers
2008-07-16 09:29:56 -04:00
Bill Hoffman
ab3ed2b2bf
ENH: add a test for bug 7316
2008-07-15 10:04:01 -04:00
David Cole
a02bf86255
ENH: Use new cpack_add_component macro (and friends) from the CPackComponents test. Thanks again to Doug Gregor!
2008-07-08 17:47:53 -04:00
Bill Hoffman
2081dcbfce
ENH: add get_test_property to bootstrap so bootstrap builds test the same as non-bootstrap builds
2008-07-07 15:07:54 -04:00
Brad King
e245d4ea11
BUG: Replace non-bootstrap command with macro
...
- The GET_TEST_PROPERTY command does not exist during bootstrap.
- Instead of lots of conditionals, replace it with a macro.
2008-07-03 15:46:37 -04:00
Brad King
f58a1370cd
ENH: Remove condition on use of CMake 2.4 commands
...
- Commands SET_TESTS_PROPERTIES and GET_TEST_PROPERTY exist
in CMake 2.4, which is now required.
- Therefore we need not check before using them.
2008-07-03 14:38:57 -04:00
Brad King
56f1e0b9c2
COMP: Don't set properties on a non-existing test
...
- Test SubProject-Stage2 is conditionally created.
- Set properties on it only if it exists.
2008-07-03 14:34:28 -04:00
Bill Hoffman
bb7b27e417
ENH: add initial ctest -j feature
2008-07-03 09:31:33 -04:00
Ken Martin
19e891532a
ENH: support parenthesis as arguments and in conditionals feature request #6191
2008-06-26 13:01:35 -04:00
David Cole
fd413f2ab8
BUG: Avoid running the new CPackComponents test on Windows unless the NSIS installer is available.
2008-06-19 11:08:08 -04:00
David Cole
edaa6d3a97
BUG: Be more specific about the expected file name of the installer. (So we don't get mylibapp.exe in our GLOB results in make based build trees where the built exes end up in the same directory as the CPack installers...)
2008-06-18 09:28:51 -04:00
David Cole
1105a86c52
ENH: Add patch for feature request #6847 - CPack components for NSIS and PackageMaker installers. Thanks to Doug Gregor for all the hard work involved with implementing this patch! Also added new test CPackComponents that is conditionally executed only when NSIS or PackageMaker installer builders are available.
2008-06-17 11:39:26 -04:00
Bill Hoffman
abe8ecf418
ENH: try turning this on again
2008-06-17 10:51:37 -04:00
Bill Hoffman
6a4dede49b
ENH: turn this off until it passes on all systems
2008-06-16 20:10:29 -04:00
Bill Hoffman
ee086dd028
ENH: add a project name
2008-06-16 20:05:46 -04:00
Bill Hoffman
d07a4675d2
ENH: fix find module stuff for test
2008-06-16 15:19:44 -04:00
Alexander Neundorf
8ef9983db6
ENH: add test which executes all FindXXX.cmake modules
...
Alex
2008-06-16 14:03:03 -04:00
Brad King
fdb17d604c
ENH: Add test for new find_* command HINTS option.
2008-06-09 15:09:14 -04:00
Brad King
9c8185494b
BUG: Fix CMake.FindBase test to normalize paths before comparing.
...
- Previously the find_* commands did not normalize the search paths
- The recent refactoring enabled such normalization
- The FindBase test must also normalize before comparing paths
2008-06-08 11:41:16 -04:00
Brad King
3ecfb5f7e8
BUG: Fix new custom command with make-var expansion test on VS6. The VS6 IDE adds some extra characters to the variable value during expansion.
2008-06-05 10:01:16 -04:00
Brad King
306e3e573f
ENH: Add test for make variable replacement in a custom command with the VERBATIM option.
2008-06-04 12:10:59 -04:00
Brad King
bed3ac8741
ENH: Remove SKIP_RULE_DEPENDS option from add_custom_command()
...
- Option was recently added but never released.
- Custom commands no longer depend on build.make so we do
not need the option.
- Rule hashes now take care of rebuilding when rules change
so the dependency is not needed.
2008-06-02 16:45:07 -04:00
Brad King
91de0b09ef
ENH: Update BuildDepends test to check #include lines with macros.
...
- Tests IMPLICIT_DEPENDS_INCLUDE_TRANSFORM properties.
- See issue #6648 .
- Works without help in VS IDEs due to native dependency handling.
- Xcode needs help to rebuild correctly.
2008-05-14 11:55:12 -04:00
Brad King
600e5e274e
ENH: Add SKIP_RULE_DEPENDS option for add_custom_command()
...
- Allows make rules to be created with no dependencies.
- Such rules will not re-run even if the commands themselves change.
- Useful to create rules that run only if the output is missing.
2008-05-14 11:38:47 -04:00
Brad King
16ec04c2a7
BUG: Fix escaping of more characters on Windows shells.
2008-04-30 15:58:45 -04:00
Brad King
c7d84b21c6
BUG: Do not escape shell operators when generating command lines.
...
- See bug#6868.
- Update CustomCommand test to check.
2008-04-29 15:34:49 -04:00
Brad King
464a6cbf34
ENH: Add test of preservation of static libraries on original link lines.
2008-04-23 00:40:32 -04:00
David Cole
05950097d8
BUG: Allow timeouts larger than 1500 for tests that may take longer than 25 minutes on really slow/busy machines. bootstrap has been timing out on tiamat, a very old machine, this should help it...
2008-04-19 13:37:38 -04:00
Alexander Neundorf
e20f1dd26c
ENH: use a common CPACK_BINARY_ prefix for the binary package generators
...
Alex
2008-04-17 17:23:21 -04:00
Brad King
629afe07ce
BUG: A per-config target name postfix should be ignored for Mac bundle and framework names.
2008-04-14 15:27:27 -04:00
Bill Hoffman
94f40300e8
ENH: add a simple x11 test for packaging
2008-04-11 10:23:27 -04:00
Bill Hoffman
ee867fb1b2
ENH: add a simple x11 program
2008-04-11 09:52:08 -04:00
Brad King
67834f2d53
BUG: Correct Mac OS X framework behavior
...
- Place the built library in foo.framework/Versions/A/foo
- Do not create unused content symlinks (like PrivateHeaders)
- Do not use VERSION/SOVERSION properties for frameworks
- Make cmTarget::GetDirectory return by value
- Remove the foo.framework part from cmTarget::GetDirectory
- Correct install_name construction and conversion on install
- Fix MACOSX_PACKAGE_LOCATION under Xcode to use the
Versions/<version> directory for frameworks
- Update the Framework test to try these things
2008-04-08 00:06:47 -04:00
Ken Martin
16f1cc9b59
ENH: support unset of properties
2008-04-01 14:22:09 -04:00
Brad King
71d292d087
BUG: Fix Fortran test to use more portable comment syntax in fixed format source.
2008-03-28 14:04:52 -04:00
Ken Martin
ff90b5efbf
BUG: make test more robust
2008-03-25 14:37:12 -04:00
Ken Martin
f0486827d5
BUG: add debugging into to check out a problem
2008-03-25 14:15:20 -04:00
Ken Martin
ce8810c4e7
ENH: preclean some warnings
2008-03-25 11:27:18 -04:00
Brad King
a6a673979d
ENH: Add "if(POLICY policy-id)" option for IF command.
...
- This will help projects support multiple CMake versions.
- In order to set a policy when using a newer CMake but still
working with an older CMake one may write
if(POLICY CMP1234)
cmake_policy(SET CMP1234 NEW)
endif(POLICY CMP1234)
- Note that since CMake 2.4 does not have if(POLICY) supporting
it will also require using "if(COMMAND cmake_policy)"
2008-03-20 18:25:59 -04:00
Brad King
8e2f45c24b
BUG: Convert cmake_policy(VERSION) to cmake_minimum_required(VERSION) in Tests/MakeClean/ToClean/CMakeLists.txt and Tests/Preprocess/CMakeLists.txt. CMP0000 now requires the cmake_minimum_required command.
2008-03-20 18:25:33 -04:00
Sebastien Barre
f64d3d0b77
ENH: add REMOVE_DUPLICATES subcommand to LIST command (and test). Remove duplicates from a list (keep the ordering)
2008-03-12 17:02:10 -04:00
Brad King
5233b75a77
ENH: Improve handling of old-style compatibility.
...
- Remove CMP_0001 (no slash in target name) and restore
old CMAKE_BACKWARDS_COMPATIBILITY check for it
- Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY
with cmLocalGenerator::NeedBackwardsCompatibility calls
- Create new CMP_0001 to determine whether or not
CMAKE_BACKWARDS_COMPATIBILITY is used.
(old = use, new = ignore)
- Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when
CMP_0001 is set to OLD or WARN
- Update documentation of cmake_policy and cmake_minimum_required
to indicate their relationship and the 2.4 version boundary
- When no cmake policy version is set in top level makefile
implicitly call cmake_policy(VERSION 2.4) which restores
CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility
- Fix tests MakeClean and Preprocess to call
cmake_policy(VERSION 2.6) because they depend on new policies
2008-03-07 15:30:35 -05:00
David Cole
a4e0edd4e8
ENH: Add script GetPrerequisites.cmake to help analyze what shared libraries executable files depend on. Primary uses are to determine what shared libraries should be copied into Mac OSX bundle applications to create standalone bundles apps and to determine what shared library files need to be installed for an executable to run on any platform. Requires native platform tools dumpbin, otool and ldd to generate results.
2008-03-04 08:18:34 -05:00
Brad King
b2cf4db201
BUG: Fix typo XCode -> Xcode in Preprocess test.
2008-03-01 10:56:03 -05:00
Brad King
e083de1cf5
ENH: Update Preprocess test to distinguish between the make tool or compiler tool that is at fault for not supporting a particular character in definitions. Make it skip the % character when the compiler is MSVC and it is a non-nmake tool.
2008-03-01 09:08:59 -05:00
Brad King
b459ec9f57
ENH: Updated DEFINE_PROPERTY command to be more extendible and more consistent with new SET_PROPERTY and GET_PROPERTY signatures.
2008-02-14 13:36:23 -05:00
Brad King
a71d56096c
BUG: Need ANSI C.
2008-02-08 09:24:29 -05:00
Brad King
bdb628145a
ENH: Make Dependency test Case2 require two traversals of a static library loop.
2008-02-07 16:14:17 -05:00
Bill Hoffman
378ca535a4
ENH: complex must link to curl now
2008-02-07 08:55:56 -05:00
Brad King
1cba430d1b
ENH: Combine all dependency* tests into one Dependency test. Add more difficult test cases.
2008-02-06 14:52:12 -05:00
Brad King
9e64d5b272
ENH: Improve exporting/importing of targets
...
- Use real name instead of link for location of versioned targets
- Error when a target is exported multiple times
2008-02-06 14:20:36 -05:00
Brad King
4d9fa41124
COMP: Convert C function prototypes to use (void) instead of ().
2008-02-03 08:57:58 -05:00
Ken Martin
8f5e85c4cc
ENH: disable test for vs 70 as devenv randomly segfaults when building the sub-project
2008-02-01 16:17:06 -05:00
Brad King
16186ec18c
BUG: Remove InstallNameFixupPath from cmTarget and cmInstallTargetGenerator.
...
- Motivation:
- It depended on the order of installation
- It supported only a single destination for each target
- It created directory portions of an install name without user request
- Updated ExportImport test to install targets in an order that expoed
this bug
2008-02-01 13:08:12 -05:00
Brad King
587419db83
ENH: Update ExportImport test to enforce dependent library paths
...
- Build without rpaths
- Place implementation libs in separate directories
2008-02-01 09:57:47 -05:00
Brad King
65761dee55
BUG: Fix commit 1.41 of Tests/CMakeLists.txt to place fake target before --version flag instead of after.
2008-02-01 09:36:54 -05:00
Brad King
2cff26fa52
ENH: Support linking to shared libs with dependent libs
...
- Split IMPORTED_LINK_LIBRARIES into two parts:
IMPORTED_LINK_INTERFACE_LIBRARIES
IMPORTED_LINK_DEPENDENT_LIBRARIES
- Add CMAKE_DEPENDENT_SHARED_LIBRARY_MODE to select behavior
- Set mode to LINK for Darwin (fixes universal binary problem)
- Update ExportImport test to account for changes
2008-01-31 15:45:31 -05:00
Brad King
109b5fc7a2
ENH: Updated ExportImport test to try LINK_INTERFACE_LIBRARIES.
2008-01-30 17:26:09 -05:00
Bill Hoffman
d51e9cf180
ENH: add missing files
2008-01-30 13:02:32 -05:00
Bill Hoffman
8a83f09637
ENH: fix for bug 3218 dependant projects are written out automatically if they are in the project. Also fix bug 5829, remove hard coded CMAKE_CONFIGURATION_TYPES from vs 7 generator
2008-01-30 12:04:38 -05:00
Brad King
e5fce58da3
BUG: Custom command driver outputs must be SYMBOLIC since no corresponding file is created.
2008-01-29 08:03:43 -05:00
Brad King
3630a4e4e7
BUG: Make sure CMAKE_INSTALL_PREFIX stays in subproject caches.
2008-01-29 07:57:24 -05:00
Brad King
41c2895b75
ENH: Added version support to Config mode of find_package command.
...
- Added EXACT option to request an exact version.
- Enforce version using check provided by package.
- Updated FindPackageTest to test versioning in config mode.
2008-01-28 20:38:48 -05:00
Brad King
9275e1f1d2
BUG: Fix Framework test after fixing FRAMEWORK targets to not install like frameworks on non-Apple systems.
2008-01-28 14:46:58 -05:00
Brad King
e3b1bdb058
ENH: Support exporting/importing of AppBundle targets.
...
- Imported bundles have the MACOSX_BUNDLE property set
- Added cmTarget::IsAppBundleOnApple method to simplify checks
- Document BUNDLE keyword in INSTALL command
- Updated IMPORTED_LOCATION property documentation for bundles
- Updated ExportImport test to test bundles
2008-01-28 14:46:16 -05:00
Brad King
437043bb04
BUG: Fix export/import file generation to not store link dependencies of executables or modules.
2008-01-28 13:37:59 -05:00
Brad King
6388ebceb1
ENH: Restored APPEND option to EXPORT() command in new implementation.
2008-01-28 13:21:42 -05:00
Brad King
611bff2c1b
ENH: Added framework to ExportImport test.
2008-01-28 13:06:17 -05:00
Brad King
976b426b2d
ENH: Added ExportImport test to test new export/import features.
2008-01-28 08:40:21 -05:00
Brad King
1332b55794
BUG: Updated SimpleInstall tests for new export/import interface.
2008-01-28 08:39:25 -05:00
Ken Martin
f4b7ba9c42
ENH: add testing for return and break commands
2008-01-23 10:29:21 -05:00
Brad King
d2d18fb565
ENH: Added RuntimePath test to make sure rpath gets correct order.
2008-01-22 09:15:16 -05:00
Brad King
96fd5909d9
ENH: Implement linking with paths to library files instead of -L and -l separation. See bug #3832
...
- This is purely an implementation improvement. No interface has changed.
- Create cmComputeLinkInformation class
- Move and re-implement logic from:
cmLocalGenerator::ComputeLinkInformation
cmOrderLinkDirectories
- Link libraries to targets with their full path (if it is known)
- Dirs specified with link_directories command still added with -L
- Make link type specific to library names without paths
(name libfoo.a without path becomes -Wl,-Bstatic -lfoo)
- Make directory ordering specific to a runtime path computation feature
(look for conflicting SONAMEs instead of library names)
- Implement proper rpath support on HP-UX and AIX.
2008-01-22 09:13:04 -05:00
Brad King
19d22f6105
BUG: Do not get in infinite loop when checking make tool version in cmake build tree.
2008-01-21 17:29:54 -05:00
Brad King
f41b1e8e91
ENH: Implement version support in the find_package command module mode. Version numbers provided to the command are converted to variable settings to tell the FindXXX.cmake module what version is requested. This addresses issue #1645 .
2008-01-21 08:48:33 -05:00
Alexander Neundorf
fc8ce17433
ENH: remove RAISE_SCOPE() again and instead add SET(<var> <value> PARENT_SCOPE)
...
Alex
2008-01-18 15:52:54 -05:00
Brad King
9d57dbd098
ENH: Make per-configuration COMPILE_DEFINITIONS_<CONFIG> directory property initialized from parent.
2008-01-17 20:34:10 -05:00
Brad King
433099ecdd
ENH: Converted cmMakefile DefineFlags added by ADD_DEFINITIONS command into a COMPILE_DEFINITIONS directory property.
2008-01-17 19:29:43 -05:00
Brad King
a3e53fcfa2
ENH: Use new set_property signature to set COMPILE_DEFINITIONS properties in Preprocess test.
2008-01-17 17:34:56 -05:00
Brad King
669db35aa4
ENH: Changed signature of GET_PROPERTY command to be more powerful and extendible.
2008-01-17 17:19:13 -05:00
Brad King
b8357db11d
ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more powerful signature.
2008-01-17 15:54:49 -05:00
Ken Martin
ec2839c57d
STYLE: change case to match book
2008-01-17 10:26:49 -05:00
Brad King
81af53e3c0
ENH: Updated FindPackageTest to test new find_package command features.
2008-01-17 09:06:36 -05:00
Brad King
80c2be45e0
ENH: Renamed <CONFIG>_COMPILE_DEFINITIONS to COMPILE_DEFINITIONS_<CONFIG> for better documentation clarity.
2008-01-15 21:02:00 -05:00
Brad King
1ab0b18ea0
BUG: Add newline between properties.
2008-01-15 10:38:15 -05:00
Brad King
3ebd9aa08b
BUG: Test needs ansi C code support.
2008-01-15 09:09:52 -05:00
Brad King
7849ab756f
BUG: Disable semicolon test on VS 7.0.
2008-01-14 11:21:06 -05:00
Brad King
8262ccfd4e
ENH: Create COMPILE_DEFINITIONS property for targets and source files. Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators.
2008-01-14 09:20:58 -05:00
Brad King
b761da39c1
ENH: Patch from Maik to add preprocessor directive handling to Fortran dependency scanning. Also added -fpp flag to Intel Fortran compiler on Windows by default.
2008-01-09 10:30:11 -05:00
Ken Martin
ac4c2f675a
ENH: change raise_scope signature to be safer for returned varuables
2008-01-03 11:22:33 -05:00
Brad King
3fbd0ad869
ENH: Add test for FILE(READ ...HEX).
2008-01-02 18:00:19 -05:00
Brad King
dcd9a1b59f
BUG: Make RAISE_SCOPE function work when variable is not defined.
2008-01-02 17:49:16 -05:00
Brad King
60bf0531b0
ENH: Added FILES_MATCHING option to INSTALL(DIRECTORY). This will help install a tree of header files while ignoring non-headers.
2008-01-02 15:17:56 -05:00
Brad King
24d6ecd81c
BUG: Fix SimpleInstall test to work with new dependency of package on all.
2008-01-01 10:54:49 -05:00
Brad King
b2e8c07af8
ENH: Implemented Fortran module output directory and search path flags.
2007-12-30 16:11:38 -05:00
Brad King
3efc6e40cb
BUG: Do not remove the source file extension when computing an object file name. This addresses bug #6169 . If CMAKE_BACKWARDS_COMPATIBILITY is 2.4 or lower maintain the old behavior so that existing build trees and old project releases are not affected.
2007-12-28 23:07:26 -05:00
Brad King
2da186266e
BUG: Disable test of fortran module dependencies except on GNU for now. A module path feature is needed for Sun support because it uses -M instead of -I for the module search path.
2007-12-28 22:53:34 -05:00
Brad King
f4fb1a4f91
ENH: Add tests of Fortran module dependencies across directories and on external modules. Tests based on cases provided by Maik in issue #5809 .
2007-12-28 11:50:29 -05:00
Brad King
d4e0727e4d
BUG: Enable CMAKE_SUPPRESS_REGENERATION because the entire test runs during the inital configuration.
2007-12-21 20:19:23 -05:00
Brad King
d83b4cd255
ENH: Add a depends check step to custom targets. Add support for the IMPLICIT_DEPENDS feature of custom commands when building in custom targets. Convert multiple-output pair checks to be per-target instead of global.
2007-12-21 12:22:12 -05:00
Brad King
07db9b83a7
ENH: Renamed CMAKE_FIND_PREFIX_PATH to CMAKE_PREFIX_PATH for brevity and consistency with other find path variable names.
2007-12-19 11:06:47 -05:00
Bill Hoffman
b57b1c563d
BUG: fix for bug 6172 add get source file prop LANGUAGE
2007-12-18 09:57:41 -05:00
Brad King
872553de7e
ENH: Implemented generation of display for pre-build, pre-link, and post-build custom command comments during the build. This addresses issue #5353 .
2007-12-18 09:50:08 -05:00
Brad King
8506938407
ENH: Added SOURCES property to targets. This is based on patch from issues #6137 .
2007-12-17 10:12:22 -05:00
Brad King
f860026155
ENH: Added test for Fortran90 modules in subdirectories.
2007-12-15 15:36:14 -05:00
Bill Hoffman
5fb34f101a
ENH: change to libs that are not real
2007-12-06 22:38:29 -05:00
Bill Hoffman
246e964180
BUG: fix for bug 5455, handle nodefaultlib with more than one lib
2007-12-06 08:40:18 -05:00
Ken Martin
f4b1c3880b
ENH: add functions and raise scope
2007-12-03 13:35:41 -05:00
Ken Martin
951444165f
ENH: add functions and raise scope to cmake
2007-12-03 12:44:42 -05:00
Bill Hoffman
6718c3c85b
BUG: try to fix configure error on dashboard
2007-11-25 17:11:29 -05:00
Alexander Neundorf
e3c84cf5a6
ENH: add support for the Syllable OS ( http://www.syllable.org )
...
major issues:
-access() doesn't return false for an empty string (#ifdefed in cmake)
-dlopen() doesn't return 0 on failure (#ifdefed in cmake and fixed now in Syllable)
-the kwsys and Bootstrap tests fail with timeout due to the fact that I'm doing all that in qemu, which is quite slow
-RPATH is now supported, so without modifying the test adapting DLL_PATH in Syllable is required for the tests to succeed
-the Plugin test fails with an undefined reference to example_exe_function() in example_mod_1, it seems this isn't supported under Syllable
Alex
2007-11-23 20:45:49 -05:00
Brad King
88b31bd007
ENH: Adding test for using HEADER_FILE_ONLY to avoid building a .cxx file.
2007-11-19 14:27:43 -05:00
Ken Martin
0516f8af36
ENH: switch to new install commands to match book text
2007-11-13 11:21:51 -05:00
Ken Martin
58f0cad472
ENH: switch to new install commands to match book text
2007-11-13 11:11:03 -05:00
Brad King
17c8e898ab
BUG: Fixed fake generation of files to behave more like fluid.
2007-11-10 17:31:50 -05:00
David Cole
6767a658fc
BUG: Need extra regex to parse sw_vers output on Mac OSX 10.2 (and presumably earlier) to avoid running PackageMaker during the SimpleInstall* tests. See comment in CMake/Tests/SimpleInstall/CMakeLists.txt for more info.
2007-11-10 06:54:43 -05:00
David Cole
4e752dee91
ENH: Add new Tutorial steps. Diff between Step5 and Step6 shows how to add a cpack driven installer to your project. Diff between Step6 and Step7 shows how to add ctest dashboard scripting capability.
2007-11-08 10:38:26 -05:00
Ken Martin
16ac724c91
ENH: add doc test for strict builds
2007-11-06 14:11:00 -05:00
Ken Martin
ba9b508478
ENH: add a etst to verify props are documented
2007-11-06 14:10:29 -05:00
Bill Hoffman
dcf21dd90b
ENH: remove findqt3 from cmake's cmakelist files
2007-11-02 10:46:03 -04:00
Alexander Neundorf
0398d8ad38
ENH: add support for CMAKE_FIND_PREFIX_PATH as discussed with Brad.
...
CMAKE_FIND_PREFIX_PATH is both an environment variable and a cmake variable,
which is a list of base directories where FIND_PATH, FIND_FILE, FIND_PROGRAM
and FIND_LIBRARY will search in the respective subdirectories
Alex
2007-10-26 09:55:40 -04:00
David Cole
c8e832dcf5
BUG: Fix #5868 - add COMPONENT handling to the SCRIPT and CODE signatures of the INSTALL command.
2007-10-15 07:08:15 -04:00
Ken Martin
8d32d229a3
ENH: make commands lower case by default
2007-10-10 11:47:43 -04:00
David Cole
8e4c7b99e1
ENH: Finish up the Framework creation code restructuring. Frameworks build and install now. More work needed on the packaging step. See Tests/Framework for example use.
2007-10-10 11:06:15 -04:00
Brad King
aa9ba5c3ef
ENH: Added test for 'use' keyword in a comment. Patch from Maik Beckmann. See bug#5809.
2007-10-10 09:09:09 -04:00
David Cole
890efa7980
COMP: Rename the executables for the SimpleInstall tests so that the executable files that run during the test do not have the word install in their file names. This allows running the tests on Windows Vista without admin privileges and without adding a manifest containing the asInvoker requestedExecutionLevel element.
2007-10-01 15:57:34 -04:00
Bill Hoffman
80e0dd8c05
ENH: increase timeout
2007-09-25 08:36:21 -04:00
Bill Hoffman
004c3639f4
ENH: VV make too much data for the dashboard
2007-09-20 16:48:06 -04:00
Brad King
bb6b7de09a
ENH: Disable package test only on OSX < 10.4. Added comment explaining reason for timeout.
2007-09-20 10:56:33 -04:00
Brad King
7735a38557
ENH: Restore shorter timeout for SimpleInstall-Stage2.
2007-09-20 10:47:36 -04:00
Bill Hoffman
797db515a0
ENH: fix failing test when valgrind is on
2007-09-19 11:16:57 -04:00
Brad King
4710c7aef6
ENH: Re-enable packaging part of SimpleInstall-Stage2 test on Apple. Give it a long timeout to see what is going on.
2007-09-19 11:10:35 -04:00
Alexander Neundorf
b4f02ec0bd
COMP: reenable the installation of the PUBLIC_HEADERs
...
Alex
2007-09-19 09:04:26 -04:00
Bill Hoffman
ee3d940d97
ENH: increase timeout for long test
2007-09-18 11:35:13 -04:00
Alexander Neundorf
2f7f5eb04a
COMP: disable packaging test on Apple, see if this fixes the timeouts
...
Alex
2007-09-17 16:21:24 -04:00
Bill Hoffman
6e9b3f36eb
ENH: test install of debug libs
2007-09-17 15:27:59 -04:00
Brad King
423cdb561c
ENH: Adding test for ADD_CUSTOM_COMMAND's new IMPLICIT_DEPENDS feature.
2007-09-17 10:51:05 -04:00
Brad King
9f542f4ef7
ENH: Added OBJECT_OUTPUTS source file property. Updated PrecompiledHeader test to use it (making the test simpler).
2007-09-13 13:37:45 -04:00
Bill Hoffman
fdab49ab57
ENH: turn this stuff off to see if it fixes the dashboard on midworld
2007-09-10 17:39:28 -04:00
Bill Hoffman
226993c970
ENH: fix memory leak
2007-09-10 17:10:40 -04:00
Bill Hoffman
41b20b5979
ENH: add test that builds a nightly windows cmake binary
2007-09-10 10:49:05 -04:00
Alexander Neundorf
56c0bbc83f
STYLE: adapt the test to the change from FILENAME to FILE
...
-add a call to the EXPORT() command
Alex
2007-08-30 16:23:12 -04:00
Alexander Neundorf
ef13337c1f
ENH: added tests for the CMAKE_MATCH_(0..9) variables, which get set by
...
regex matches (STRING(REGEX), IF(MATCHES))
Alex
2007-08-29 12:01:58 -04:00
Alexander Neundorf
5615d47198
COMP: enable ANSI C, this should make it work with the HP-UX compiler
...
Alex
2007-08-28 10:59:08 -04:00
Alexander Neundorf
61aa07b78c
COMP: maybe it compiles this way with the HP-UX compiler
...
Alex
2007-08-28 08:36:31 -04:00
Alexander Neundorf
8302ea66d2
ENH: add test for installing a header marked as PUBLIC_HEADER of a library
...
Alex
2007-08-27 16:05:42 -04:00
Alexander Neundorf
556b1257ac
COMP: add a test for exporting and importing targets
...
Alex
2007-08-27 15:15:26 -04:00
Alexander Neundorf
cfd9fdf5de
COMP: the SimpleInstall test also succeeds on the Mac, so maybe Andys
...
comment is not valid anymore
Alex
2007-08-27 14:44:32 -04:00
Alexander Neundorf
ee9dcc95b4
ENH: add the source_group() demo to the tests
...
Alex
2007-08-27 14:17:29 -04:00
Alexander Neundorf
90aabf14f9
BUG: demo (not really test) for the source_group() command
...
Alex
2007-08-24 14:39:13 -04:00
David Cole
9a4e7ea742
ENH: Add InstallNameFixupPath to support installing built frameworks on the Mac. Change Application to Applications in the BundleTest. Also correct small typo (tcl->Tcl) noted in bug 4572.
2007-08-24 13:30:41 -04:00
Alexander Neundorf
e7a1b85f76
ENH: add test for source_group
...
Alex
2007-08-24 10:39:51 -04:00
Bill Hoffman
2e24dd1e5b
ENH: fix leak
2007-08-21 12:31:32 -04:00
Alexander Neundorf
2f23ecdb8a
ENH: change LIST(CONTAINS ...) TO LIST(FIND ...), which returns the index
...
and which is more useful, because then you can also access the item behind
the one you were looking, useful for writing macros with optional keywords
with parameters
Alex
2007-08-15 10:26:50 -04:00
David Cole
fa61182de8
ENH: Improvements to the Xcode generator. Build frameworks using native Copy Headers and Copy Bundle Resources phases. Fix bugs: eliminate folders with no names, ensure source files show up in multiple targets, remove empty utility targets from Sources subtrees, ensure that fileRefs only show up once in each grouping folder.
2007-08-14 11:45:15 -04:00
Alexander Neundorf
998c176cc0
STYLE: mark these variables as advanced, they are only used for testing
...
whether the tests should be added or not
Alex
2007-08-09 16:54:28 -04:00
Alexander Neundorf
feeb93cbd8
COMP: lets see if this sets the timeout back to 5400
...
Alex
2007-08-09 09:57:21 -04:00
Alexander Neundorf
9deca5887d
ENH: remove the watch for the upper case variable name, it breaks the
...
feature summary, which needs to check for both the upper case and original
case _FOUND variables
Alex
2007-08-08 13:05:27 -04:00
Alexander Neundorf
b34078bca9
COMP: change the order of the tests, so maybe the timeout works
...
Alex
2007-08-08 10:05:11 -04:00
Alexander Neundorf
5484f1bc0c
ENH: also specify the C++ compiler for mingw
...
Alex
2007-08-08 09:32:44 -04:00
Alexander Neundorf
5ac0a79029
BUG: disable this test temporarily
...
Alex
2007-08-07 18:02:33 -04:00
Alexander Neundorf
91384d7df4
BUG: the test for chicken should be named Chicken, not plplot
...
Alex
2007-08-07 10:13:47 -04:00
Alexander Neundorf
1d89334ac9
ENH: add plplot and Chicken Scheme build tests
...
Alex
2007-08-06 14:45:12 -04:00
David Cole
64f40a2816
BUG: Fix test that broke on Windows - sharing sources between SHARED and STATIC libraries requires correct export and import decorations in the source code...
2007-08-01 16:15:54 -04:00
David Cole
ee91e25499
BUG: Only pay attention to the FRAMEWORK target property for SHARED library targets
2007-08-01 13:04:45 -04:00
Alexander Neundorf
67672b814a
ENH: add tests for check_c_source_runs(), check_cxx_source_runs(),
...
check_c_source_compiles() and check_cxx_source_compiles()
-TRY_RUN in crosscompiling mode: copy the created executables to
CMAKE_BINARY_DIR so the user can run them manually on the target
Alex
2007-07-31 14:52:01 -04:00
Bill Hoffman
fcad93e172
ENH: user more memory for parser and add test to complex that sets a huge string
2007-07-20 14:08:37 -04:00
Alexander Neundorf
edb0a70d1f
STYLE: remove debug output
2007-07-16 13:29:41 -04:00
Alexander Neundorf
fac8604810
BUG: GET_DIRECTORY_PROPERTY(INCLUDE_DIRECTORIES|LINK_DIRECTORIES) wasn't
...
working, for both the result was always empty, since
cmMakefile::GetProperty() recognized it as a special property, constructed a
correct return value and called cmMakefile::SetProperty() with this list of
directories, which then didn't actually set the property, but applied it to
the internal vector of include/link directories. The following
getPropertyValue in cmMakefile::GetProperty() then still didn't find it and
returned nothing. Now for all special property the static string output is
used and its content is returned. I'm not sure it is the right way to fix
this problem but at least it seems to work and it fixes the Paraview3 build
Alex
2007-07-16 13:26:56 -04:00
Alexander Neundorf
c8010cd7fb
ENH: add LIST(CONTAINS ...) patch from "Miguel A. Figueroa-Villanueva, miguelf (AT) ieee.org
...
added tests for LIST(CONTAINS, SORT, REVERSE)
Alex
2007-07-12 11:56:45 -04:00
Alexander Neundorf
1f7eaa1c6a
COMP: hopefully fix test, finally
...
Alex
2007-07-09 08:16:04 -04:00
Alexander Neundorf
0cd81e8a8c
COMP: fix test
...
Alex
2007-07-08 22:06:32 -04:00
Alexander Neundorf
03ea7bf2e1
BUG: fix test
...
Alex
2007-07-06 14:02:42 -04:00
Alexander Neundorf
ef7b647b3b
COMP: OPTIONAL was missing in ENABLE_LANGUAGE()
...
-the assembler file seems to work for Linux and FreeBSD
-try to fix main() for HP-UX compiler
Alex
2007-07-06 08:53:16 -04:00
Alexander Neundorf
7627b96dd1
STYLE: some more output
...
Alex
2007-07-05 16:38:16 -04:00
Alexander Neundorf
0589ff74ae
COMP: skip APPLE, since there with universal binaries the assembler file would be built for both architectures
...
Alex
2007-07-05 16:32:40 -04:00
Alexander Neundorf
f9fb18f875
COMP: let's see if this assembler file works also on other platforms than linux...
...
Alex
2007-07-05 16:11:20 -04:00
Alexander Neundorf
5021eb90b9
ENH: add a simple assembler test
...
Alex
2007-07-05 09:05:40 -04:00
Alexander Neundorf
930bb0cd37
ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE,
...
CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE,
CMAKE_SYSTEM_AND_C_COMPILER_AND_PROCESSOR_INFO_FILE and CMAKE_SYSTEM_AND_CXX_COMPILER_AND_PROCESSOR_INFO_FILE
Instead of presetting these variables to arbitrary filenames, users should
set up CMAKE_SYSTEM_NAME and the compilers correctly and also create a
Platform/ directory so these files will all follow the official cmake style,
which should make it easier to understand and debug project which have their
own platform/toolchain support files.
-remove support for a suffix to MS crosscompilers, since this is not (yet)
supported by cmake and might confuse users
Alex
2007-07-02 13:29:36 -04:00
Brad King
c8b263c674
ENH: Enable versioned executable test everywhere but XCode.
2007-07-02 09:58:08 -04:00
Brad King
04525424af
BUG: For in-source version do not use a custom command output and custom target with the same name. This accidentally worked before but with a circular dependency.
2007-06-27 13:22:45 -04:00
Alexander Neundorf
07613ff7f8
COMP: fix tests where the building cmake doesn't have GET_TEST_PROPERTY
...
Alex
2007-06-27 08:43:06 -04:00
Alexander Neundorf
ae47302529
ENH: add a SimpleCOnly test, this is needed e.g. for testing sdcc since this
...
doesn't support C++ and also doesn't have a printf() implementation by
default
-add a test for mingw cross compiler
Alex
2007-06-26 15:30:02 -04:00
Alexander Neundorf
25a425ecf0
ENH:
2007-06-26 15:15:52 -04:00
Ken Martin
509f1fb9cb
ENH: some property cleanup and added GetProperty
2007-06-25 09:51:37 -04:00
Alexander Neundorf
7f1fbe4e4c
STYLE: add some more output, so it is easier to understand
...
Alex
2007-06-21 14:06:52 -04:00
Alexander Neundorf
9a696669dc
COMP: big timeout for building kdelibs
...
Alex
2007-06-15 08:42:34 -04:00
Alexander Neundorf
53e5cf3a38
ENH: add test for buildingn kdelibs alpha1 ( http://websvn.kde.org/tags/KDE/3.90.1 ) with cmake
...
requires Qt >= 4.3.0, DBus, kdesupport (http://websvn.kde.org/trunk/kdesupport/ )
and the EasyDashboard scripts.
Alex
2007-06-14 13:55:23 -04:00
Alexander Neundorf
7203990661
COMP: removing the directory at the beginning breaks the test for in-source
...
builds
Alex
2007-06-14 08:33:21 -04:00
Alexander Neundorf
92270d5bf8
COMP: fix test, in some cases stdout from bar was not captured correctly,
...
probably because the process was killed before the fflush() worked because
the busy loop blocked the processor (failing midworld test)
Alex
2007-06-13 16:26:50 -04:00
Bill Hoffman
227b942584
ENH: remove test
2007-06-11 17:15:00 -04:00
Bill Hoffman
23ef759b40
ENH: add ConvLib test back for some time
2007-06-11 15:00:23 -04:00
Brad King
0f4ad19ef8
ENH: Re-arranged code to test adding a custom command to generate a source file after the file has been added to a target. This is supported by the current implementation because of the use of source lists in the target implementation. When we later convert to creating cmSourceFile instances immediately for the target we need to make sure the mentioned case still works.
2007-06-11 13:22:17 -04:00
Brad King
db0f26e852
BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This fixes the original fix to bug#4393 and adds a test.
2007-06-06 16:20:02 -04:00
Bill Hoffman
c8067b3904
ENH: fix it
2007-06-06 13:43:46 -04:00
Bill Hoffman
b4f4a06102
ENH: use lower case for file compare on windows
2007-06-06 13:32:01 -04:00
Bill Hoffman
61ccdc4e92
ENH: add missing file
2007-06-04 17:18:31 -04:00
Bill Hoffman
64a8eb990a
ENH: add one of the headers to the regular sources
2007-06-04 15:28:05 -04:00
Alexander Neundorf
eddf1cf39f
ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now
...
creates two cache variables, one for the RUN_RESULT, one for the RUN_OUTPUT
(if required), which can be set or preset by the user. It has now also two
new arguments: RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE (the old
OUTPUT_VARIABLE merges both), so if only COMPILE_OUTPUT_VARIABLE is used the
run time output of the TRY_RUN is unused and the user doesn't have to care
about the output when crosscompiling. This is now used in FindThreads.cmake,
CheckC/CXXSourceRuns.cmake and TestBigEndian.cmake, which used the output
only for the logfile (compile output is still there). Test/TryCompile/ now
also tests the behaviour of OUTPUT_VARIABLE, RUN_OUTPUT_VARIABLE and
COMPILE_OUTPUT_VARIABLE.
Alex
2007-06-01 11:16:29 -04:00
Ken Martin
2f07e8e8f8
ENH: added new test for SourceFile objects and properties
2007-05-31 10:29:13 -04:00
Alexander Neundorf
eed7c8dec1
ENH: always provide CMAKE_SYSTEM_XXX() and MAKE_HOST_SYSTEM_XXX() variables,
...
so when cross compiling the build host platform can be tested
Alex
2007-05-29 11:36:07 -04:00
Brad King
06472d620a
ENH: Added more install rules to increase coverage of the command.
2007-05-28 11:41:29 -04:00
Alexander Neundorf
f4eb541880
ENH: make the compiler id detection work, even if the output file name of
...
the compiler is completely unknown and even if it produces intel hex or
motorola s-record files, with test
Alex
2007-05-25 15:22:22 -04:00
Brad King
a99c60b0ed
ENH: Added testing of REGEX option to INSTALL(DIRECTORY). Added tests to cover all forms of old-style install commands.
2007-05-25 11:41:37 -04:00
Brad King
3124c60938
ENH: Add test to see if INSTALL_FILES actually worked.
2007-05-25 11:09:22 -04:00
Alexander Neundorf
7147c3e1cc
ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable can
...
be used e.g. for getting strings out of it.
Alex
2007-05-24 12:06:59 -04:00
Alexander Neundorf
7d7aba292c
ENH: add two simple tests for TRY_RUN()
...
STYLE: create a new base class cmCoreTryCompile, from which
cmTryCompileCommand and cmTryRunCommand are derived, so there are no public
static functions with lots of arguments anymore
Alex
2007-05-24 11:27:51 -04:00
Brad King
6a145fb2be
BUG: Report proper error message when project does not build the first time. Also added hack to rebuild subproject several times for Xcode. The generator should be fixed and the hack removed.
2007-05-23 17:58:14 -04:00
Brad King
c3474ad029
ENH: Executable bar should rebuild when its generated header changes. It does not need to link to the foo library anymore.
2007-05-23 17:01:26 -04:00
Brad King
303b4312b2
BUG: Target names in the COMMAND part of a custom command should not create a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works.
2007-05-23 13:30:23 -04:00
Brad King
c288da754a
BUG: Target names in the COMMAND part of a custom command should not create a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works.
2007-05-23 13:27:00 -04:00
Alexander Neundorf
3b4aa3bf35
BUG: always search for ar, ranlib, etc. except under MSVC -> this should fix the mingw fortran test
...
-also generate the fortran test with the kdevelop generator
Alex
2007-05-21 10:15:42 -04:00
Brad King
7416d0d67d
BUG: Fix name of project to build for LoadCommandOneConfig now that it has been renamed for new name of LoadCommand test.
2007-05-20 10:11:48 -04:00
Brad King
5e45ca6fbf
BUG: Finish fixing test for new name.
2007-05-19 10:15:24 -04:00
Bill Hoffman
e2ea9391e6
BUG: fix project name for test
2007-05-19 10:10:29 -04:00
Ken Martin
df1a77c225
ENH: some cleanup, condensing some tests, removing arguments that were not needed but rather were cut and paste copies etc
2007-05-18 15:11:20 -04:00
Brad King
9bfb3cacbb
BUG: Replace "with space" in custom command argument tests with "w s" to still have whitespace but be shorter. The test was failing because the custom command line length was simply too long for the VS IDE.
2007-05-18 09:33:59 -04:00
Brad King
ea66edaf5e
ENH: Added quick means to turn on verbose output for debugging this test.
2007-05-18 09:18:09 -04:00
Brad King
6f9575690a
ENH: Add testing of * and / character arguments except on MinGW.
2007-05-17 14:32:14 -04:00
Brad King
ad0df37f62
ENH: Added test for custom command lines with special single-character arguments.
2007-05-17 14:03:31 -04:00
Brad King
f41e1f496c
BUG: Disable test of angle bracket escapes until it works everywhere.
2007-05-17 13:28:54 -04:00
Alexander Neundorf
61d3444f93
ENH: merge CMake-CrossCompileBasic to HEAD
...
-add a RESULT_VARIABLE to INCLUDE()
-add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain
-have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system)
-use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to
run the executables if they have a different suffix because they are
probably crosscompiled, but nevertheless it should be able to find them
-make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE
-support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.)
-move ranlib on OSX from the file command to a command in executed in cmake_install.cmake
-add support for stripping during install in cmake_install.cmake
-split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools
-remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms
-create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these
-add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a
list of directories which will be prepended to all search directories, right
now as a cmake variable, turning it into a global cmake property may need
some more work
-remove cmTestTestHandler::TryExecutable(), it's unused
-split cmFileCommand::HandleInstall() into slightly smaller functions
Alex
2007-05-17 13:20:44 -04:00
Brad King
c25d2bfdd2
ENH: Added testing for custom command line arguments containing all special characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make.
2007-05-17 10:53:18 -04:00
Brad King
b384218ec1
BUG: Disable test of feature that is not documented or implemented everywhere.
2007-05-16 11:40:53 -04:00
Andy Cedilnik
27727a2bba
BUG: check in the rest of the changes to move from c to cxx
2007-05-16 07:56:56 -04:00
Andy Cedilnik
9338803697
BUG: fix test for hp move to c++ to avoid ansi issues and produce a message if the compile fails, (really checked in by Bill H.)
2007-05-16 07:55:00 -04:00
Ken Martin
3aa23ce6eb
ENH: revert back to SUBDIRS so that CMake can be built with 2.2
2007-05-14 08:59:09 -04:00
Ken Martin
1c318150a6
ENH: minor fixes
2007-05-11 12:17:27 -04:00
Ken Martin
2208231aac
ENH: some more CMakeList cleanups
2007-05-11 10:22:20 -04:00
Ken Martin
0f0a83a51f
ENH: more cleanup of some CMakeLists files
2007-05-11 09:02:17 -04:00
Bill Hoffman
1f286c067f
ENH: add test for build depends
2007-05-10 10:05:52 -04:00
Bill Hoffman
d419354250
ENH: add a test to make sure Xcode does not break again
2007-05-09 15:10:12 -04:00
Brad King
adcd87c976
BUG: Fixed cmLocalVisualStudio7Generator to deal with quotes in macro definitions properly. This addresses bug#4983.
2007-05-09 10:18:31 -04:00
Alexander Neundorf
7f11536704
ENH: now target names can be used in add_custom_command() and
...
add_custom_target() as COMMAND, and cmake will recognize them and replace
them with the actual output path of these executables. Also the dependency
will be added automatically. Test included.
ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(),
so it is done now in one central place
Alex
2007-05-09 08:25:45 -04:00
Bill Hoffman
f2d3e386f7
ENH: make it work on non windows
2007-05-08 12:43:06 -04:00
Bill Hoffman
39ccc4fb11
ENH: fix it so that the FRAMEWORK property does not break the building of normal shared libs on non-mac platforms
2007-05-08 11:53:39 -04:00
Bill Hoffman
b39d96dff8
ENH: add a very simple framework test
2007-05-08 10:58:35 -04:00
Brad King
87853ed828
ENH: Added test to make sure custom commands are not built more than once in a single build. This tests for a bug introduced by one fix and fixed by another fix for bug#4377.
2007-05-01 14:12:56 -04:00
Andy Cedilnik
1d4613a63b
ENH: Add STRING STRIP command
2007-04-26 21:50:52 -04:00
Brad King
0fb689973e
ENH: Added FILE(STRINGS) command.
2007-04-25 17:22:07 -04:00
Brad King
03dfb39bd0
ENH: Added function call argument to module function to make sure calling convention matches on lookup. Fixed for Watcom.
2007-04-19 11:32:43 -04:00
Brad King
b3a05f57dd
COMP: Need to enable ansi C features.
2007-04-17 23:27:30 -04:00
Brad King
fc9ceda5e7
ENH: Fixed Plugin test on Cygwin.
2007-04-17 18:18:42 -04:00
Brad King
c1a6e4dcc6
ENH: Configure location of plugin files so that the executable can run with any current working directory.
2007-04-17 13:52:50 -04:00
Brad King
aabcf981e2
ENH: Added test for executables with plugins that use an API exported by the executable itself.
2007-04-17 13:43:03 -04:00
Andy Cedilnik
f9f1ccadb3
ENH: Add variable watch command
2007-04-11 15:13:05 -04:00
Brad King
438a7e2fce
BUG: Fix utility dependencies for static libraries in VS generators. This addresses bug#4789.
2007-04-04 14:50:35 -04:00
Brad King
0cb45081d9
BUG: Disable deep-source test on Watcom until it can be fixed. This is a new feature for other generators anyway.
2007-03-21 07:16:32 -04:00
Brad King
e85eb5fc3d
BUG: Reduce long source file name length for WMake.
2007-03-20 13:34:39 -04:00
Brad King
75a51cd065
BUG: Work around VS8 conversion to a relative path for the long source name. It takes the nice full path we give it, converts to relative, and then repacks relative on top of the build directory resulting in a path longer than its own maxpath even though the original path given was short enough. Even VS6 dealt with it better.
2007-03-20 08:16:35 -04:00
Brad King
1f639ee76c
ENH: Added computation of object file names that are almost always short enough to not exceed the filesystem path length limitation. This is useful when a source file from outside the tree is referenced with a long full path. The object file name previously would contain the entire path which when combined with the build output directory could exceed the filesystem limit. Now CMake recognizes this case and replaces enough of the beginning of the full path to the source file with an md5sum of the replaced portion to make the name fit on disk. This addresses bug#4520.
2007-03-16 10:34:25 -04:00
Brad King
176879b2fe
BUG: Remove spaces from test output paths. Not all make tools can handle it. Ths SubDirSpaces test is meant for that purpose anyway.
2007-03-12 23:36:56 -04:00
Brad King
4b0d362fe9
BUG: Do not use /I mode in VS6.
2007-03-12 13:28:57 -04:00
Brad King
ff220755e2
BUG: Clean the pch during make clean so that the test passes when run more than once.
2007-03-12 12:44:59 -04:00
Brad King
fb38af53c0
BUG: Split precompiled header flags into a separate per-global-generator flag map. This is needed because the flag mappings differ across VS IDE versions. This fixes bug#3512 for VS8 where as the previous fix only worked for VS7.
2007-03-12 12:35:11 -04:00
Brad King
cf7eeab37a
ENH: Testing new target properties RUNTIME_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and ARCHIVE_OUTPUT_DIRECTORY. This is an incremental fix for bug#2240 and bug#4210.
2007-03-12 10:23:06 -04:00
Ken Martin
bfb3598c4b
BUG: improve bad argument handling for INCLUDE_DIRECTORIES and ADD_DEFINITIONS bug 4364
2007-03-07 11:03:57 -05:00
Ken Martin
820aa6b961
ENH: added a tets for newlines in some commands
2007-03-06 14:52:39 -05:00
Bill Hoffman
73818126f3
ENH: watcom wmake can not handle () in the path with cd command
2007-02-27 15:11:47 -05:00
Brad King
cca4801fa7
COMP: Disable rpath with spaces on some systems.
2007-02-26 10:46:19 -05:00
Andy Cedilnik
1125b942b9
ENH: Try to fix spaces in the path problem
2007-02-23 11:17:11 -05:00
Andy Cedilnik
21a71f2c81
ENH: Force libraries to be static
2007-02-23 10:31:46 -05:00
Bill Hoffman
d93265b8fa
ENH: add a comment
2007-02-22 17:15:13 -05:00
Bill Hoffman
d51fef92b4
ENH: show make results on the dashboard
2007-02-22 15:43:35 -05:00
Andy Cedilnik
8529efdd87
COMP: Use exec_program instead of execute_process
2007-02-22 15:16:43 -05:00
Andy Cedilnik
1b2cf8c8dd
ENH: Improve test
2007-02-22 11:42:26 -05:00
Andy Cedilnik
1db4c0e524
ENH: Add simple exclusion test for subdirectories
2007-02-22 08:39:12 -05:00
Bill Hoffman
5647e6e254
ENH: fix parens in the path with spaces in the path
2007-02-21 21:24:17 -05:00
Bill Hoffman
9267267b68
ENH: verbose
2007-02-20 10:57:24 -05:00
Bill Hoffman
1d8e7e9411
BUG: fix for bug 4423 set language fixes
2007-02-20 09:35:21 -05:00
Ken Martin
245e7c3482
ENH: make the test really test targets with spaces
2007-02-19 14:48:04 -05:00
Ken Martin
3e82b9ee51
ENH: added used sources with a path that has spaces
2007-02-19 14:26:50 -05:00
Bill Hoffman
303048d3dc
ENH: add test for conv libraries
2007-02-19 13:26:38 -05:00
Ken Martin
83b5890a2f
ENH: new test for spaces in the tree structure
2007-02-19 12:23:37 -05:00
Bill Hoffman
fad49c8724
ENH: fix for vs ide
2007-02-16 16:45:47 -05:00
Bill Hoffman
ca0230a33e
ENH: check in initial conv library stuff
2007-02-16 16:12:17 -05:00
Brad King
83466bf12e
ENH: Added PrecompiledHeader test for MSVC compilers.
2007-02-08 16:18:21 -05:00
Brad King
a4d2dc4366
ENH: Added smoke test for user-value flag mapping for VS IDE.
2007-02-01 12:02:24 -05:00
Bill Hoffman
d48bf5c3b6
ENH: add more output when test fails
2007-01-31 14:00:44 -05:00
Bill Hoffman
113231d182
ENH: try to fix test on watcom
2006-12-29 19:20:56 -05:00
Ken Martin
62b368f3d5
ENH: removed old VTK tests
2006-12-12 13:59:09 -05:00
Bill Hoffman
69ef2513d1
ENH: do not use svn until it is working again
2006-12-12 11:06:38 -05:00
Bill Hoffman
013ec39881
ENH: fix test for config dir based stuff
2006-12-07 11:38:53 -05:00
Ken Martin
27379d7b08
ENH: make properties a bit more formal with documentation and chaining
2006-12-07 09:45:32 -05:00
Bill Hoffman
26b527ac0f
ENH: fix bug in full path to target depends stuff
2006-12-06 23:05:10 -05:00
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
Bill Hoffman
b39b3d8d11
ENH: add a test for external projects
2004-09-14 16:34:57 -04:00
Bill Hoffman
013b66d8fa
ENH: add a test for external projects
2004-09-14 16:01:00 -04:00
Bill Hoffman
fca0ce545d
ENH: add more output for fortran so I can figure out what is going on with other fortran compilers
2004-09-08 17:53:52 -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
26a6b4bc01
ENH: initial fortran
2004-08-06 15:05:00 -04:00
Andy Cedilnik
8e13e2de90
ERR: Fix test to use post CMAKE_X_LIBS variables
2004-07-29 11:11:05 -04:00
Brad King
ffb54f8e84
ERR: Removed debugging code from test.
2004-07-02 13:39:02 -04:00
Andy Cedilnik
43d380e0d8
ENH: Better handling of debug postfix and fix the test
2004-06-29 09:23:27 -04:00
Andy Cedilnik
ed0999c9d1
ERR: Fix visual studio install
2004-06-28 16:39:51 -04:00
Andy Cedilnik
f9b43b9212
BUG: Implement installing of shared library versioning and add test for the whole thing
2004-06-28 14:40:17 -04:00
Andy Cedilnik
cd875fe781
ENH: Handle spaces in the path
2004-06-14 11:24:45 -04:00
Andy Cedilnik
30e1007048
ERR: Remove testinf of PREORDER on Windows
2004-06-03 19:12:06 -04:00
Andy Cedilnik
00acf804f6
ERR: Try to fix simple install on vs6
2004-06-03 17:09:25 -04:00
Andy Cedilnik
5bbfbd56f5
ENH: More elaborate install test
2004-06-01 12:55:23 -04:00
Bill Hoffman
d53bf33dda
BUG: dont put the output of a try compile in the output because visual stduio 7 ide will thing there were errors
2004-05-20 16:35:36 -04:00
Andy Cedilnik
0b2bdfa289
ENH: Add some ctest coverage
2004-05-10 18:06:11 -04:00
Bill Hoffman
22de04fab9
ENH: fix tests to work with in source builds
2004-05-04 14:24:25 -04:00
Andy Cedilnik
b691517eeb
ENH: Cleanup example a bit
2004-05-03 17:51:06 -04:00
Andy Cedilnik
50a0936ffc
ENH: Remove warning
2004-05-03 12:02:00 -04:00
Bill Hoffman
781a1eaaf9
ENH: fix warnings in test
2004-05-03 08:52:03 -04:00
Bill Hoffman
ee9f925509
ENH: remove warnings in tests
2004-05-02 11:50:14 -04:00
Andy Cedilnik
2eb42a533e
ENH: Remove warnings
2004-04-30 18:21:55 -04:00
Andy Cedilnik
b569571131
ENH: Remove warning
2004-04-30 17:28:54 -04:00
Bill Hoffman
51d6c66431
ENH: link in more than just python
2004-04-30 14:27:03 -04:00
Andy Cedilnik
a828368232
ENH: Here is test for swig module
2004-04-30 12:17:06 -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
Andy Cedilnik
8750f1c277
ENH: Add RANGE support to FOREACH
2004-04-29 15:12:40 -04:00
Andy Cedilnik
df31c576dc
ENH: Add support for automatically preloaded cmake file. Closes Bug #802 - Add auto preload file support in CMake
2004-04-28 10:52:20 -04:00
Bill Hoffman
14ba8b5df9
ENH: add a test for EQUAL in if
2004-04-28 10:09:50 -04:00
Andy Cedilnik
996ac24181
ENH: More special cases
2004-04-28 10:05:37 -04:00
Andy Cedilnik
b2bddc9f0d
ENH: Add LOCATION to GET_TARGET_PROPERTY. Closes Bug #34 - Add to GET_TARGET_PROPERTY location of target
2004-04-27 12:03:17 -04:00
Andy Cedilnik
e76b103df7
ERR: Remove warnings from tests
2004-04-27 11:08:58 -04:00
Andy Cedilnik
482eef7112
BUG: Fix aus source dir and add better testing of it
2004-04-27 09:22:57 -04:00
Andy Cedilnik
38abe90f15
ENH: Add extra test files
2004-04-26 18:49:31 -04:00
Andy Cedilnik
d6090a2395
ENH: When source file is in subdirectory put object file in subdirectory. Fixes Bug #290 - Source files in subdirectories should produce object files in subdirectories
2004-04-26 17:32:56 -04:00
Andy Cedilnik
e9b8a57c1f
ENH:Add test for GET/SET_DIRECTORY_PROPERTY
2004-04-26 13:42:08 -04:00
Ken Martin
c63c23a617
added tests for var args with macros
2004-04-26 11:12:19 -04:00
Bill Hoffman
8b0b749a11
ENH: add SUBDIR PREORDER and fix clean for non-relative paths
2004-04-23 12:52:48 -04:00
Bill Hoffman
7aaf404cc1
add dep
2004-04-21 16:07:57 -04:00
Andy Cedilnik
23a154941b
ENH: Add test for REMOVE_DEFINITION
2004-04-15 13:59:29 -04:00
Bill Hoffman
51cb75d454
ENH: fix for apple
2004-04-02 09:43:35 -05:00
Andy Cedilnik
db68c543ff
ENH: Add pre and post install script support
2004-03-27 20:59:44 -05:00
Andy Cedilnik
451522381d
ENH: Add support for importing modules without specifying path
2004-03-27 19:52:34 -05:00
Bill Hoffman
ddb815c125
ENH: add new subdirectory exclude from top option
2004-03-09 16:28:44 -05:00
Bill Hoffman
bf699505bc
ENH: create new test to test subdir exclude
2004-03-09 16:20:41 -05:00
Brad King
4990e1481d
ENH: Added STRING(CONFIGURE ...) command.
2004-03-04 10:05:14 -05:00
Andy Cedilnik
be45b5d205
ERR: Too much commits
2004-02-29 15:13:32 -05:00
Andy Cedilnik
07bd2d8264
ERR: Fix GetModulesFile
2004-02-29 15:13:01 -05:00
Andy Cedilnik
51516613e8
ENH: Ok, when doing cmake -P you should not have to squish filename next to -P, There should be space between
2004-02-20 14:46:33 -05:00
Bill Hoffman
6223d60085
Fix install test fail on mingw
2004-02-12 09:13:31 -05:00
Andy Cedilnik
ff6bc56616
ENH: On Cygwin shared libraries have only .dll file no .lib file, so when finding library on cygwin, search also for .dll. Also fix SimpleInstall test on cygwin
2004-02-11 08:28:59 -05:00
Andy Cedilnik
a1e4c4f1df
ENH: Some cleanup and try to fix Visual Studio builds
2004-02-09 16:40:39 -05:00
Andy Cedilnik
1061101745
ENH: Some systems do not handle spaces in the path
2004-02-09 11:33:00 -05:00
Andy Cedilnik
4dd97ff97f
ENH: Install stage2 to handle runtime problem
2004-02-08 20:08:58 -05:00
Andy Cedilnik
e72bac5870
ENH: Add second part of SimpleInstall
2004-02-08 12:04:10 -05:00
Andy Cedilnik
5755950717
ERR: Fix test on windows with network paths
2004-02-05 10:12:10 -05:00
Berk Geveci
2522153e59
ENH: Fix test on HP-UX
2004-02-04 09:42:50 -05:00
Andy Cedilnik
59adb4eabe
ENH: Fix ADD_DEPENDENCIES on Unix makefiles and fix SimpleInstall test not to link the module
2004-02-03 09:26:36 -05:00
Andy Cedilnik
c06828a4a0
ENH: Make test work on windows
2004-02-02 18:23:27 -05:00
Andy Cedilnik
228dc330f6
ENH: Fix exports
2004-02-01 16:48:30 -05:00
Andy Cedilnik
2106bdc4ec
ENH: Add install test
2004-02-01 12:53:28 -05:00
Brad King
3b5139a3d8
BUG: Due to backward ordering, Visual Studio GUIs need the link directories for the libraries the first time.
2004-01-24 12:52:14 -05:00
Bill Hoffman
1a31bb2056
BUG: libdir was set wrong on windows
2004-01-23 13:43:58 -05:00
Brad King
a4aab3b677
ENH: Improved test to have a different relative path name for libraries between the Executable and Library directories.
2004-01-22 10:51:34 -05:00
Brad King
f9a3f74d87
ERR: Fixed post-build rule to copy shared library correctly.
2004-01-22 10:23:20 -05:00
Brad King
3a33f2c338
ENH: Adding test for jumping over and building a missing library.
2004-01-22 09:56:24 -05:00
Andy Cedilnik
15cdf406d6
BUG: Fix dependency to input file for QT_WRAP_CPP. Bug #421 - QT_WRAP_CPP
2004-01-05 11:13:50 -05:00
Andy Cedilnik
368d7f7c18
ENH: Attempt to add debug library postfix for visual studio 6
2003-10-31 16:55:49 -05:00
Andy Cedilnik
848364b8e8
ENH: We do not really need streams. Also fix the test on windows
2003-10-16 19:16:19 -04:00
Andy Cedilnik
97dd683836
ENH: Add test for FindwxWindows. Thanks to: Mathieu Malaterre
2003-10-13 16:04:24 -04:00
Andy Cedilnik
8102451c01
ENH: Better testing
2003-09-24 17:51:13 -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
Andy Cedilnik
b6ac54c489
EHN: Also display Configure.h and Configure.hxx from cmsys
2003-08-08 10:20:40 -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
Andy Cedilnik
5d203a92f3
ENH: More verbose test
2003-08-07 14:37:35 -04:00
Andy Cedilnik
96d561aabc
ENH: Add option to retrieve list of macros. Close Bug #25 - Get_CMAKE_PROPERTIES
2003-08-06 18:54:13 -04:00
Brad King
26fce5a402
ENH: Added Install test. It is enabled when the CMAKE_INSTALL_PREFIX is CMake_BINARY_DIR/InstallTest.
2003-08-06 10:39:05 -04:00
Brad King
9e44bcf313
ENH: Added test of --copyright and --version arguments for coverage.
2003-08-05 18:25:47 -04:00
Brad King
894a198906
ENH: Added test of --help [command] form of help option for coverage.
2003-08-05 18:22:45 -04:00
Andy Cedilnik
2799e2c66b
BUG: Open as ascii to remove extra new lines
2003-08-05 15:20:48 -04:00
Andy Cedilnik
c7f1198a00
ENH: Add accessor for the list of commands
2003-08-03 20:47:44 -04:00
Andy Cedilnik
8a0e3c103b
ENH: Make it work for QT 2.3 non commercial on windows
2003-08-01 19:13:38 -04:00
Andy Cedilnik
3e8f596c81
ENH: Add more debug
2003-08-01 18:52:57 -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
Andy Cedilnik
ae2020333a
ERR: Only link qt to qt executable
2003-08-01 09:18:43 -04:00
Andy Cedilnik
0f79c4aca9
ERR: Attempt to fix wrapping on Windows
2003-07-31 08:50:21 -04:00
Andy Cedilnik
4b5a63d8a2
ENH: Fix problem on HP. Whay should K&R be default?
2003-07-31 08:33:01 -04:00
Andy Cedilnik
2760bf9fa1
ENH: Really test uic and perform configured uic test
2003-07-30 13:28:32 -04:00
Andy Cedilnik
36e6b85f70
ENH: Add executable for wrapping test, so that make stage actually passes
2003-07-30 13:11:04 -04:00
Bill Hoffman
27a3c00533
for unix add x11 and pthreads for qt
2003-07-25 12:50:30 -04:00
Brad King
62d5138ca3
ENH: Added FindPackageTest to improve coverage.
2003-07-24 11:33:06 -04:00
Brad King
08441daded
ENH: Added CommandLineTest to add coverage for command line arguments to cmake executables. This replaces the old DumpDocumentation test.
2003-07-24 10:58:40 -04:00
Andy Cedilnik
1a0ca72648
ENH: More coverage
2003-07-23 18:01:41 -04:00
Brad King
d4289ee2a9
ENH: Added more verbose output of what globbing results.
2003-07-23 09:10:39 -04:00
Andy Cedilnik
92ac3689c9
ENH: More coverage
2003-07-22 12:21:15 -04:00
Andy Cedilnik
6920d40ac6
ENH: More coverage
2003-07-22 11:17:47 -04:00
Andy Cedilnik
e63dd4e329
ENH: Increase coverage
2003-07-22 10:45:42 -04:00
Andy Cedilnik
2d513c2364
ENH: fix glob on windows and add glob recurse test
2003-07-21 15:29:29 -04:00
Andy Cedilnik
187a58430b
ENH: add more coverage tests
2003-07-21 13:48:18 -04:00
Andy Cedilnik
add486e818
ENH: Add additional new line after the string to match the change in file command
2003-07-17 14:56:44 -04:00
Brad King
c2b98959c5
ENH: Added dump of more files. Improved robustness of dump.
2003-07-16 11:38:57 -04:00
Andy Cedilnik
27ecfcea6d
ENH: Add missing include
2003-07-10 14:48:53 -04:00
Andy Cedilnik
b75c229444
ENH: Add test for string and file commands
2003-07-10 14:29:30 -04:00
Ken Martin
ac2de4f5de
modified code to match cmake mode
2003-06-30 10:12:24 -04:00
Brad King
dc3fd5c267
ENH: Merged use of kwsys library.
2003-06-23 08:58:58 -04:00
Bill Hoffman
003a6a7260
minor fixes
2003-06-04 14:25:53 -04:00
Bill Hoffman
8d8ae14a8e
minor fix
2003-06-04 10:46:18 -04:00
Bill Hoffman
48cd349c81
fixes for HP
2003-06-04 09:02:50 -04:00
Ken Martin
7b3f2d4420
new test
2003-06-03 10:34:15 -04:00
Bill Hoffman
a41e31b536
ENH: add a double try compile to fix crazy make on hp
2003-04-16 13:33:33 -04:00
Andy Cedilnik
4ecc0d9f15
If display is not set, do not attempt to run application
2003-04-02 09:01:33 -05: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
Andy Cedilnik
72be68d0e0
Improve test
2003-03-17 14:29:22 -05:00
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