Commit Graph

625 Commits

Author SHA1 Message Date
Zach Mullen b9daa192af ENH: Refactored CTest test execution code into an object 2009-08-19 08:58:36 -04:00
Brad King d2e1f2b4d6 Introduce "generator expressions" to add_test()
This introduces a new syntax called "generator expressions" to the test
COMMAND option of the add_test(NAME) command mode.  These expressions
have a syntax like $<TARGET_FILE:mytarget> and are evaluated during
build system generation.  This syntax allows per-configuration target
output files to be referenced in test commands and arguments.
2009-08-11 09:54:56 -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 32869ea381 Remove FLTKDialog source code
The QtDialog is our supported cross-platform GUI, so the FLTKDialog
source is no longer needed.
2009-08-05 10:13:18 -04:00
Brad King 5b85a581a8 ENH: Separate option mapping from VS generators
Split cmVisualStudioGeneratorOptions core functionality out into a
base class cmIDEOptions.  It will be useful for other generators.
2009-07-29 11:29:08 -04:00
Brad King e339f3133f ENH: Separate VS flag table type
Move the cmVS7FlagTable type out of the VS generators and rename it to
cmIDEFlagTable.  It will be useful for other generators.
2009-07-29 11:28:55 -04:00
Brad King fd10589995 ENH: Improve dynamic variable scope implementation
Previously each new variable scope (subdirectory or function call) in
the CMake language created a complete copy of the key->value definition
map.  This avoids the copy using transitive lookups up the scope stack.
Results of queries answered by parents are stored locally to maintain
locality of reference.

The class cmDefinitions replaces cmMakefile::DefinitionsMap, and is
aware of its enclosing scope.  Each scope stores only the definitions
set (or unset!) inside it relative to the enclosing scope.
2009-07-22 14:22:45 -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 7491f52992 ENH: first pass at VS 10, can bootstrap CMake, but many tests still fail 2009-06-25 16:41:57 -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 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
Brad King d25289ad92 ENH: Factor global-VC parts out of cmCTestSVN
This factors parts of the svn update implementation that are useful for
any globally-versioning vcs tool into cmCTestGlobalVC.  It will allow
the code to be shared among the support classes for most vcs tools.
2009-04-22 09:18:19 -04:00
Brad King 66d69f864a ENH: Refactor generation of CTestTestfile content
This moves code which generates ADD_TEST and SET_TESTS_PROPERTIES calls
into CTestTestfile.cmake files out of cmLocalGenerator and into a
cmTestGenerator class.  This will allow more advanced generation without
cluttering cmLocalGenerator.  The cmTestGenerator class derives from
cmScriptGenerator to get support for per-configuration script
generation (not yet enabled).
2009-03-16 10:40:46 -04:00
Brad King e67f5138b8 ENH: Refactor cmInstallGenerator for re-use
A new cmScriptGenerator base class factors out the non-install-specific
part of cmInstallGenerator.  This will be useful for other generators
that want per-configuration functionality.
2009-03-16 10:39:56 -04: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 1936499250 ENH: Create cmProcessTools to parse child output
This class provides a RunProcess method to run a child process and send
its output to an abstract parsing interface.  This also provides a
simple line parser and logger implementing the parsing interface.
2009-02-24 10:40:18 -05:00
Brad King 6bdc2b5d99 ENH: Add cmCTestCVS and cmCTestSVN
These cmCTestVC subclasses will implement interaction with CVS and SVN
tools.
2009-02-24 10:39:55 -05:00
Brad King 1b8ea27bd1 ENH: Create cmCTestVC for VCS interaction
This creates cmCTestVC, the base for a forthcoming class hierarchy to
interact with version control systems.
2009-02-24 10:39:28 -05:00
Brad King 0847d825b3 ENH: Create internal 'ctest --launch' tool
This creates an undocumented 'ctest --launch' mode.  It launches a
specified command and optionally records a failure in an xml fragment.
We will optionally use this in CTest's Build stage to record per-rule
build failure information when using Makefile generators.
2009-02-11 11:31:25 -05:00
Brad King dc13914cd6 ENH: Create cmXMLSafe to help escapes in XML
This class provides easy syntax to efficiently insert blocks of data
into XML documents with proper escapes.  It replaces the old
cmCTest::MakeXMLSafe and cmSystemTools::MakeXMLSafe methods which
allocated extra memory instead of directly streaming the data.
2009-02-05 16:31:37 -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 fdb0c8758a BUG: Fix issue #7533. Revise fix for issue #7058 to use pragma comment libs in the source file rather than using TARGET_LINK_LIBRARIES in CMakeLists.txt because of the complex ifdef logic used in correct copies of comdef.h. 2008-10-08 14:19:01 -04:00
David Cole 5c47163d41 BUG: Improve fix for issue #7058 - comsuppd did not yet exist in VC6. 2008-08-01 12:10:43 -04:00
David Cole 3312685616 BUG: Fix issue #7058 - link the commsup lib explicitly for use on some Visual Studio + SDK combinations 2008-07-31 13:46:17 -04:00
David Cole 71f61636b6 ENH: One more patch from Doug Gregor including PackageMaker functionality for componentized-for-the-end-user and download-some-bit-on-demand installers. 2008-07-09 13:38:56 -04:00
Bill Hoffman bb7b27e417 ENH: add initial ctest -j feature 2008-07-03 09:31:33 -04:00
David Cole 79e255a7d3 ENH: Apply patch for feature request #7170. Thanks to Tim Shead for contributing... 2008-06-18 09:53:29 -04:00
Brad King b8169eb4e3 COMP: Add missing module for CHECK_INCLUDE_FILE macro. 2008-03-28 13:22:43 -04:00
Ken Martin d49ef18f8a ENH: add first cut and policies still need to add the doc support 2008-03-01 15:20:35 -05:00
Brad King 4c137bad6b ENH: Add ELF file parsing
- Enabled when system provides elf.h
  - Introduce cmELF class to parse ELF files
  - Use in cmSystemTools::GuessLibrarySOName to really get soname
2008-02-27 16:26:35 -05:00
Brad King fd37a6ec3d ENH: Better linker search path computation.
- Use linker search path -L.. -lfoo for lib w/out soname
    when platform sets CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME
  - Rename cmOrderRuntimeDirectories to cmOrderDirectories
    and generalize it for both soname constraints and link
    library constraints
  - Use cmOrderDirectories to order -L directories based
    on all needed constraints
  - Avoid processing implicit link directories
  - For CMAKE_OLD_LINK_PATHS add constraints from libs
    producing them to produce old ordering
2008-02-21 11:41:11 -05:00
Alexander Neundorf 969ea3f449 ENH: add support for creating the documentation in docbook format
(http://www.oasis-open.org/docbook/xml/4.2/), which users can then convert
to other formats.
Tested with meinproc from KDE, which generates HTML pages which look good.

Alex
2008-02-19 14:33:43 -05:00
Brad King 4987e17f46 ENH: Improve link line generation for static library cycles.
- Move Tarjan algorithm from cmComputeTargetDepends
    into its own class cmComputeComponentGraph
  - Use cmComputeComponentGraph to identify the component DAG
    of link dependencies in cmComputeLinkDepends
  - Emit non-trivial component members more than once but always
    in a contiguous group on the link line
2008-02-07 16:14:05 -05:00
Bill Hoffman 7dfcc3fc12 ENH: add DOWNLOAD option to FILE command 2008-02-06 09:35:02 -05:00
Brad King 523ddedac5 ENH: Analyze inter-target dependencies to safely fix cycles
- Cycles may be formed among static libraries
  - Native build system should not have cycles in target deps
  - Create cmComputeTargetDepends to analyze dependencies
  - Identify conneced components and use them to fix deps
  - Diagnose cycles containing non-STATIC targets
  - Add debug mode property GLOBAL_DEPENDS_DEBUG_MODE
  - Use results in cmGlobalGenerator as target direct depends
2008-02-05 23:10:41 -05:00
Brad King 82fcaebe28 ENH: Pass dependent library search path to linker on some platforms.
- Move runtime path ordering out of cmComputeLinkInformation
    into its own class cmOrderRuntimeDirectories.
  - Create an instance of cmOrderRuntimeDirectories for runtime
    path ordering and another instance for dependent library
    path ordering.
  - Replace CMAKE_DEPENDENT_SHARED_LIBRARY_MODE with explicit
    CMAKE_LINK_DEPENDENT_LIBRARY_FILES boolean.
  - Create CMAKE_LINK_DEPENDENT_LIBRARY_DIRS boolean.
  - Create variables to specify -rpath-link flags:
      CMAKE_SHARED_LIBRARY_RPATH_LINK_<LANG>_FLAG
      CMAKE_EXECUTABLE_RPATH_LINK_<LANG>_FLAG
  - Enable -rpath-link flag on Linux and QNX.
  - Documentation and error message updates
2008-02-01 08:56:00 -05:00
Brad King 5594ad4885 ENH: Updated exporting and importing of targets to support libraries and configurations.
- Created cmExportFileGenerator hierarchy to implement export file generation
  - Installed exports use per-config import files loaded by a central one.
  - Include soname of shared libraries in import information
  - Renamed PREFIX to NAMESPACE in INSTALL(EXPORT) and EXPORT() commands
  - Move addition of CMAKE_INSTALL_PREFIX to destinations to install generators
  - Import files compute the installation prefix relative to their location when loaded
  - Add mapping of importer configurations to importee configurations
  - Rename IMPORT targets to IMPORTED targets to distinguish from windows import libraries
  - Scope IMPORTED targets within directories to isolate them
  - Place all properties created by import files in the IMPORTED namespace
  - Document INSTALL(EXPORT) and EXPORT() commands.
  - Document IMPORTED signature of add_executable and add_library
  - Enable finding of imported targets in cmComputeLinkDepends
2008-01-28 08:38:36 -05:00
Brad King 99b97dece8 ENH: Created cmComputeLinkDepends to compute link dependencies.
- This will be useful for imported library dependencies
  - Replaces old cmTarget analyze-lib-depends stuff for linking
  - Formalizes graph construction and dump
  - Explicitly represents dependency inferral sets
  - Use BFS of initial dependencies to preserve order
2008-01-27 13:42:49 -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
Bill Hoffman 58f671bb1c ENH: add support for vs 9 win64 2007-12-17 14:43:11 -05:00
David Cole 867de7fc67 ENH: Add ability to call Visual Studio macros from CMake. Add a CMake Visual Studio macro to reload a solution file automatically if CMake makes changes to .sln files or .vcproj files. Add code to call the macro automatically for any running Visual Studio instances with the .sln file open at the end of the Visual Studio Generate call. Only call the macro if some .sln or .vcproj file changed during Generate. Also, add handling for REG_EXPAND_SZ type to SystemTools::ReadRegistryValue - returned string has environment variable references expanded. 2007-11-16 07:01:58 -05:00
Ken Martin 8eae7fddf2 ENH: move CMAKE_STRICT option to the top 2007-11-06 14:14:18 -05:00
Bill Hoffman 743cec67d5 ENH: change name 2007-11-05 16:55:45 -05:00
Bill Hoffman 62decc533b ENH: change name of class 2007-11-05 16:33:19 -05:00
Bill Hoffman 8079907714 ENH: add option for qt dialog 2007-11-02 12:03:29 -04:00
Ken Martin 6cdf032505 ENH: change to make the documentation class more generic, about halfway there, also provides secitons for Variables now 2007-10-22 12:49:09 -04:00
Bill Hoffman 5c4eadba23 ENH: add docs for variables 2007-10-18 09:10:42 -04:00
Ken Martin 236d1ebf56 ENH: added CMAKE_STRICT option for var and property checking 2007-10-16 14:28:37 -04:00
Brad King 00c33e7e8f ENH: Updated CMAKE_REGENERATE_YACCLEX option to support cmDependsFortran. Fixed to work with spaces in path. 2007-10-03 15:23:54 -04:00
Alexander Neundorf c5f249bdbd STYLE: move the code for the different formats of the generated help into
their own classes, making cmDocumentation smaller and also making it easier
to eventually add another format

Alex
2007-09-19 09:05:28 -04:00
Bill Hoffman 9cbb998737 ENH: add support for vs 2008 beta 2 2007-09-17 15:21:47 -04:00
Alexander Neundorf 9eb4ffcc3f COMP: make it build on Linux
Alex
2007-08-21 16:21:09 -04:00
Alexander Neundorf dfbd4ce0f2 ENH: deb generator: don't use the system provided ar, but do it yourself
using the code from OpenBSD ar
COMP: don't build all package generators on all platforms

Alex
2007-08-14 08:40:40 -04:00
Alexander Neundorf 9bd32386c2 COMP: this copy of curl is unused, the one in Utilities/cmcurl/ is used
Alex
2007-08-09 14:26:10 -04:00
Alexander Neundorf 7432ef206e ENH: add empty RPM package generator, Eric Noulard wants to work on it
Alex
2007-08-08 11:33:42 -04:00
Alexander Neundorf f7f522e61a ENH: add Eclipse CDT4 generator, patch from Miguel A. Figueroa-Villanueva
Alex
2007-08-01 09:18:50 -04:00
Alexander Neundorf a39aff52a0 ENH: add an empty debian package generator, Mathieu volunteered to fill it
:-)

Alex
2007-07-25 10:57:33 -04:00
Alexander Neundorf 27244a1fde ENH: build codeblocks generator also on Windows
Alex
2007-07-18 10:19:33 -04:00
Alexander Neundorf 378a8e99f9 ENH: add a simple CodeBlocks extra generator, early alpha stage, there seems
to be interest in it

Alex
2007-07-13 00:58:43 -04:00
Alexander Neundorf c0d000d234 ENH: add INSTALL(EXPORT ...) mode and INSTALL( TARGETS ... EXPORT <set> ) ,
tests still have to be added

Alex
2007-06-19 13:10:21 -04:00
Brad King 35936433e1 ENH: Merging changes from branch CMake-SourceFile2-b between tags
CMake-SourceFile2-bp and CMake-SourceFile2-b-mp1 to trunk.  This
commit is surrounded by tags CMake-SourceFile2-b-mp1-pre and
CMake-SourceFile2-b-mp1-post on the trunk.

The changes re-implement cmSourceFile and the use of it to allow
instances to be created much earlier.  The use of cmSourceFileLocation
allows locating a source file referenced by a user to be much simpler
and more robust.  The two SetName methods are no longer needed so some
duplicate code has been removed.  The strange "SourceName" stuff is
gone.  Code that created cmSourceFile instances on the stack and then
sent them to cmMakefile::AddSource has been simplified and converted
to getting cmSourceFile instances from cmMakefile.  The CPluginAPI has
preserved the old API through a compatibility interface.

Source lists are gone.  Targets now get real instances of cmSourceFile
right away instead of storing a list of strings until the final pass.

TraceVSDependencies has been re-written to avoid the use of
SourceName.  It is now called TraceDependencies since it is not just
for VS.  It is now implemented with a helper object which makes the
code simpler.
2007-06-18 11:59:23 -04:00
Ken Martin 0f0a83a51f ENH: more cleanup of some CMakeLists files 2007-05-11 09:02:17 -04:00
Bill Hoffman 18b7cbd700 ENH: add test for a simple depend test, does an exe re-link if a library that it uses changes 2007-05-10 10:31:44 -04:00
Bill Hoffman b39d96dff8 ENH: add a very simple framework test 2007-05-08 10:58:35 -04:00
Brad King 3fe86c98cf ENH: Plugin test should now work on QNX. 2007-04-18 00:12:16 -04:00
Brad King fc9ceda5e7 ENH: Fixed Plugin test on Cygwin. 2007-04-17 18:18:42 -04:00
Brad King cb190cdb87 BUG: Disable Plugin test on Cygwin until it is implemented. 2007-04-17 16:42:15 -04:00
Brad King fe5386be81 ENH: Re-enabling Plugin test now that it should work on MacOSX. I will let it run one night to see what platforms are still not implemented. Currently it is not run on QNX because it is known to not be implemented there. 2007-04-17 16:34:07 -04:00
Brad King 84584e1184 BUG: Disable Plugin test until it works everywhere. 2007-04-17 15:06:04 -04:00
Brad King 0164f2faae ENH: Added test for executables with plugins that use an API exported by the executable itself. 2007-04-17 14:08:30 -04:00
Brad King 2c1204e361 ENH: Added cmGlobalVisualStudioGenerator as superclass to all VS global generators. 2007-04-04 11:22:14 -04:00
Ken Martin abf2704785 BUG: typo in if test 2007-03-21 13:49:40 -04:00
Ken Martin 3abf39eda0 ENH: support for --build-config-sample feature #1022 2007-03-19 13:04:10 -04:00
Brad King 1d75e47dee ENH: Enable SubDirSpaces test when building with bootstrapped cmake. 2007-03-08 13:13:58 -05:00
Brad King fd3688fa72 ENH: Fixed recursive make call target escaping for Borland to support SubDirSpaces test. 2007-03-08 13:05:02 -05:00
Ken Martin d12455fccb BUG: oops bad arg for new test 2007-03-07 13:01:00 -05: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
Brad King 0edbb68352 ENH: Cleaned up KWSys tests to use test drivers. 2007-03-03 10:47:06 -05:00
Ken Martin 56e3a35ece BUG: allow system information to accept the -G option 2007-02-28 12:25:19 -05:00
Ken Martin 08ccfacf03 BUG: possible fix for new SystemInfo test 2007-02-27 13:04:29 -05:00
Ken Martin 4d9bc90e58 BUG: possible fix for new SystemInfo test 2007-02-27 11:59:34 -05:00
Ken Martin 31a700188b ENH: added --system-information option to CMake 2007-02-27 10:10:10 -05:00
Andy Cedilnik da72f0a07a COMP: Disable test until generators are fixed 2007-02-23 14:37:23 -05:00
Andy Cedilnik b34f2d5c06 ENH: Try to fix spaces in the path problem 2007-02-23 11:30:04 -05:00
Andy Cedilnik 8ad3430931 ENH: Make EXCLUDE_FROM_ALL a target and directory properties. Also, make IsInAll use EXCLUDE_FROM_ALL. Also, enable the test that tests this 2007-02-23 09:46:27 -05:00
Bill Hoffman abb67cae48 ENH: actually keep the output 2007-02-22 10:31:12 -05:00
Bill Hoffman 13bd83c953 ENH: make sure EXECUTE_PROCESS is there because in bootstrap it is not 2007-02-22 10:05:50 -05:00
Bill Hoffman 5647e6e254 ENH: fix parens in the path with spaces in the path 2007-02-21 21:24:17 -05:00
Ken Martin 806001bbb6 ENH: turn on spaces test for more platforms 2007-02-21 14:58:33 -05:00
Ken Martin 276d61c90b ENH: turn on spaces test for more platforms 2007-02-21 11:58:58 -05:00
Ken Martin 4ddfe5f9a4 ENH: only add the test for some platforms 2007-02-20 15:03:22 -05:00
Bill Hoffman 1d8e7e9411 BUG: fix for bug 4423 set language fixes 2007-02-20 09:35:21 -05:00
Bill Hoffman 5c0a340a9e ENH: remove ConvLib test for now 2007-02-19 16:34:05 -05:00
Bill Hoffman c856f76de3 ENH: use correct name 2007-02-19 15:12:06 -05:00
Ken Martin 245e7c3482 ENH: make the test really test targets with spaces 2007-02-19 14:48:04 -05:00
Bill Hoffman 303048d3dc ENH: add test for conv libraries 2007-02-19 13:26:38 -05:00
Ken Martin 09699018cc ENH: turn on spaces in path test 2007-02-19 13:20:27 -05:00
Brad King 83466bf12e ENH: Added PrecompiledHeader test for MSVC compilers. 2007-02-08 16:18:21 -05:00
Ken Martin 551397b898 ENH: add more time to bootstrap test 2007-02-05 11:13:18 -05:00
Bill Hoffman 4925e64b97 ENH: add support for cygwin source and binary packaging 2007-02-02 14:40:26 -05:00
Ken Martin c160587130 ENH: allow the dashboard to override the timeouts for CTestTest 2007-02-02 10:14:50 -05:00
Andy Cedilnik b0cd96983b COMP: Remove osx bundle from OSXScriptLauncher 2007-01-31 13:54:02 -05:00
Andy Cedilnik c32af51867 COMP: Add missing file in the installation 2007-01-31 13:37:46 -05:00
Andy Cedilnik 4a2474765f COMP: Fix bootstrap 2007-01-30 11:48:17 -05:00
Ken Martin 49085f7fed BUG: fixes so that --build-and-test will honor timeouts 2007-01-30 11:35:17 -05:00
Bill Hoffman bd531d3fae BUG: fix for 4186, kdevelop adding file twice 2007-01-25 15:44:52 -05:00
Andy Cedilnik de5540f7e5 ENH: First pass at CPack generator for OSX X11 applications. This are applications that require X11 to work. This is not really installed but a bundle packager 2007-01-10 15:30:26 -05:00
Bill Hoffman 1936242ad4 ENH: add test I removed by mistake 2006-12-07 10:15:41 -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
Ken Martin ff67e8a65d ENH: added properties into the compile, but not that many 2006-12-04 11:19:59 -05:00
Ken Martin 011532e0c3 ENH: added properties into the compile 2006-12-04 11:05:23 -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 f211823b55 ENH: fix test for configuration type builds 2006-11-29 17:02:35 -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 64389317f8 ENH: use the built cmake for file compare as older versions of cmake may not support this 2006-11-28 09:49:53 -05:00
Bill Hoffman 1ae24c15c3 ENH: use correct project name 2006-11-27 16:15:28 -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 05e12b0ba5 ENH: make sure it is qt3 before running test 2006-11-22 14:26:01 -05:00
Andy Cedilnik 9192f3638b COMP: Remove unnecessary provocation 2006-10-25 09:54:54 -04:00
Bill Hoffman 212eeff04c ENH: remove failing test 2006-10-24 11:06:44 -04:00
Bill Hoffman 0c52510f21 ENH: remove broken test 2006-10-22 19:21:05 -04:00
Brad King f91b3c1daa ENH: Add options to build with system utility libraries. Organize inclusion of third party libraries into a single header per library. This addresses bug#3653. 2006-10-19 15:00:10 -04:00
Bill Hoffman 48fdfdaedd ENH: use core and not all of carbon 2006-10-03 15:25:58 -04:00
Andy Cedilnik 07fa9ac09c ENH: Implement TarCompress generator using compress library 2006-08-21 12:37:40 -04:00
Bill Hoffman f39e1c780e ENH: fix project names to be case sensitive and change name to linkline from inkline 2006-08-17 16:40:41 -04:00
Brad King 8a72d43c17 ENH: Started implementing INSTALL(DIRECTORY) command mode. This is not yet finished so it is undocumented and there is no test. These changes also separate the notions of file and directory permissions. 2006-08-17 14:48:54 -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
Brad King d56e6a9241 BUG: Fixed building of C++-only projects and added a test. 2006-07-21 11:53:23 -04:00
Brad King 9bf5af6e32 ENH: Moved unique object file name computation from cmLocalUnixMakefileGenerator3 up to cmLocalGenerator for use by all generators. Created cmLocalVisualStudioGenerator as superclass for all VS generators. Implemented on-demand unique object file name computation for VS 7 generator to avoid slow compiles when all sources are in subdirectories. 2006-07-11 11:41:38 -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
Andy Cedilnik d4e84f8c5b ENH: Add BZip2 support, add better documentation 2006-05-03 21:42:51 -04:00
Andy Cedilnik 12e07f910e ENH: Initial cut at TarCompress generator 2006-05-02 17:07:16 -04:00
Andy Cedilnik f5e6885155 ENH: Cleanup 2006-04-21 14:26:11 -04:00
Bill Hoffman ca82d060b8 ENH: fix syntax 2006-04-14 09:02:50 -04:00
Bill Hoffman 0adee1e6dd ENH: make sure cmake can be built with an older version of cmake 2006-04-14 08:44:14 -04:00
Bill Hoffman cae4e6b37a ENH: add patch for finding applications on OSX 2006-04-13 11:00:52 -04:00
Bill Hoffman 8ec0f76e88 ENH: lang by custom command does not yet work for Xcode 2006-04-12 15:23:03 -04:00
Bill Hoffman ed4974da55 ENH: enable test for java with IDE builds 2006-04-11 17:11:34 -04:00
Andy Cedilnik d342d51c0c ENH: Add ZIP generator and add support for including or excluding the toplevel directory 2006-04-02 11:20:58 -04:00
Bill Hoffman ae10b3578d ENH: add a wrapper for xcodebuild to get around bug and verbose output 2006-03-31 13:17:23 -05:00
Bill Hoffman 5a2668b326 ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64 2006-03-30 13:49:56 -05:00
Andy Cedilnik fb9eedc187 ENH: Add new ctest command 2006-03-28 15:20:03 -05:00
Andy Cedilnik 15d7dd9937 ENH: Remove cmGlob and use glob from kwsys 2006-03-21 12:54:31 -05:00
Andy Cedilnik b507f8f0d1 ENH: Simplify the test 2006-03-17 16:14:04 -05:00
Andy Cedilnik 84f1420d82 COMP: Use the current cmake's CheckCXXSourceCompiles 2006-03-17 15:47:26 -05:00
Andy Cedilnik b20cb78049 ENH: Handle missing unsetenv and add check for environ 2006-03-17 15:46:20 -05:00
Bill Hoffman 1cda55e682 ENH: remove test until it works 2006-03-12 09:43:30 -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
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 4675765601 ENH: Install cpack 2006-02-24 16:30:58 -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 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
Ken Martin 141ad7645e ENH: some reorg of the unix makefile generator 2006-02-15 10:34:11 -05:00
Bill Hoffman 55dd61946b ENH: working directory working for XCode 2006-02-08 14:12:34 -05:00
Bill Hoffman 347c5f4b46 ENH: add working directory support 2006-02-08 10:58:36 -05:00
Brad King 6fe45fe9c3 ENH: Added option BUILD_CursesDialog if curses is found. This allows people to disable building the dialog even when curses is found. 2006-02-08 10:13:13 -05:00
Brad King 02f743c896 COMP: Fixed build on VC++ Express 2005. Explicitly testing for MFC to determine whether to build the MFCDialog. 2006-02-02 20:18:39 -05:00
Brad King 73284a1c12 ENH: Enabled build of VS 7 and 8 generators for MinGW. 2006-01-31 19:34:57 -05:00
Bill Hoffman 7f237c51f4 ENH: fix problem with watcom and short paths and -I 2006-01-23 13:50:23 -05:00
Bill Hoffman 9891260a6d ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
Andy Cedilnik bbf1c2d275 ENH: More improvements and add logging 2006-01-02 16:14:21 -05:00
Andy Cedilnik 8477aa59e5 ENH: Merge from cpack branch 2006-01-01 23:31:17 -05:00
Andy Cedilnik 8ff4919443 ENH: Add a tar test 2005-12-30 15:27:17 -05:00
Andy Cedilnik 8b9512559d COMP: Cleanup regular expressions 2005-12-30 14:50:15 -05:00
Andy Cedilnik ba63b6f15e COMP: Link tar library to cmake 2005-12-28 16:30:28 -05:00
Bill Hoffman f6588b7919 ENH: fix borland make clean targets before build, add new generators for msys and mingw 2005-12-22 16:42:36 -05:00
Ken Martin 4d3537597e ENH: added tutorial tests 2005-11-10 10:55:34 -05:00
Andy Cedilnik 985d092d4d ENH: Add rudamentary mathematical expression support 2005-10-17 16:42:47 -04:00
Andy Cedilnik 775c3495e2 ENH: Add file time comparison code 2005-10-12 13:36:07 -04:00
Bill Hoffman 6dfb10d374 ENH: use the findqt3 from this cmake and not the one configureing cmake 2005-09-12 10:37:04 -04:00
Bill Hoffman 34170ed52e ENH: more qt changes 2005-09-12 09:32:21 -04:00
Bill Hoffman 6b4c142c7d ENH: add real support for Xcode21 2005-09-02 16:29:32 -04:00
Bill Hoffman 389333967b BUG: not all Macs are case insensitive if they mount nfs directories 2005-09-02 08:41:49 -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
Andy Cedilnik 67d336ece8 ENH: change name from XCode to Xcode no need to test bootstrap for xcode 2005-08-02 13:40:34 -04:00
Andy Cedilnik 233a679b92 ENH: change name from XCode to Xcode no need to test bootstrap for xcode 2005-08-02 13:02:04 -04:00
Bill Hoffman 5bb158f440 ENH: java does not work under mingw 2005-07-20 12:53:06 -04:00
Bill Hoffman a13713818c ENH: if Xcode21 is installed then create 21 compatible project files 2005-07-19 16:40:44 -04:00
Bill Hoffman 9e99e4f92a ENH: remove messages about not running java test 2005-07-15 11:36:22 -04:00
Bill Hoffman 041d4688ec ENH: add bundle test 2005-07-13 15:49:15 -04:00
Andy Cedilnik b7514580f9 ENH: Move curl to utilities 2005-06-24 09:06:26 -04:00
Andy Cedilnik 1b578d3180 ENH: Several improvements with the way things are handled. Also, support multiple submited files 2005-06-23 13:04:18 -04:00
Andy Cedilnik 793ae7172f COMP: Fix problems with old cmake 2005-06-17 23:15:12 -04:00
Andy Cedilnik b7a2d11f2d ENH: Pass ctest config type to subprocesses 2005-06-17 15:44:32 -04:00
Andy Cedilnik c34696021d ENH: Add test of macro 2005-06-16 14:56:28 -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 b156314ab3 ENH: add first cut at support for exe with same name as lib 2005-06-16 11:52:51 -04:00
Andy Cedilnik feb271089e ENH: Add logging to improve coverage 2005-06-15 08:54:56 -04:00
Andy Cedilnik 04f0a634a5 ENH: Add commands for memory checking and coverage 2005-06-14 14:00:45 -04:00
Andy Cedilnik 29f7e505a5 ENH: Use the new parser that supports nested variables 2005-06-13 11:00:29 -04:00
Ken Martin c08862a88d ENH: removed UMG2 2005-06-09 14:39:14 -04:00
Andy Cedilnik 1a165dc60d ENH: Move the build-and-test code to a handler 2005-06-03 16:10:55 -04:00
Ken Martin 52fc539e4e ENH: defer relative paths 2005-05-12 10:58:23 -04:00
Ken Martin caf17c123b ENH: added new generator 2005-05-12 10:49:56 -04:00
Andy Cedilnik 3254c25e4f ENH: Add new style ctest project 2005-05-05 10:19:09 -04:00
Andy Cedilnik c7feef30e2 ENH: Promote submit into a full handler, add test and submit command and do some cleanups 2005-05-03 08:17:39 -04:00
Andy Cedilnik f1ebfb24c6 ENH: More commands. Start working on new style ctest configuration 2005-05-02 14:15:29 -04:00
Andy Cedilnik d395b563ed ENH: Improve internal test handling by creating a test class. Command cmEnableTesting now only sets CMAKE_TESTING_ENABLED and cmAddTest only adds a test to the list. The actual test files are written by local generator. This way we can at some point in the future replace DartTestfile with some XML file 2005-04-24 15:59:51 -04:00
Brad King 8d150e0bfb BUG: The test1 executable has been removed from kwsys. Instead using testIOS for the kwsys test. 2005-04-13 17:58:08 -04:00
Andy Cedilnik 70007a02c2 ENH: When in-source build, do not do bootstrap test 2005-03-25 18:55:19 -05:00
Andy Cedilnik b28937f1c7 ENH: Remove curl build testing 2005-03-25 18:46:53 -05:00
Andy Cedilnik d30868d952 ENH: Make sure to use internal zlib 2005-03-16 12:54:35 -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
Bill Hoffman 3abbf15a5a ENH: make xcode compile only on apple 2005-03-14 13:23:14 -05:00
Ken Martin 791aa6052b ENH: add support for out of source source 2005-03-14 11:29:15 -05:00
Andy Cedilnik 70b01d4506 COMP: Do not build cmw9xcom on Cygwin 2005-03-06 08:17:42 -05:00
Andy Cedilnik ef282e2a7f ENH: More cleanups and start linking ctest to XML-RPC 2005-03-04 14:27:32 -05:00
Andy Cedilnik 89f603b620 ENH: More cleanups and reorganization 2005-03-04 11:38:34 -05:00
Andy Cedilnik f451469d58 ENH: Cleanups 2005-03-04 10:05:01 -05:00
Ken Martin 78ca400d33 ENH: remove code warrior classes 2005-03-03 08:47:03 -05:00
Brad King e979735a19 ENH: Framework for java dependency scanner. Right now it does nothing but always reports success. This is enough to get the Java test to pass with the new generator because the old implementation did not do dependencies anyway. 2005-03-01 12:21:34 -05:00
Bill Hoffman ff812580eb ENH: add a new library path ordering algorithm to make sure -L paths will pick the correct libraries if possible 2005-02-24 13:16:41 -05:00
Ken Martin 12c4e90294 BUG: fix test execution 2005-02-22 10:43:06 -05:00
Bill Hoffman 785b0dc012 ENH: all tests are passing for XCode 2005-02-18 13:32:51 -05:00
Andy Cedilnik 79a7f42a21 ENH: Cleanups and add CTEST_UPDATE command 2005-02-17 15:23:00 -05:00
Andy Cedilnik 8fe1686510 ENH: Cleanups and add CTEST_START command 2005-02-17 10:51:52 -05:00
Ken Martin 7bc60c68e7 ENH: only do objc++ test with GNU of course 2005-02-14 10:16:58 -05:00
Brad King 5517bc911d ENH: Adding MakeClean test to test cleaning for makefile generators. 2005-02-09 09:32:47 -05:00
Brad King bde01e4121 ENH: Adding test for external object file feature. 2005-02-04 14:13:16 -05:00
Brad King 04e56bf7ff ENH: Changed over to using C++ for building flex/bison generated files. It reduces the number of changes that need to be made after generation. 2005-02-01 10:42:52 -05:00
Andy Cedilnik 44abd32468 ENH: Enable java dependency 2005-01-28 17:14:49 -05:00
Andy Cedilnik c22cc421e0 ENH: Several cleanups and improvements 2005-01-27 15:54:47 -05:00
Andy Cedilnik dc0ce24cc6 ENH: Add a superclass to all handlers 2005-01-27 11:43:22 -05:00
Andy Cedilnik 197ba0bdd6 ENH: Link to cmzlib 2005-01-27 10:13:38 -05:00
Ken Martin ef75402148 ENH: added more capabilities to ctest 2005-01-27 10:11:04 -05:00
Brad King a81a8263a5 ENH: Added hook into Fortran dependency scanner. 2005-01-26 16:18:22 -05:00
Bill Hoffman 96daa417cb ENH: add initial non-working XCode stuff 2005-01-25 15:26:57 -05:00
Bill Hoffman a641ad3bba ENH: split up cmCommands into two files 2005-01-21 10:27:51 -05:00
Brad King 195cdf172e ENH: Split dependency scanning and checking into separate cmDepends superclass with language-specific subclasses such as cmDependsC. 2005-01-18 17:09:05 -05:00
Andy Cedilnik ed9e0626fd COMP: Ok, actually link to the library.... 2005-01-18 16:47:51 -05:00
Andy Cedilnik dcadffbe00 ENH: Add XML parser 2005-01-18 13:41:23 -05:00
Ken Martin 0ad63cf5fd ENH: minor fix for windows 2004-12-03 09:25:00 -05:00
Brad King d46d8df0ed ENH: Re-implemented cmGeneratedFileStream to look like a real stream and replace the destination file atomically. This will avoid problems with the process being terminated while generating a file. 2004-11-03 07:23:18 -05:00
Brad King 3e59af4dcd ENH: Added cmLocalUnixMakefileGenerator2 to build. 2004-10-26 12:54:51 -04:00
Andy Cedilnik a3ce1fb293 ENH: Allow disabling of long running tests 2004-10-25 10:04:17 -04:00
Andy Cedilnik 5ceae46e19 COMP: Remove unnecessary commit 2004-10-22 15:45:20 -04:00
Andy Cedilnik fc70a2bb2a ENH: Add development version support in CMake 2004-10-22 15:44:54 -04:00
Andy Cedilnik f38a28f044 ERR: Fix problems on windows 2004-10-19 10:59:34 -04:00
Andy Cedilnik 922bdc3602 ENH: Remove bogus clean step 2004-10-18 17:24:12 -04:00
Andy Cedilnik d7d16d386d BUG: Ok, this should make the test actually do something 2004-10-18 15:37:37 -04:00
Andy Cedilnik 7481c895c4 ENH: Do bootstrap test on all unix systems 2004-10-18 15:05:06 -04:00
Andy Cedilnik e60b8b87eb ENH: Add bootstrap test 2004-10-18 12:33:25 -04:00
Bill Hoffman 9fd8d5f181 allow kdevelop for cygwin 2004-10-12 10:57:24 -04:00
Andy Cedilnik 47bae096e8 STYLE: Remove anoying message 2004-10-11 14:47:35 -04:00
Bill Hoffman 766c093d69 NEW: add kdevelop patch from Alexander Neundorf 2004-10-11 11:32:14 -04:00
Andy Cedilnik decb1ac05f ERR: Too much commits 2004-10-05 16:16:31 -04:00