summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make cmGlobalGenerator::GetDocumentation() a static functionPatrick Gansterer2012-11-1949-82/+70
| | | | | Making the function static allows us to call it directly, without creating and removing an instance of the generator.
* Allow a GeneratorFactory handling of more than one generatorPatrick Gansterer2012-11-194-65/+71
| | | | | | | | Pass the name of the requested generator to the generator factory, which is now responsible to check if it can create a matching generator for the name. This allows us to add more logic to the factory in a next step, so that not every possible generator needs to get registered explicit in cmake::AddDefaultGenerators().
* Search generator in cmake::ExtraGenerators before in cmake::GeneratorsPatrick Gansterer2012-11-191-19/+22
| | | | | | Since ExtraGenerators does not contain items, which are in Generators too, there is not change in behaviour. The benefit of this change is, that the lookup in the Generators map is now only done once.
* Add cmGlobalGeneratorFactory::GetGenerators()Patrick Gansterer2012-11-193-1/+11
| | | | | This allows cmGlobalGeneratorFactory to create more than one type of cmGlobalGenerator in a next step.
* Introduce the abstract class cmGlobalGeneratorFactoryPatrick Gansterer2012-11-1928-75/+174
| | | | | This new abstract class allows us move some logic from the cmGlobalGenerator into its own layer in a next step.
* CMake Nightly Date StampKitware Robot2012-11-171-1/+1
|
* CMake Nightly Date StampKitware Robot2012-11-161-1/+1
|
* CMake Nightly Date StampKitware Robot2012-11-151-1/+1
|
* CMake Nightly Date StampKitware Robot2012-11-141-1/+1
|
* Merge topic 'CPack-BugFixesSet'Brad King2012-11-131-1/+0
|\ | | | | | | | | b6f7881 Remove seemingly bogus duplicate CPACK_PACKAGE_FILE_NAME call.
| * Remove seemingly bogus duplicate CPACK_PACKAGE_FILE_NAME call.Andreas Mohr2012-11-111-1/+0
| | | | | | | | Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* | Merge topic 'CPack-fixTypoInErrorMsg'Brad King2012-11-131-1/+1
|\ \ | | | | | | | | | | | | 572d9e1 Correct string literal typo (have "(NULL)" like all other cases).
| * | Correct string literal typo (have "(NULL)" like all other cases).Andreas Mohr2012-11-101-1/+1
| |/ | | | | | | Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* | Merge topic 'only-git-fetch-when-necessary'Brad King2012-11-136-5/+307
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a41d3a4 ExternalProjectUpdateTest: Only support Git 1.6.5 and greater. de760c1 ExternalProject: Verify when a fetch occurs during update test. 0a34433 ExternalProject: Make sure the ExternalProjectUpdate setup is available. 9b66c8f ExternalProject: Always do a git fetch for a remote ref. 2619f4d ExternalProject: Add tests for UPDATE_COMMAND. 378aa12 ExternalProject: Do smoke tests for Git Tutorial builds. d075829 ExternalProject: Only run 'git fetch' when required.
| * | ExternalProjectUpdateTest: Only support Git 1.6.5 and greater.Matt McCormick2012-11-131-0/+18
| | |
| * | ExternalProject: Verify when a fetch occurs during update test.Matt McCormick2012-11-131-10/+26
| | | | | | | | | | | | | | | | | | | | | The performance feature of only performing a git fetch when needed during the ExternalProject update step is verified during the test. A fetch is identified by removing the FETCH_HEAD file and checking for its reincarnation.
| * | ExternalProject: Make sure the ExternalProjectUpdate setup is available.Matt McCormick2012-11-132-3/+19
| | | | | | | | | | | | | | | This prepares the numberous tests that occur in the ExternalProjectUpdate test. The tests were passing previously because a fresh build was not performed.
| * | ExternalProject: Always do a git fetch for a remote ref.Matt McCormick2012-11-132-2/+17
| | | | | | | | | | | | | | | Remote git refs always require a git fetch, because the remote may move around where the ref points.
| * | ExternalProject: Add tests for UPDATE_COMMAND.Matt McCormick2012-11-134-0/+166
| | | | | | | | | | | | | | | | | | Tests are added for UPDATE_COMMAND to ensure it is working properly. Testing infrastructure is added along with tests for Git, but tests for other version control systems could easily be added in the future.
| * | ExternalProject: Do smoke tests for Git Tutorial builds.Matt McCormick2012-11-031-0/+11
| | |
| * | ExternalProject: Only run 'git fetch' when required.Matt McCormick2012-11-031-5/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current default update step for Git under the ExternalProject_Add command, a 'git fetch' is always performed, followed by a 'git checkout' and 'git submodule update --recursive'. However, a 'git fetch' can be time consuming and requires a network connection. To save time, we look at the current checked out hash, and only perform the fetch if required. This is performed in a CMake script so we can handle the conditional logic in a cross platform manner.
* | | Merge topic 'link-depends-no-shared'Brad King2012-11-139-1/+109
|\ \ \ | | | | | | | | | | | | | | | | | | | | 306796e Teach BuildDepends test to cover LINK_DEPENDS_NO_SHARED ed97631 Optionally skip link dependencies on shared library files
| * | | Teach BuildDepends test to cover LINK_DEPENDS_NO_SHAREDBrad King2012-11-095-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build a shared library and an executable linking to it inside the inner test. Set LINK_DEPENDS_NO_SHARED on the executable. Add a custom target to compare the output file times. Verify that on the first build the executable is newer than the library. Then modify a library source file. Verify that on the second build the library is newer because the executable did not have a dependency to re-link.
| * | | Optionally skip link dependencies on shared library filesBrad King2012-10-264-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add target property LINK_DEPENDS_NO_SHARED and initialization variable CMAKE_LINK_DEPENDS_NO_SHARED to enable this behavior. Suggested-by: Leif Walsh <leif.walsh@gmail.com>
* | | | Merge topic 'update-KWSys'Brad King2012-11-131-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 1acc689 Merge branch 'upstream-kwsys' into update-KWSys 4cf44d3 KWSys 2012-11-08 (3b17de34)
| * \ \ \ Merge branch 'upstream-kwsys' into update-KWSysBrad King2012-11-091-1/+1
| |\ \ \ \
| | * | | | KWSys 2012-11-08 (3b17de34)KWSys Robot2012-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 3b17de34 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' df32fa6f..3b17de34 Brad King (1): 3b17de34 SystemInformation: Do not dereference NULL ifa_addr Change-Id: I2aecf9978d1f66ed021f47620d176a3837bc2ea3
* | | | | | Merge topic 'fix-compiler-warnings'Brad King2012-11-1311-77/+28
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 737534c Remove references to ancient and removed parts of the code. 21e8a08 Resolve ambiguity warning regarding use of && and ||. 5f6432f Resolve warnings about shadowing parameters and local variables. 9f16d42 Resolve warnings about used enum values in switch blocks. bd8bdb6 Resolve warnings about unused variables.
| * | | | | | Remove references to ancient and removed parts of the code.Stephen Kelly2012-11-131-56/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This file came from ITK, and probably came from python before that. This commit fixes a warning about the unused _PyPopenProcs variable.
| * | | | | | Resolve ambiguity warning regarding use of && and ||.Stephen Kelly2012-11-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not ambiguous to the compiler, but it may seem ambiguous to the reader. From reading 3a53005f (Build object library targets in VS), 5484550a (Detect and set Unicode character set in VS 10), and 9e01aefd (VS: Add support for WinRT project properties (#12930)), this appears to be the intentional semantic.
| * | | | | | Resolve warnings about shadowing parameters and local variables.Stephen Kelly2012-11-136-16/+18
| | | | | | |
| * | | | | | Resolve warnings about used enum values in switch blocks.Stephen Kelly2012-11-133-0/+7
| | | | | | |
| * | | | | | Resolve warnings about unused variables.Stephen Kelly2012-11-074-3/+1
| | | | | | |
* | | | | | | Merge topic 'osx-bad-sdk-xcode-3.2.6'Brad King2012-11-131-0/+17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 720d790 OS X: Warn about known SDK breakage by Xcode 3.2.6
| * | | | | | | OS X: Warn about known SDK breakage by Xcode 3.2.6Brad King2012-11-081-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode 3.2.6 is known to break the SDK Library/Frameworks layout. Detect and warn about this case to tell users to fix their system. Reported-by: Matthew Brett <matthew.brett@gmail.com>
* | | | | | | | Merge topic 'doc-fixups'Brad King2012-11-1312-24/+39
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fa04673 Documentation: Clarify configure_file behavior 07d5e4b Documentation: Clarify some command descriptions 965de97 Documentation: Correct typos and grammar
| * | | | | | | | Documentation: Clarify configure_file behaviorBrad King2012-11-071-6/+14
| | | | | | | | |
| * | | | | | | | Documentation: Clarify some command descriptionsAndreas Mohr2012-11-075-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - file(WRITE): add configure_file() decoupling hint - function(): definitely mention PARENT_SCOPE - include_directories(): mention possible results of SYSTEM setting - macro(): mention scope specifics of function() - message(): improve SEND_ERROR / FATAL_ERROR docs, since people said it's not obvious
| * | | | | | | | Documentation: Correct typos and grammarAndreas Mohr2012-11-079-11/+11
| | | | | | | | |
* | | | | | | | | Merge topic 'MakeSquish4Work'Brad King2012-11-131-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b58fd65 Squish: fix new squish_v4_add_test() macro
| * | | | | | | | | Squish: fix new squish_v4_add_test() macroAlex Neundorf2012-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OUTPUT_NAME target property only returns something if it has been explicitely set. So use LOCATION, and extract the filename from that. Alex
* | | | | | | | | | Merge topic 'compiler-warnings'Brad King2012-11-131-0/+23
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d06a9bd Enable some compiler warnings when building CMake.
| * | | | | | | | | | Enable some compiler warnings when building CMake.Stephen Kelly2012-11-131-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The warnings are enabled for now only when using GCC 4.2 or later. It may be possible later to also enable them when building CMake with clang. Don't duplicate the compiler flags if already set.
* | | | | | | | | | | Merge topic 'deprecate-load_command'Brad King2012-11-137-1/+32
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2d4398 load_command: Deprecate and document pending removal
| * | | | | | | | | | | load_command: Deprecate and document pending removalBrad King2012-11-077-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This command works only when building projects using the same architecture as the running CMake binary. Since it was introduced CMake has learned macro() and function() to add commands, and the execute_process() command to launch advanced external computations. Add a RunCMake.load_command test to verify the warning appears.
* | | | | | | | | | | | Merge topic 'fix-13604-ccmake-del-key'Brad King2012-11-131-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d424de4 ccmake: Allow DEL key in first column
| * | | | | | | | | | | | ccmake: Allow DEL key in first columnMatthew Woehlke2012-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change test if DEL key is allowed from 'curcol > 0' to 'curcol >= 0', as deleting forward is reasonable in the first column (and probably expected by users to work). Support for DEL was first added in commit b3b43508 (BUG: fix for 6462, delete key should delete the current char, 2008-08-19). The commit appears to have copied the original logic from the backspace code so the old 'curcol > 0' logic was accidental rather than intentional.
* | | | | | | | | | | | | CMake Nightly Date StampKitware Robot2012-11-131-1/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | CMake Nightly Date StampKitware Robot2012-11-121-1/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | CMake Nightly Date StampKitware Robot2012-11-111-1/+1
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | |