summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fix_coverage_scanbuild_errors'Brad King2014-12-172-4/+0
|\ | | | | | | | | 0622f92d CTest: Remove code to fix scanbuild errors
| * CTest: Remove code to fix scanbuild errorsJoseph Snyder2014-12-152-4/+0
| | | | | | | | | | | | Remove code from cmParseBlanketJSCoverage.cxx and cmParseDelphiCoverage.cxx which caused scanbuild errors about not reading the value that was stored.
* | CMake Nightly Date StampKitware Robot2014-12-171-1/+1
| |
* | CMake Nightly Date StampKitware Robot2014-12-161-1/+1
|/
* Merge topic 'assert-no-string-conversion'Brad King2014-12-155-12/+12
|\ | | | | | | | | 2e92570b Fix some Clang -Wstring-conversion warnings
| * Fix some Clang -Wstring-conversion warningsSean McBride2014-12-125-12/+12
| | | | | | | | | | Some false positives, but some flagged faulty asserts where the ! was inside the string instead of outside.
* | Merge topic 'suncc-fixes'Brad King2014-12-152-8/+12
|\ \ | | | | | | | | | | | | 97b65f81 Misc. fixes for the Oracle / Sun compiler.
| * | Misc. fixes for the Oracle / Sun compiler.Chuck Atkins2014-12-122-8/+12
| | | | | | | | | | | | | | | | | | A few pieces of code have some ambiguous type deduction that seems to resolve correctly for most compilers but not for the Oracle compiler. This makes those few instances more explicit.
* | | CMake Nightly Date StampKitware Robot2014-12-151-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2014-12-141-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2014-12-131-1/+1
| |/ |/|
* | Merge topic 'catch-ctest-errors-better'Brad King2014-12-121-1/+1
|\ \ | | | | | | | | | | | | d8589e64 ctest: count errors from scripts properly
| * | ctest: count errors from scripts properlyBen Boeckel2014-12-101-1/+1
| | | | | | | | | | | | | | | | | | | | | In the unlikely event that someone has a billion+ scripts (or some codepath returns negative numbers), we could overflow and make a pile of errors a non-error. This change also allows us to use flags for the error in the future rather than just "something went wrong".
* | | Merge topic 'drop-double-underscores'Brad King2014-12-1214-41/+41
|\ \ \ | | | | | | | | | | | | | | | | 111be180 Rename header guards to not start with double underscore
| * | | Rename header guards to not start with double underscoreSean McBride2014-12-1114-41/+41
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Use regex to find/replace: __(cm.*_h) \1 Then fix QCMake.h by hand.
* | | CMake Nightly Date StampKitware Robot2014-12-121-1/+1
|/ /
* | CMake Nightly Date StampKitware Robot2014-12-111-1/+1
| |
* | CMake Nightly Date StampKitware Robot2014-12-101-1/+1
|/
* Merge topic 'find_library-updated-directory-content'Brad King2014-12-092-20/+30
|\ | | | | | | | | ce331bab find_library: Fix repeat call after changing directory content (#15293)
| * find_library: Fix repeat call after changing directory content (#15293)Brad King2014-12-082-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | We use cmGlobalGenerator::GetDirectoryContent to avoid repeating directory listings. However, GetDirectoryContent loads content from disk at most once. This breaks find_library calls that occur when disk content has changed since preceding find_library calls. Teach cmGlobalGenerator::GetDirectoryContent to save the directory modification time when content is loaded and re-load content if it changes. Create a RunCMake.find_library test with a case covering this.
* | CMake Nightly Date StampKitware Robot2014-12-091-1/+1
|/
* Merge topic 'custom-command-multiple-outputs'Brad King2014-12-088-163/+99
|\ | | | | | | | | | | | | | | 6c67b816 Makefile: Workaround Borland Make bug with multiple outputs 65ea5eb7 Tests: Cover rebuild with multiple custom command outputs (#15116) 644b4688 Makefile: Fix rebuild with multiple custom command outputs (#15116) 8a4c6d2d Xcode: Fix rebuild with multiple custom command outputs (#15116)
| * Makefile: Workaround Borland Make bug with multiple outputsBrad King2014-12-063-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given a rule of the form out1 out2: dep1 out1 out2: dep2 Borland Make complains that there are multiple rules for "out1" even though this works when there is only one output. Instead generate out1 out2: dep1 dep2 for Borland Make, but only when there are multiple outputs.
| * Makefile: Fix rebuild with multiple custom command outputs (#15116)Brad King2014-12-055-111/+68
| | | | | | | | | | | | | | Fix the generated makefiles for custom commands with multiple outputs to list all the outputs on the left hand side of the build rule. This is much simpler and more reliable than the old multiple-output-pair infrastructure.
| * Xcode: Fix rebuild with multiple custom command outputs (#15116)Brad King2014-12-052-52/+12
| | | | | | | | | | | | | | | | The Xcode generator uses Makefiles under a run-script build-phase to drive custom commands. Fix the generated makefiles for custom commands with multiple outputs to list all the outputs on the left hand side of the build rule. This is much simpler and more reliable than the old multiple-output-pair infrastructure.
* | Merge topic 'file-LOCK-timeout-type'Brad King2014-12-089-23/+27
|\ \ | | | | | | | | | | | | 97841dad file: Use 'long' to represent the parsed LOCK TIMEOUT value
| * | file: Use 'long' to represent the parsed LOCK TIMEOUT valueRuslan Baratov2014-12-059-23/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | Convert the StringToInt helper into a StringToLong helper with a 'long' result type. This will make the helper more useful to other callers that want to use strtol. While at it, also check errno after calling strtol in case the conversion fails with a range error.
* | | Merge topic 'ctest-binary-pipe'Brad King2014-12-081-0/+13
|\ \ \ | | | | | | | | | | | | | | | | 29b0c8c3 ctest --launch: write to cout and cerr in binary
| * | | ctest --launch: write to cout and cerr in binaryBen Boeckel2014-12-051-0/+13
| |/ / | | | | | | | | | | | | | | | Because ctest reads in binary but writes in text mode, Windows' newline transformation can be applied multiple times causing '\n' in the source application to be written out as '\r\r\n' instead.
* | | Merge topic 'vs-inherit-wd'Brad King2014-12-081-0/+5
|\ \ \ | | | | | | | | | | | | | | | | f545eb0b VS: Inherit target-level "-wd" flags in source files (#15284)
| * | | VS: Inherit target-level "-wd" flags in source files (#15284)Brad King2014-12-041-0/+5
| | |/ | |/| | | | | | | | | | | | | | | | If a source file COMPILE_FLAGS option adds "-wd", the .vcxproj file will have a DisableSpecificWarnings setting for the source file. Add to the setting a reference to %(DisableSpecificWarnings) to inherit any such flags set for the whole target.
* | | Merge topic 'try_compile-link-flags'Brad King2014-12-083-0/+42
|\ \ \ | | | | | | | | | | | | | | | | | | | | 88eb5824 try_compile: Pass linker flags into test project (#14066) a4f9b6f0 CMakeDetermineCompilerABI: Use normal linker flags in ABI project
| * | | try_compile: Pass linker flags into test project (#14066)Brad King2014-12-033-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy CMAKE_EXE_LINKER_FLAGS into the test project generated by try_compile, just like we already copy CMAKE_<LANG>_FLAGS. Add CMake Policy CMP0056 to activate this behavior in a compatible way, but do not warn by default when the policy is not set since it will affect all try_compile calls. Extend the RunCMake.try_compile test with a case covering this behavior for each policy setting.
| * | | CMakeDetermineCompilerABI: Use normal linker flags in ABI projectBrad King2014-12-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When compiling the ABI detection test project, do not override CMAKE_EXE_LINKER_FLAGS completely. The normally selected value of this variable may influence how the link is done and may be needed to be representative of how the calling project will be built. Instead pass a variable that try_compile will reference as additional flags. Leave this behavior of try_compile undocumented for now.
* | | | CMake Nightly Date StampKitware Robot2014-12-081-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2014-12-071-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2014-12-061-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2014-12-051-1/+1
| |/ |/|
* | Merge topic 'cached-regex-clear-fixed'Brad King2014-12-045-43/+69
|\ \ | | | | | | | | | | | | | | | ceecd790 cmMakefile: store the number of last matches in a CMake var 7878d061 test: add a test for clearing regex results
| * | cmMakefile: store the number of last matches in a CMake varBen Boeckel2014-12-035-43/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | With PushScope and PopScope, keeping track of another bit of data for each scope isn't easy. Instead, store it as another CMake variable so it gets implicitly tracked along with everything else. This works in a revert of commit 7d674b5f0b28a610333644d417c2e8cb796cc9e4.
* | | Merge topic 'fix-add_library-check-for-shared'Brad King2014-12-041-3/+2
|\ \ \ | | | | | | | | | | | | | | | | bd360ee3 add_library: Fix target type check for non-shared-lib platforms
| * | | add_library: Fix target type check for non-shared-lib platformsBrad King2014-12-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When checking target types for TARGET_SUPPORTS_SHARED_LIBS == false, enumerate exactly the library types not supported rather than trying to maintain a list of all the types that are supported. Otherwise add_library(SomeImportedLib UNKNOWN IMPORTED) warns on platforms that do not support shared libraries. Reported-by: Kelly Thompson <kgt@lanl.gov>
* | | | Merge topic 'vs-hlsl-typo'Brad King2014-12-041-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 955fbf29 VS: Fix typo in VS_SHADER_MODEL lookup comment
| * | | | VS: Fix typo in VS_SHADER_MODEL lookup commentBrad King2014-12-031-1/+1
| | | | |
* | | | | Merge topic 'vs-phone-store-deployment-location'Brad King2014-12-041-0/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 352f246f VS: Add source file property to specify Windows App deployment location
| * | | | | VS: Add source file property to specify Windows App deployment locationGilles Khouzam2014-12-031-0/+15
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a VS_DEPLOYMENT_LOCATION source file property to specify where to put files that are part of the package. For example: set_property(SOURCE ${ASSET_FILES} PROPERTY VS_DEPLOYMENT_LOCATION "assets") Without this, sources marked with VS_DEPLOYMENT_CONTENT cannot be located properly.
* | | | | CMake Nightly Date StampKitware Robot2014-12-041-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'file-LOCK-command'Brad King2014-12-0316-0/+1121
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93017828 Help: Add notes for topic 'file-LOCK-command' e6db4c5a file: Add LOCK subcommand to do file and directory locking 05d6531c cmSystemTools: Add StringToInt helper
| * | | | file: Add LOCK subcommand to do file and directory lockingRuslan Baratov2014-12-0314-0/+1110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide options to fail without blocking or to block up to a timeout. Provide options to specify the scope containing the lock so it can be released automatically at the end of a function, file, or process. Extend the RunCMake.file test with cases covering the file(LOCK) command usage and error cases.
| * | | | cmSystemTools: Add StringToInt helperRuslan Baratov2014-12-032-0/+11
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Convert a string to a signed integer and reject any extra input. Co-Author: Rolf Eike Beer <eike@sf-mail.de>