Commit Graph

165 Commits

Author SHA1 Message Date
Bill Hoffman fb51d98562 Switch to using libarchive from libtar for cpack and cmake -E tar
This allows for a built in bzip and zip capability, so external tools
will not be needed for these packagers.  The cmake -E tar xf should be
able to handle all compression types now as well.
2009-10-30 13:10:56 -04:00
David Cole e1458ae4ab Add test of all available CPack generators. Add this test with the goal of increasing coverage of the cpack source code, even/especially when the underlying packager tool is not installed. The test does not fail if there is a cpack problem with a certain generator. I expect some generators will fail on every machine running a CMake dashboard. 2009-10-20 14:31:10 -04:00
Brad King 3b7e46b27f Fix permsissions of installed SquishRunTestCase.sh
This commit fixes permissions of Modules/SquishRunTestCase.sh after
installation.  Previously install() removed executable permissions.

Patch from Modestas Vainius.  See issue #9659.
2009-10-05 10:28:37 -04:00
Brad King 96afb12087 Convert CMake to OSI-approved BSD License
This converts the CMake license to a pure 3-clause OSI-approved BSD
License.  We drop the previous license clause requiring modified
versions to be plainly marked.  We also update the CMake copyright to
cover the full development time range.
2009-09-28 11:43:28 -04:00
Brad King 832f0a88f0 Install KWSys Copyright.txt as documentation
This commit adds KWSys configuration option KWSYS_INSTALL_DOC_DIR to
specify the directory for installation of documentation.  We use it to
put the KWSys Copyright.txt file at the location

  ${KWSYS_INSTALL_DOC_DIR}/${KWSYS_NAMESPACE}/Copyright.txt

in the project installation tree.  This helps containing projects meet
the license requirement to distribute the copyright and license with
binary forms.
2009-09-28 11:36:54 -04:00
Brad King cb2380fb6c Install Copyright.txt 2009-09-28 11:35:52 -04:00
Bill Hoffman b54aa80e5a CVS is now 2.9 2009-09-24 16:04:14 -04:00
Bill Hoffman 1554265aa6 Remove CMakeSetup. Long live cmake-gui, start building Qt now. 2009-09-03 17:01:07 -04:00
Brad King 36bb624907 Fix installation when built by CMake 2.4
CMake 2.4 generates old-style cmake_install.cmake code including calls
to the file(INSTALL) command with the COMPONENTS argument.  We need to
set CMAKE_INSTALL_SELF_2_4 for the whole install tree to prevent the
command from complaining in this special case.  Previously this was
needed only in the QtDialog directory, but now it is needed in the
entire tree.
2009-07-31 08:27:36 -04:00
Brad King 7b299306fd ENH: Allow empty endif() and such with CMake 2.4
This allows us to use empty endif() and similar block terminators when
building with CMake 2.4.  It is allowed by default with 2.6 already.
2009-07-24 17:33:11 -04:00
Brad King 071ce33ec9 ENH: Install all Modules and Templates
This removes the file-wise installation rules for Modules and Templates
and instead installs the whole directories.  This approach is much less
error-prone.  The old approach was left from before CMake had the
install(DIRECTORY) command.
2009-07-24 13:17:41 -04:00
Brad King b8b749aced COMP: We now require CMake 2.4.5 or higher to build
We use the CMakeDependentOption module unconditionally, so we must
require a version of CMake new enough to provide it.
2009-06-11 15:18:51 -04:00
Brad King 8f5af6172a ENH: Disable the xmlrpc drop method by default
We've chosen to drop our default dependence on xmlrpc.  Thus we disable
the corresponding CTest submission method and remove the sources for
building xmlrpc locally.  Users can re-enable the method by setting the
CTEST_USE_XMLRPC option to use a system-installed xmlrpc library.
2009-06-11 11:24:56 -04:00
Brad King 8ddfd1ed7f ENH: Remove option to build cmcurl-7.19.0
This version of curl was added experimentally but does not address the
problem we were hoping it fixed (an occasional upload hang).  Importing
a new curl can wait until the problem is fully diagnosed and addressed.
2009-06-11 09:04:26 -04:00
Brad King f68c6af51e ENH: Simplify decision to use system libraries
Previously we disallowed use of system libraries if FindXMLRPC.cmake was
not available.  Now that CMake 2.4 is required to build, the module is
always available.  This change simplifies the logic accordingly.
2009-06-11 09:04:04 -04:00
Bill Hoffman 5783d5aab1 ENH: allow for shared build of libcurl and fix build with openssl option (ssl tested on linux and windows 2009-04-10 11:59:31 -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
Bill Hoffman 6cf99d7bea ENH: check in ability to build with new curl -f -DCMAKE_USE_NEW_CURL is set 2008-09-29 15:47:46 -04:00
Bill Hoffman 45ce11a075 ENH: install the mac application bundle into /Applications directly with no enclosing folder 2008-04-04 16:02:50 -04:00
Bill Hoffman 0780cf16d3 ENH: forgot to check this in, need to change the version in CVS 2008-03-18 21:22:26 -04:00
Brad King 33c84b50e9 ENH: Set CMake Policy CMP0003 to NEW behavior to build without warnings with the upcoming CMake 2.6 release. 2008-03-17 16:22:28 -04:00
Ken Martin efb309fe29 BUG: undo accidental commit 2008-03-04 09:10:05 -05:00
Brad King 16a415dd0c ENH: Simplify tests for building CMake itself with rpath support now that 2.4 is required to build. 2008-03-02 14:35:13 -05: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
Bill Hoffman a3781c85fc ENH: install seems to be working for cmake-gui 2008-02-18 15:50:37 -05:00
Bill Hoffman 0dbc430641 ENH: require 2.4 to build cmake 2008-02-18 11:10:39 -05:00
Bill Hoffman 22927ede1e ENH: support for cpack and install of cmake-gui as mac app bundle 2008-02-16 13:05:03 -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 70adbcee0d BUG: Fixed construction of CMake_VERSION_DATE to use KWSys DateStamp feature now that cmVersion.cxx is not updated nightly anymore. 2007-11-21 12:55:24 -05:00
Ken Martin 8eae7fddf2 ENH: move CMAKE_STRICT option to the top 2007-11-06 14:14:18 -05:00
Alexander Neundorf c0108d1e07 COMP: use RPATH is building QtDialog and the Qt libs are not in /lib or
/usr/lib (same logic as for ccmake)

Alex
2007-11-05 18:06:02 -05:00
Alexander Neundorf 4ee1ee1bd0 ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt)
Alex
2007-09-17 15:55:17 -04:00
Bill Hoffman 2af2cb0a09 ENH: remove debug print 2007-09-09 13:18:22 -04:00
Bill Hoffman 895a105a85 ENH: MATH is not in bootstrap cmake 2007-09-07 17:00:15 -04:00
Bill Hoffman de46b1c298 ENH: for CVS CMake have cpack use the version date in the name of the package 2007-09-07 14:20:14 -04:00
Brad King b8ac3158ce ENH: Create CTestCustom.cmake instead of CTestCustom.ctest. Create the old file to include the new one for compatibility. This should prevent the long delays of CTest traversing the whole tree looking for CTestCustom.ctest files. 2007-08-31 14:51:09 -04:00
Alexander Neundorf a056cffc5b COMP: enable RPATH if any of the CMAKE_USE_SYSTEM_XXX variables is enabled
or if the curses library is neither in /lib nor in /usr/lib . This makes it
build on NetBSD. For more comments see CMakeLists.txt

Alex
2007-08-28 11:02:24 -04:00
Alexander Neundorf 58b0e31784 COMP: ccmake requires ncurses, according to Berk and since it doesn't build
on NetBSD where there are separate curses and ncurses libraries, and where
the curses library is found, which doesn't work for ccmake while the
existing ncurses library would work.
With this change it should be possible to test whether the found curses lib
provides ncurses functionality.

Alex
2007-08-15 09:43:01 -04:00
Bill Hoffman e949f4afa1 ENH: make DartLocal.conf part of project 2007-06-29 11:18:08 -04:00
Bill Hoffman 2acd7c07ba ENH: remove old style release stuff 2007-06-22 11:31:35 -04:00
Bill Hoffman 75ad21b2ad ENH: revert to SUBDIRS to make sure cmake can be built with 2.2 2007-05-13 09:11:58 -04:00
Brad King 33d976e583 COMP: Need CMake 2.4 or a bootstrap cmake that has ADD_SUBDIRECTORY to build. 2007-05-13 07:16:25 -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
Ken Martin 0577543cbc ENH: start trying to cleanup CMakeLists files 2007-05-10 14:08:15 -04:00
Brad King 87e8f718e3 ENH: Enable use of kwsys MD5 implementation. 2007-03-14 16:30:59 -04:00
Andy Cedilnik 50ed755b5b ENH: Prepare for the new curl. Curl is build static, so set define to on 2007-03-09 11:35:53 -05:00
Ken Martin c931d330c9 BUG: bad command line 2007-03-01 10:34:58 -05:00
Ken Martin 478b13797d BUG: bad command line 2007-03-01 10:33:11 -05:00