summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Factor out target location undefined behavior helper macroBrad King2011-12-011-0/+1
| | | | | | Move CM_LOCATION_UNDEFINED_BEHAVIOR into a dedicated header. Add a parameter to describe the action that leads to the undefined target location.
* Merge topic 'newline-style'David Cole2011-12-011-0/+2
|\ | | | | | | | | | | | | | | | | ac2e45d Provide std::ios_base typedef on GCC < 3 28c46ca cmNewLineStyle: Use cmStandardIncludes.h 75e83e9 cmNewLineStyle: Remove trailing comma in enum be6502c bootstrap: Include cmNewLineStyle in build a087490 Add NEWLINE_STYLE option to configure_file (#3957)
| * Add NEWLINE_STYLE option to configure_file (#3957)Peter Kuemmel2011-11-281-0/+2
| |
* | sha2: Build as part of CMakeLibBrad King2011-11-161-0/+2
| | | | | | | | Mangle sha2 symbols to avoid conflict with system libs.
* | Factor Compute(File|String)MD5 into cmCryptoHash helperBrad King2011-11-161-0/+2
|/ | | | | | Define an abstract API around the backend hash algorithm. Expose ifstream errors to HashFile callers. Always try opening the file. Succeed only if the end of file is reached without error.
* Add Visual Studio 11 generator for x86 and x64 toolsBrad King2011-09-231-0/+4
|
* Start work on automoc: add empty cmQtAutomoc classAlex Neundorf2011-08-071-0/+2
| | | | Alex
* Add VisualStudio 9 and 10 generators for Itanium platformMatej Hribernik2011-06-201-0/+4
|
* Fix XCode -> Xcode typos, notably in man page (#12231)Sean McBride2011-05-311-1/+1
|
* Implement ctest_upload commandZach Mullen2011-03-151-0/+2
|
* Removed most usage of Carbon in favour of CoreFoundationSean McBride2011-01-311-2/+2
|
* Combine duplicate COMPILE_DEFINITIONS disclaimerBrad King2011-01-171-0/+1
|
* Factor generator expression docs out of add_testBrad King2010-12-151-0/+1
| | | | | This documentation may be reused wherever generator expressions are supported.
* Factor out common custom command generatorBrad King2010-12-081-0/+2
| | | | | | The Makefile, VS, and Xcode generators previously duplicated some custom command line generation code. Factor this out into a separate class cmCustomCommandGenerator shared by all generators.
* Move the code for generating dot-files into separate class cmGraphVizWriterAlex Neundorf2010-11-091-2/+4
| | | | Alex
* Create class cmArchiveWrite to wrap libarchive (#11020)Brad King2010-08-061-0/+1
|
* Refer to self with CMake_(SOURCE|BINARY)_DIR (#10046)Brad King2010-07-291-3/+3
| | | | | This is good practice, and is necessary to support building CMake as a subdirectory of another project.
* Tru64: Place cmOStringStream vtable uniquely (#10541)Brad King2010-06-101-0/+1
| | | | | | GCC places the vtable in the object implementing the first non-pure, non-inline virtual method. Since the symbol is not weak on Tru64, make the location unique by putting the destructor in a single object file.
* Add php coverage to ctest.Bill Hoffman2010-05-251-1/+1
|
* Enable extra CodeBlocks generator on CygwinBrad King2010-01-131-4/+2
| | | | | This generator builds correctly on Cygwin so it should be enabled. Change based on patch from issue #10122.
* Use if(CYGWIN) instead of if(WIN32 AND UNIX)Brad King2010-01-131-2/+2
| | | | | CMake has defined CYGWIN on Cygwin for years, so we no longer need the legacy form of the test. Change based on patch from issue #10122.
* CTest: Do not munge UTF-8 output in XML filesBrad King2009-12-081-0/+3
| | | | | | | | | | | | | CTest filters the output from tools and tests to ensure that the XML build/test result documents it generates have valid characters. Previously we just converted all non-ASCII bytes into XML-escaped Unicode characters of the corresponding index. This does not preserve tool output encoded in UTF-8. We now assume UTF-8 output from tools and implement decoding as specified in RFC 3629. Valid characters are preserved, possibly with XML escaping. Invalid byte sequences and characters are converted to human-readable hex values with distinguishing tags. See issue #10003.
* Clean up CMake build tree 'bin' directoryBrad King2009-12-081-0/+2
| | | | | | | | 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 unused DumpDocumentation codeBrad King2009-12-081-2/+0
| | | | | | | The DumpDocumentation executable and some supporting code and tests were completely unused by CMake. Generation of documentation is done by the individual executables with --help* options. In this commit we simply remove the unused code, executable, and test.
* Add JOM support and clean up some of the tar -E stuffBill Hoffman2009-11-051-0/+2
|
* Switch to using libarchive from libtar for cpack and cmake -E tarBill Hoffman2009-10-301-2/+3
| | | | | | 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.
* WIP: VS 10 Win64 generatorBrad King2009-10-221-0/+2
| | | | See issue #9754.
* 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.
* Remove cmGlobalXCode21Generator subclassBrad King2009-09-191-2/+0
| | | | | | | This subclass of cmGlobalXCodeGenerator only provided two virtual method overrides, and it made construction of the Xcode generator instance complicated. This commit removes it and replaces the virtual methods with tests of the Xcode version. The change removes duplicate code.
* BUG: Fixed segfault and bad reporting if a ctest executable could not be ↵Zach Mullen2009-09-101-0/+1
| | | | found. Also added some batch testing code that is not yet complete.
* Remove CMakeSetup. Long live cmake-gui, start building Qt now.Bill Hoffman2009-09-031-6/+0
|
* ENH: Refactored CTest test execution code into an objectZach Mullen2009-08-191-0/+1
|
* Introduce "generator expressions" to add_test()Brad King2009-08-111-0/+2
| | | | | | | | 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.
* Remove WXDialog source codeBrad King2009-08-051-7/+0
| | | | | The QtDialog is our supported cross-platform GUI, so the WXDialog source is no longer needed.
* Remove FLTKDialog source codeBrad King2009-08-051-7/+0
| | | | | The QtDialog is our supported cross-platform GUI, so the FLTKDialog source is no longer needed.
* ENH: Separate option mapping from VS generatorsBrad King2009-07-291-0/+2
| | | | | Split cmVisualStudioGeneratorOptions core functionality out into a base class cmIDEOptions. It will be useful for other generators.
* ENH: Separate VS flag table typeBrad King2009-07-291-0/+1
| | | | | Move the cmVS7FlagTable type out of the VS generators and rename it to cmIDEFlagTable. It will be useful for other generators.
* ENH: Improve dynamic variable scope implementationBrad King2009-07-221-0/+2
| | | | | | | | | | | | 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.
* ENH: Teach CTest to handle Mercurial repositoriesBrad King2009-07-101-0/+2
| | | | | | | | | | | 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.
* ENH: first pass at VS 10, can bootstrap CMake, but many tests still failBill Hoffman2009-06-251-0/+8
|
* ENH: Teach CTest to handle Bazaar repositoriesBrad King2009-05-141-0/+2
| | | | | | | | 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.
* ENH: Teach CTest to handle git repositoriesBrad King2009-04-221-0/+2
| | | | | | | 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.
* ENH: Factor global-VC parts out of cmCTestSVNBrad King2009-04-221-0/+2
| | | | | | 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.
* ENH: Refactor generation of CTestTestfile contentBrad King2009-03-161-0/+2
| | | | | | | | | 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).
* ENH: Refactor cmInstallGenerator for re-useBrad King2009-03-161-0/+2
| | | | | | 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.
* ENH: Overhaul CMake version numberingBrad King2009-03-051-0/+4
| | | | | | | | | | | | | 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: Create cmProcessTools to parse child outputBrad King2009-02-241-0/+2
| | | | | | 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.
* ENH: Add cmCTestCVS and cmCTestSVNBrad King2009-02-241-0/+4
| | | | | These cmCTestVC subclasses will implement interaction with CVS and SVN tools.
* ENH: Create cmCTestVC for VCS interactionBrad King2009-02-241-0/+3
| | | | | This creates cmCTestVC, the base for a forthcoming class hierarchy to interact with version control systems.
* ENH: Create internal 'ctest --launch' toolBrad King2009-02-111-0/+1
| | | | | | | 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.