summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmGeneratedFileStream: Fix spelling in commentRaffi Enficiaud2015-09-171-2/+2
| | | | s/destionation/destination/
* Merge topic 'fix-TrimWhitespace'Brad King2015-09-111-3/+8
|\ | | | | | | | | | | 9c4a500f cmSystemTools: Fix TrimWhitespace for non-ascii strings (#15735) 87a9061d cmSystemTools: Factor out a cm_isspace helper
| * cmSystemTools: Fix TrimWhitespace for non-ascii strings (#15735)Brad King2015-09-101-2/+2
| | | | | | | | | | | | | | | | Since commit v2.8.11~59^2 (cmSystemTools: Generalize TrimWhitespace to all whitespace, 2013-03-27) we incorrectly use `c <= ' '` to determine if `c` is a whitespace character. With a signed `char` type UTF-8 encoded strings may be truncated because values above 0x7f appear negative and therefore less than 0x20. Use `isspace(c)` instead.
| * cmSystemTools: Factor out a cm_isspace helperBrad King2015-09-101-1/+6
| | | | | | | | | | | | Extract the logic added by commit v3.1.0-rc1~386^2 (Encoding: Fix debug asserts ... with non-ascii chars, 2014-06-16) into a helper function so we can re-use it.
* | Merge topic 'revert-fix-windows-version-detection'Brad King2015-09-111-46/+10
|\ \ | | | | | | | | | | | | 4c7744c8 Revert "Windows: Fix CMAKE_HOST_SYSTEM_VERSION on Windows >= 8.1 (#15674)"
| * | Revert "Windows: Fix CMAKE_HOST_SYSTEM_VERSION on Windows >= 8.1 (#15674)"Brad King2015-09-101-46/+10
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d4736d53cd61f2cbbb36bec682663b74b01dddce. RtlGetVersion is a private API not meant for public use. Another solution to detecting the Windows version will be needed. Reported-by: Gilles Khouzam <Gilles.Khouzam@microsoft.com>
* | | CMake Nightly Date StampKitware Robot2015-09-111-1/+1
| | |
* | | Merge topic 'ghs-updates'Brad King2015-09-101-11/+12
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 04de9007 GHS: Fix generated file path slashes and quoting for 6.1.6 fbe0de92 GHS: Tell MULTI to delete .elf.ael file 63591b94 GHS: Find latest 'int' directory
| * | GHS: Fix generated file path slashes and quoting for 6.1.6Geoff Viola2015-09-091-4/+7
| | |
| * | GHS: Tell MULTI to delete .elf.ael fileGeoff Viola2015-09-091-7/+5
| | |
* | | CMake Nightly Date StampKitware Robot2015-09-101-1/+1
| | |
* | | Merge topic 'vs14-win8-store-phone'Brad King2015-09-094-2/+26
|\ \ \ | |/ / |/| | | | | | | | 4b8b9168 VS: Find Desktop SDK for current VS version (#15662)
| * | VS: Find Desktop SDK for current VS version (#15662)Gilles Khouzam2015-09-024-2/+26
| | | | | | | | | | | | | | | | | | Determine the Desktop SDK for Windows Phone and Windows Store from the generator instead of the version of the targeted app. This allows to build a Windows Phone 8.1 app on VS 2015 for example.
* | | CMake Nightly Date StampKitware Robot2015-09-091-1/+1
| | |
* | | Merge topic 'fix-buildsystem-target-properties'Brad King2015-09-081-24/+49
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b9856862 Tests: Cover set_property for buildsystem target properties 407ff47e cmTarget: Fix memory leak when SOURCES property is cleared cf74fc24 cmTarget: Fix buildsystem property empty value set and append operations
| * | | cmTarget: Fix memory leak when SOURCES property is clearedBrad King2015-09-031-0/+1
| | | |
| * | | cmTarget: Fix buildsystem property empty value set and append operationsBrad King2015-09-031-24/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 1f54bc1c (cmTarget: Split storage of include directories from genexes, 2015-08-04), commit 772ecef4 (cmTarget: Split storage of compile options from genexes, 2015-08-04), commit 44e071ae (cmTarget: Split storage of compile features from genexes, 2015-08-04), and commit 197f4de1 (cmTarget: Split storage of compile definitions from genexes, 2015-08-04) failed to account for value==NULL in SetProperty and AppendProperty methods.
* | | | Merge topic 'find_program-NAMES_PER_DIR'Brad King2015-09-085-26/+159
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ea7611b find_program: Optionally consider all names in each directory fc1990c9 cmFindProgramCommand: Re-implement search using more flexible approach fdbfc9f6 Tests: Add explicit testing for find_program 907a919b cmSystemTools: Drop unused StringEndsWith method ed4de3c9 cmFindProgramCommand: Use Names member instead of passing it bf32b95e cmFindLibraryCommand: Avoid repeating search for the same name
| * | | | find_program: Optionally consider all names in each directoryBrad King2015-09-022-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When more than one value is given to the NAMES option this command by default will consider one name at a time and search every directory for it. Add a NAMES_PER_DIR option to tell this command to consider one directory at a time and search for all names in it.
| * | | | cmFindProgramCommand: Re-implement search using more flexible approachBrad King2015-09-022-1/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid using KWSys SystemTools::FindProgram because it does much more than we actually need for find_program and does not allow us to control the order of preference between directories and names. Create our own cmFindProgramHelper much like cmFindLibraryHelper but without all the find_library-specific parts.
| * | | | cmSystemTools: Drop unused StringEndsWith methodBrad King2015-09-022-11/+0
| | | | | | | | | | | | | | | | | | | | It has no callers and we can inherit one from KWSys SystemTools anyway.
| * | | | cmFindProgramCommand: Use Names member instead of passing itBrad King2015-09-022-13/+10
| | | | |
| * | | | cmFindLibraryCommand: Avoid repeating search for the same nameBrad King2015-09-021-2/+9
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | In FindNormalLibraryDirsPerName we consider one name at a time and search the entire path. Avoid repeated consideration of names by removing each one from the list of candidates before considering the next one. This will not change behavior because we already know the earlier candidates were not found on repeated considering anyway.
* | | | Merge topic 'update-kwsys'Brad King2015-09-0842-3203/+1394
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2b8229d Tests: Fix Plugin test on Watcom compiler 89958fd0 bootstrap: Remove unused KWSys configuration c5cc3441 Merge branch 'upstream-kwsys' into update-kwsys 1b79433a KWSys 2015-08-28 (dc3fdd7f)
| * | | | Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-09-0242-3203/+1394
| |/ / /
* | | | CMake Nightly Date StampKitware Robot2015-09-081-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2015-09-071-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2015-09-061-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2015-09-051-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2015-09-041-1/+1
| |/ / |/| |
* | | Merge topic 'vs-store-phone-cert-thumbs'Brad King2015-09-031-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 7c33b0f9 cmSystemTools: Skip ComputeCertificateThumbprint during bootstrap
| * | | cmSystemTools: Skip ComputeCertificateThumbprint during bootstrapBrad King2015-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | The implementation of this method requires linking to some extra system libraries. Simply leave it out of the bootstrap-built CMake.
* | | | CMake Nightly Date StampKitware Robot2015-09-031-1/+1
| |/ / |/| |
* | | CMake Nightly Date StampKitware Robot2015-09-021-1/+1
| | |
* | | Merge topic 'jacoco_find_files'Brad King2015-09-011-52/+87
|\ \ \ | | | | | | | | | | | | | | | | e92c59e7 ctest_coverage: Make Jacoco parser better at finding source files
| * | | ctest_coverage: Make Jacoco parser better at finding source filesZack Galbreath2015-09-011-52/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of searching for source files in a couple hard-coded locations, we now search the source and binary directory for files matching both the name of the covered file and its package directory structure.
* | | | Merge topic 'fix-ios-install'Brad King2015-09-012-4/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ad262917 Xcode: Add unit test for iOS project install (#12506) 48fe617e Fix installation of iOS targets (#12506) d2c2319d Replace CMAKE_XCODE_EFFECTIVE_PLATFORMS with call to PlatformIsAppleIos
| * | | | Fix installation of iOS targets (#12506)Gregor Jasny2015-08-252-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since cmTarget::ComputeOutputDir results can be used in CMake code of script cmake_install.cmake and in Xcode internals, string ${EFFECTIVE_PLATFORM_NAME} should be used instead of $(EFFECTIVE_PLATFORM_NAME) because it works for both. Value of CMAKE_CFG_INTDIR can't be used in BUILD_TYPE argument of install command since it contains $(EFFECTIVE_PLATFORM_NAME) (e.g. equals to `Release-iphoneos`, `Debug-iphoneos`, etc.).
| * | | | Replace CMAKE_XCODE_EFFECTIVE_PLATFORMS with call to PlatformIsAppleIosGregor Jasny2015-08-251-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the CMAKE_XCODE_EFFECTIVE_PLATFORMS property acts only as a kind of toggle switch to enable iOS project layout features. But instead of relying on this undocumented property, better detect the presence of an iOS SDK directly.
* | | | | Merge topic 'vs-store-phone-cert-thumbs'Brad King2015-09-011-7/+8
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | e0cf77b3 cmSystemTools: Use CreateFileW explicitly to pass wchar_t path
| * | | | cmSystemTools: Use CreateFileW explicitly to pass wchar_t pathBrad King2015-08-311-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The call to CreateFile added by commit ac0bb433 (VS: Windows Store/Phone package cert thumbprint, 2015-08-21) passes a wide character path explicitly so we should call CreateFileW directly. Otherwise it does not build without -DUNICODE (e.g. in bootstrap on MSYS).
* | | | | Merge topic 'update-kwsys'Brad King2015-09-016-94/+370
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 49d293a7 Merge branch 'upstream-kwsys' into update-kwsys ca96be22 KWSys 2015-08-24 (cdaf522c)
| * | | | | Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-08-316-94/+370
| | | | | |
* | | | | | Merge topic 'add-link-search-static-properties-defaults'Brad King2015-09-011-5/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e21b01a Revert LINK_SEARCH_{START,END}_STATIC behavior change
| * | | | | | Revert LINK_SEARCH_{START,END}_STATIC behavior changeBrad King2015-08-311-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The changes to cmComputeLinkInformation.cxx in commit 675ef165 (Allow LINK_SEARCH_{START,END}_STATIC props to have default values, 2015-08-07) are unrelated to the feature added by that change and are incorrect. They lead to cases of extra -Bdynamic flags. Revert them.
* | | | | | | CMake Nightly Date StampKitware Robot2015-09-011-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'makefile-color-when-needed'Brad King2015-08-311-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfb9d34f Makefile: Print color escapes only when necessary
| * | | | | | Makefile: Print color escapes only when necessaryBrad King2015-08-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach cmSystemTools::MakefileColorEcho to use the color printing API only when we actually have a color to print. This avoids printing escape sequences that do not change the text attributes. Since commit v3.3.0-rc1~480^2~4 (Makefile: Fix output during parallel builds, 2015-02-05) we always use this code path to print progress and rule messages even when color is disabled (e.g. in a try_compile). It is important to avoid printing escapes when there is no color because on MSYS we have no isatty and so assume that vt100 escapes are supported, but we do not want to print them when capturing try_compile output. If we capture the vt100 escapes in try_compile output, they contain unbalanced square brackets. This causes CMakeParseImplicitLinkInfo to fail to separate lines in a ;-list and therefore fail to extract information from the link line. Then mixed-language linking breaks.
* | | | | | | Merge topic 'vs-store-phone-cert-thumbs'Brad King2015-08-314-4/+110
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | ac0bb433 VS: Windows Store/Phone package cert thumbprint 92b835ec Simplify condition for using rpcrt4 library on Windows
| * | | | | | VS: Windows Store/Phone package cert thumbprintGilles Khouzam2015-08-274-2/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the PackageCertificateThumbprint property when there is a certificate on a WindowsStore or Phone app.