summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Disable arch-specific try_run in CMake itselfBrad King2009-12-141-0/+11
| | | | | | | We disallow try_run() when CMAKE_TRY_COMPILE_OSX_ARCHITECTURES is set because the binary might not be able to run on the host architecture. This prevents us from creating ppc test binaries on i386 Mac machines that cause Rosetta install dialogs to appear.
* Test 'install' target of CMake itselfBrad King2009-12-101-0/+4
| | | | | | We create option CMake_TEST_INSTALL to enable a new CMake.Install test. It tests running the "make install" target to install CMake itself into a test directory. We enable the option by default for dashboard builds.
* Apply CMake test-time config to all testsBrad King2009-12-101-0/+4
| | | | | | We configure an EnforceConfig.cmake script to load at CTest time. Previously we loaded it from Tests/CTestTestfile.cmake, but now we load it from the top level so it applies to all tests.
* Fix installation of CMake itselfBrad King2009-12-101-0/+7
| | | | | | | | | | | | | | | CMake 2.8.0 and below use the EXECUTABLE_OUTPUT_PATH setting from the top-level CMakeLists.txt file to compute the location of the "cmake" target for the special case of installing cmake over itself. The commit "Clean up CMake build tree 'bin' directory" moved the setting of EXECUTABLE_OUTPUT_PATH that affects the "cmake" target into the Source subdirectory. This broke the special-case lookup in the top level. We fix it by setting EXECUTABLE_OUTPUT_PATH at the end of the top-level CMakeLists.txt file. Now that we use add_subdirectory to process the subdirectories in order, this setting does not affect the subdirectories. Thus we fix installation while preserving the clean build tree 'bin' directory intended by the above-mentioned commit.
* Use add_subdirectory instead of subdirs in CMakeBrad King2009-12-101-11/+11
| | | | | | We switch CMake's own top-level CMakeLists.txt file to use the modern add_subdirectory() command instead of the old subdirs() command. This enables in-order processing.
* Clean up CMake build tree 'bin' directoryBrad King2009-12-081-5/+6
| | | | | | | | We re-arrange EXECUTABLE_OUTPUT_PATH settings to avoid putting utility and test executables in the 'bin' directory of the build tree. This makes the directory look like that in the installation tree, except that on multi-configuration generators we still use a per-config subdirectory.
* Remove useless include file filtersBrad King2009-12-081-1/+0
| | | | | | | | | | The commit "Cleanup regular expressions" removed real include filter expressions and replaced them with lines like INCLUDE_REGULAR_EXPRESSION("^.*$") that do no filtering. We simplify the change by removing the lines altogether.
* keep libarchive from using a system zlib unless cmake uses oneBill Hoffman2009-11-091-0/+2
|
* Switch to using libarchive from libtar for cpack and cmake -E tarBill Hoffman2009-10-301-15/+20
| | | | | | 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.
* Add test of all available CPack generators. Add this test with the goal of ↵David Cole2009-10-201-1/+2
| | | | 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.
* Fix permsissions of installed SquishRunTestCase.shBrad King2009-10-051-3/+3
| | | | | | | This commit fixes permissions of Modules/SquishRunTestCase.sh after installation. Previously install() removed executable permissions. Patch from Modestas Vainius. See issue #9659.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-0/+11
| | | | | | | 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.
* Install KWSys Copyright.txt as documentationBrad King2009-09-281-0/+2
| | | | | | | | | | | | 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.
* Install Copyright.txtBrad King2009-09-281-0/+3
|
* CVS is now 2.9Bill Hoffman2009-09-241-1/+1
|
* Remove CMakeSetup. Long live cmake-gui, start building Qt now.Bill Hoffman2009-09-031-50/+4
|
* Fix installation when built by CMake 2.4Brad King2009-07-311-0/+6
| | | | | | | | | 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.
* ENH: Allow empty endif() and such with CMake 2.4Brad King2009-07-241-0/+2
| | | | | 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.
* ENH: Install all Modules and TemplatesBrad King2009-07-241-2/+15
| | | | | | | 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.
* COMP: We now require CMake 2.4.5 or higher to buildBrad King2009-06-111-1/+1
| | | | | We use the CMakeDependentOption module unconditionally, so we must require a version of CMake new enough to provide it.
* ENH: Disable the xmlrpc drop method by defaultBrad King2009-06-111-18/+13
| | | | | | | 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.
* ENH: Remove option to build cmcurl-7.19.0Brad King2009-06-111-7/+1
| | | | | | 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.
* ENH: Simplify decision to use system librariesBrad King2009-06-111-53/+38
| | | | | | 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.
* ENH: allow for shared build of libcurl and fix build with openssl option ↵Bill Hoffman2009-04-101-1/+4
| | | | (ssl tested on linux and windows
* ENH: Overhaul CMake version numberingBrad King2009-03-051-7/+3
| | | | | | | | | | | | | 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.
* ENH: check in ability to build with new curl -f -DCMAKE_USE_NEW_CURL is setBill Hoffman2008-09-291-2/+8
|
* ENH: install the mac application bundle into /Applications directly with no ↵Bill Hoffman2008-04-041-4/+5
| | | | enclosing folder
* ENH: forgot to check this in, need to change the version in CVSBill Hoffman2008-03-191-1/+1
|
* ENH: Set CMake Policy CMP0003 to NEW behavior to build without warnings with ↵Brad King2008-03-171-0/+4
| | | | the upcoming CMake 2.6 release.
* BUG: undo accidental commitKen Martin2008-03-041-2/+9
|
* ENH: Simplify tests for building CMake itself with rpath support now that ↵Brad King2008-03-021-3/+2
| | | | 2.4 is required to build.
* ENH: add first cut and policies still need to add the doc supportKen Martin2008-03-011-9/+2
|
* ENH: install seems to be working for cmake-guiBill Hoffman2008-02-181-2/+9
|
* ENH: require 2.4 to build cmakeBill Hoffman2008-02-181-1/+1
|
* ENH: support for cpack and install of cmake-gui as mac app bundleBill Hoffman2008-02-161-0/+11
|
* ENH: add support for the Syllable OS (http://www.syllable.org)Alexander Neundorf2007-11-241-7/+12
| | | | | | | | | | | 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
* BUG: Fixed construction of CMake_VERSION_DATE to use KWSys DateStamp feature ↵Brad King2007-11-211-9/+4
| | | | now that cmVersion.cxx is not updated nightly anymore.
* ENH: move CMAKE_STRICT option to the topKen Martin2007-11-061-0/+5
|
* COMP: use RPATH is building QtDialog and the Qt libs are not in /lib orAlexander Neundorf2007-11-051-2/+10
| | | | | | /usr/lib (same logic as for ccmake) Alex
* ENH: add support for the Portland Compiler to CMake, can build cmake and the ↵Alexander Neundorf2007-09-171-2/+2
| | | | | | tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt) Alex
* ENH: remove debug printBill Hoffman2007-09-091-1/+0
|
* ENH: MATH is not in bootstrap cmakeBill Hoffman2007-09-071-3/+3
|
* ENH: for CVS CMake have cpack use the version date in the name of the packageBill Hoffman2007-09-071-0/+16
|
* ENH: Create CTestCustom.cmake instead of CTestCustom.ctest. Create the old ↵Brad King2007-08-311-0/+2
| | | | 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.
* COMP: enable RPATH if any of the CMAKE_USE_SYSTEM_XXX variables is enabledAlexander Neundorf2007-08-281-1/+32
| | | | | | | 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
* COMP: ccmake requires ncurses, according to Berk and since it doesn't buildAlexander Neundorf2007-08-151-0/+1
| | | | | | | | | | 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
* ENH: make DartLocal.conf part of projectBill Hoffman2007-06-291-0/+4
|
* ENH: remove old style release stuffBill Hoffman2007-06-221-2/+0
|
* ENH: revert to SUBDIRS to make sure cmake can be built with 2.2Bill Hoffman2007-05-131-14/+14
|
* COMP: Need CMake 2.4 or a bootstrap cmake that has ADD_SUBDIRECTORY to build.Brad King2007-05-131-1/+1
|