summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2014-06-161-1/+1
|
* CMake Nightly Date StampKitware Robot2014-06-151-1/+1
|
* CMake Nightly Date StampKitware Robot2014-06-141-1/+1
|
* Merge topic 'fix-read-after-free'Brad King2014-06-131-5/+13
|\ | | | | | | | | | | | | 5b2c2d2f Merge branch 'backport-fix-read-after-free' into fix-read-after-free 23ffb72a cmake: Fix read-after-free while checking command-line arguments fe44f057 cmake: Fix read-after-free while checking command-line arguments
| * cmake: Fix read-after-free while checking command-line argumentsBrad King2014-06-121-5/+13
| | | | | | | | | | | | | | | | Since commit v2.8.12~300^2~1 (CLI: Suppress the unused warning if the key value pair is cached, 2013-05-16), cmake::SetCacheArgs saves a cachedValue pointer and may cause the memory to be freed (by setting the cache entry) before reading it again. Fix this by saving the old value in a separate string.
* | Merge topic 'add_jacoco_coverage_parsing'Brad King2014-06-135-1/+271
|\ \ | | | | | | | | | | | | 558c2190 CTest: Add Jacoco Coverage functionality
| * | CTest: Add Jacoco Coverage functionalityJoseph Snyder2014-06-125-1/+271
| | | | | | | | | | | | | | | | | | | | | | | | Add the ability to parse the XML output of the Jacoco tool. Jacoco (www.eclemma.org/jacoco) is a Java coverage tool. Add and integrate a class for the parser and include a test which utilizes the new parser.
* | | Merge topic 'setlocale'Brad King2014-06-134-4/+4
|\ \ \ | | | | | | | | | | | | | | | | c746b00e Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.
| * | | Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.Clinton Stimpson2014-06-124-4/+4
| | | | | | | | | | | | | | | | | | | | Changing all categories with LC_ALL causes test failures in some locales. For example, in some locales, the decimal characer could be a comma instead of period.
* | | | CMake Nightly Date StampKitware Robot2014-06-131-1/+1
| | | |
* | | | Merge topic 'dev/variable-lookup'Brad King2014-06-123-22/+35
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | e17a69bc cmDefinitions: Use a hashmap for faster checks 3b21705d cmDefinitions: Avoid a find-then-insert when setting variables 5abfde6c cmDefinitions: Don't store parent lookups
| * | | cmDefinitions: Use a hashmap for faster checksBen Boeckel2014-06-092-2/+10
| | | | | | | | | | | | | | | | | | | | The hash map is much faster at checking that the map won't have what we're looking for so that we can just go to the parent scope instead.
| * | | cmDefinitions: Avoid a find-then-insert when setting variablesBen Boeckel2014-06-091-10/+1
| | | | | | | | | | | | | | | | Searching the map is not necessary.
| * | | cmDefinitions: Don't store parent lookupsBen Boeckel2014-06-093-10/+24
| | | | | | | | | | | | | | | | | | | | When looking up scopes, it is faster to not store the lookup locally to keep the maps smaller and avoid extra allocations and rebalancing.
* | | | CMake Nightly Date StampKitware Robot2014-06-121-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2014-06-111-1/+1
| | | |
* | | | Merge topic 'no-parse-directory'Brad King2014-06-101-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | b1c113d9 cmake: Do not open directories as scripts (#14966)
| * | | | cmake: Do not open directories as scripts (#14966)Brad King2014-06-091-1/+2
| |/ / / | | | | | | | | | | | | | | | | Check if a file path is a directory before opening it. Extend the RunCMake.CommandLine test with a case running "cmake -P" on a directory.
* | | | Merge topic 'android-platform'Brad King2014-06-101-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 42f74df6 Add basic Android platform module
| * | | | Add basic Android platform moduleBrad King2014-06-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a Platform/Android module that includes Platform/Linux since Android is based on Linux. Provide only the minimal settings needed to get builds with Android NDK toolchains to work. Disable use of RPATH since the Android loader ignores it and we cannot predict the install destination anyway. Android supports soname but shared library names must end in ".so" and we cannot represent the versioned names with associated symlinks on all host operating systems anyway. However, we do want the SONAME of library files to be set so that linking to them by path to the library file produces NEEDED entries with the soname and not the path. Add a new CMAKE_PLATFORM_NO_VERSIONED_SONAME setting to tell the cmTarget::GetLibraryNames method that not to use the VERSION or SOVERSION target properties in the soname.
* | | | | Merge topic 'vs10-refactor'Brad King2014-06-105-153/+176
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1edaef39 VS: Factor MS-tool-specific vcxproj settings into helper 808f4b1f VS: Re-order logic to group MS-tool-specific options together 13e6d559 VS: Set some options directly instead of using flag map 8f4bdcc6 VS: Remove always-true condition on compile options block eaa9f2f8 VS: Refactor internal generator factory logic 2b3e7b6f VS: Fix vcxproj specification of empty output file extension 39af06e7 VS: Fix vcxproj elements specifying binary output locations ee329d54 VS: Refactor flag table lookup
| * | | | | VS: Factor MS-tool-specific vcxproj settings into helperBrad King2014-06-092-45/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor a WriteMSToolConfigurationValues helper method out of the cmVisualStudio10TargetGenerator::WriteProjectConfigurationValues method to isolate the configuration settings specific to MS tools.
| * | | | | VS: Re-order logic to group MS-tool-specific options togetherBrad King2014-06-091-27/+29
| | | | | |
| * | | | | VS: Set some options directly instead of using flag mapBrad King2014-06-091-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of passing /TC, /TP, and /STACK: as strings to be parsed through the flag map, directly set the results in the options map.
| * | | | | VS: Remove always-true condition on compile options blockBrad King2014-06-091-36/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cmVisualStudio10TargetGenerator::ComputeClOptions method is only called when the target type compiles, so do not duplicate that check in the implementation.
| * | | | | VS: Refactor internal generator factory logicBrad King2014-06-093-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consume the space before the platform name as soon as possible instead of including it in the comparison.
| * | | | | VS: Fix vcxproj specification of empty output file extensionBrad King2014-06-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a binary output file is to have no extension, the TargetExt element in the vcxproj cannot be left empty because VS will choose a default extension. Instead use "." because the Windows filesystem will treat that as an empty extension.
| * | | | | VS: Fix vcxproj elements specifying binary output locationsBrad King2014-06-091-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix generation of OutDir, IntDir, TargetName, and TargetExt element values to encode the values for XML.
| * | | | | VS: Refactor flag table lookupBrad King2014-06-092-16/+24
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In cmVisualStudio10TargetGenerator, convert the static functions currently used to lookup the flag table for each tool into class methods. This avoids passing the this->LocalGenerator member and gives the methods access to other information that may be useful in the future.
* | | | | Merge topic 'dev/static-regex'Brad King2014-06-106-25/+19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1b003c1f cmTarget: Remove an unused variable 7492a7b8 regex: Search on strings where possible 3e7194a2 regex: Use static regexs where possible
| * | | | | cmTarget: Remove an unused variableBen Boeckel2014-06-091-1/+0
| | | | | |
| * | | | | regex: Search on strings where possibleBen Boeckel2014-06-092-5/+5
| | | | | |
| * | | | | regex: Use static regexs where possibleBen Boeckel2014-06-095-19/+14
| |/ / / / | | | | | | | | | | | | | | | | | | | | Rather than declaring and compiling a constant regex every time a chunk of code is executed, build the regex once.
* | | | | CMake Nightly Date StampKitware Robot2014-06-101-1/+1
|/ / / /
* | | | Merge topic 'dev/backtrace-performance'Brad King2014-06-0934-224/+234
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 86be733f cmGeneratorExpression: Add workaround for Borland compiler 3495ab0a tests: update unused variable test expected output 2a1b2d84 backtrace: Convert to local paths in IssueMessage a0829205 genex: remove the need for backtraces efc20569 cmake: remove dummy backtraces for IssueMessage d46c650d cmMakefile: return a backtrace
| * | | | cmGeneratorExpression: Add workaround for Borland compilerBrad King2014-06-061-0/+8
| | | | |
| * | | | backtrace: Convert to local paths in IssueMessageBen Boeckel2014-06-0513-22/+66
| | | | | | | | | | | | | | | | | | | | | | | | | This is the only place we care show the FilePath to the user, so defer the expensive relative path calculation until here.
| * | | | genex: remove the need for backtracesBen Boeckel2014-06-0520-125/+117
| | | | | | | | | | | | | | | | | | | | | | | | | Rather than making dummy backtraces and passing them around, just make backtraces optional.
| * | | | cmake: remove dummy backtraces for IssueMessageBen Boeckel2014-06-055-17/+14
| | | | |
| * | | | cmMakefile: return a backtraceBen Boeckel2014-06-0510-69/+38
| | | | | | | | | | | | | | | | | | | | | | | | | This allows backtraces to be fully controlled by the makefile rather than externally (and makes changing how they are manipulated easier).
* | | | | Merge topic 'fix-ctest-label-regex'Brad King2014-06-091-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 887532f0 CTest: Fix combined inclusive/exclusive label regular expressions
| * | | | | CTest: Fix combined inclusive/exclusive label regular expressionsNils Gladitz2014-06-061-2/+2
| | |_|_|/ | |/| | |
* | | | | CMake Nightly Date StampKitware Robot2014-06-091-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2014-06-081-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2014-06-071-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'xcode-15-string-apis'Brad King2014-06-061-13/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 23dc6aa1 Xcode: Fix single-configuration generation for version 1.5
| * | | | Xcode: Fix single-configuration generation for version 1.5Brad King2014-06-051-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 84fdc992 (stringapi: Pass configuration names as strings, 2014-02-09) a few code paths for the Xcode 1.5 single-configuration generator were not updated to use an empty configuration name instead of a NULL pointer when no configuration is specified in CMAKE_BUILD_TYPE. Fix them now.
* | | | | Merge topic 'compile-OBJECT_FILE_DIR'Brad King2014-06-064-0/+19
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | 8256ccb7 Add OBJECT_FILE_DIR rule placeholder for compilation lines
| * | | | Add OBJECT_FILE_DIR rule placeholder for compilation linesBrad King2014-06-054-0/+19
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some compilers do not offer an option to specify the path to the object file, but rather only to the directory in which to place the object file. See issue 14876 for some examples. Add a new OBJECT_FILE_DIR placeholder to specify the directory containing the object file for the current compilation. This may differ from the main target OBJECT_DIR when the object corresponds to a source in a subdirectory.
* | | | CMake Nightly Date StampKitware Robot2014-06-061-1/+1
| |/ / |/| |