summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'vs-fix-MANIFESTUAC'Brad King2014-05-083-12/+3
|\ | | | | | | | | 9c7f234c VS: Fix /MANIFESTUAC:NO linker option mapping
| * VS: Fix /MANIFESTUAC:NO linker option mappingEric Berge2014-05-073-12/+3
| | | | | | | | | | | | | | There are no versions of /MANIFESTUAC:NO where addition values are appended. Remove both of the MANIFESTUAC:NO entries from our flag tables and replace them with one which would set EnableUAC to false and immediately stop processing the /MANIFESTUAC:NO option.
* | Merge topic 'ctest-bad-generator'Brad King2014-05-081-0/+9
|\ \ | | | | | | | | | | | | 54111286 ctest_build: Do not crash on bad generator name
| * | ctest_build: Do not crash on bad generator nameBrad King2014-05-071-0/+9
| |/ | | | | | | | | | | | | | | | | | | If creation of the global generator fails, return early with an error message instead of trying to use the generator and crashing. Add a CTestTestBadGenerator test to cover this case. Reported-by: Mathieu Malaterre <malat@debian.org> Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747306
* | Merge topic 'minor-cleanups'Brad King2014-05-081-2/+2
|\ \ | | | | | | | | | | | | | | | | | | 47795421 Fix whitespace in docs. aa283b6b Features: Fix test for GNU 4.8.1. bbfd4cd4 Features: Include the language of the compiler in error messages.
| * | Features: Include the language of the compiler in error messages.Stephen Kelly2014-05-071-2/+2
| | |
* | | Merge topic 'decay-language-version'Brad King2014-05-082-6/+61
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 205215fb cmTarget: Add CXX_STANDARD_REQUIRED to control decay. 1df2116b Features: Decay language flag if requested is not available. c4f4dac2 Project: Fix exit-on-error with compile feature tests. 5bb7ce72 Project: Use nullary form of main for compile feature tests. 64254e7a Project: Remove extern from static string in feature tests. 0d9c99bf Help: Fix order of help entries. dc7639bd Tests: Fix name of cache variable.
| * | | cmTarget: Add CXX_STANDARD_REQUIRED to control decay.Stephen Kelly2014-05-072-0/+21
| | | |
| * | | Features: Decay language flag if requested is not available.Stephen Kelly2014-05-071-7/+41
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the highest standard compile flags available if requested language version is too new. This supports use-cases like set(CMAKE_CXX_STANDARD 14) # Compiled with -std=c++11 with GNU 4.7, which has no -std=c++14 # or equivalent flag add_executable(main main.cpp) This can be used in combination with preprocessor defines which communicate the availability of certain language features for optional use.
* | | Merge topic 'desktop-icon'Brad King2014-05-081-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 0c4c29ed cmake-gui: Fix desktop file icon configuration
| * | | cmake-gui: Fix desktop file icon configurationJohannes Huber2014-05-071-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop the icon file extension. This fixes the desktop file validation message: "CMakeSetup32.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path Applied-by: Rolf Eike Beer <eike@sf-mail.de>
| * | KWSys SystemInformation: Include backtrace APIs whenever we use themBrad King2014-05-061-28/+15
| | | | | | | | | | | | | | | | | | Include execinfo.h, cxxabi.h, and dlfcn.h under the same conditions under which we use the APIs from them. Move their inclusion out of OS-specific blocks.
* | | CMake Nightly Date StampKitware Robot2014-05-081-1/+1
| | |
* | | Merge topic 'dev/source-file-performance'Brad King2014-05-074-51/+56
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77b37965 cmSourceFile: Take a string 7b8a9904 perf: Cache the language property string 10baf00f cmSourceFile: Cache the isUiFile check 14e7a8ae cmSourceFileLocation: Return a string reference b4cb543e cmSourceFileLocation: Save some string copies e8e1f3a1 cmSourceFileLocation: Simplify logic in Matches 5554910e cmSourceFileLocation: Avoid string allocation in extension checking
| * | | cmSourceFile: Take a stringBen Boeckel2014-04-291-1/+1
| | | |
| * | | perf: Cache the language property stringBen Boeckel2014-04-292-2/+6
| | | |
| * | | cmSourceFile: Cache the isUiFile checkBen Boeckel2014-04-292-3/+4
| | | | | | | | | | | | | | | | The filename extension call is expensive, so cache the .ui check.
| * | | cmSourceFileLocation: Return a string referenceBen Boeckel2014-04-291-1/+1
| | | |
| * | | cmSourceFileLocation: Save some string copiesBen Boeckel2014-04-291-6/+6
| | | |
| * | | cmSourceFileLocation: Simplify logic in MatchesBen Boeckel2014-04-291-36/+35
| | | |
| * | | cmSourceFileLocation: Avoid string allocation in extension checkingBen Boeckel2014-04-291-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | The substr call was causing excess allocations. Swap the cheaper character check to be before the longer string comparison, now using the prefix checking function.
* | | | Merge topic 'dev/regex-variables'Brad King2014-05-075-42/+62
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3f517522 StoreMatches: Minor cleanups ef62fbad ClearMatches: Store match variable names statically f718b30a ClearMatches: Only clear matches which were actually set
| * | | | StoreMatches: Minor cleanupsBen Boeckel2014-04-291-3/+3
| | | | |
| * | | | ClearMatches: Store match variable names staticallyBen Boeckel2014-04-291-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | Constructing the names and then turning them into a std::string is non-negligible in performance testing.
| * | | | ClearMatches: Only clear matches which were actually setBen Boeckel2014-04-295-42/+53
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | ClearMatches was clearing many variables which were never set in the first place. Instead, store how many matches were made last time and only clear those. It is moved to the cmMakefile class since it is a common utility used by multiple commands.
* | | | Merge topic 'dev/hashmap-for-targets'Brad King2014-05-076-15/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 325599ca cmGlobalGenerator: Store targets in hash maps ac4106c6 cmMakefile: Use a hashmap for imported targets
| * | | | cmGlobalGenerator: Store targets in hash mapsBen Boeckel2014-05-074-10/+17
| | | | |
| * | | | cmMakefile: Use a hashmap for imported targetsBen Boeckel2014-05-072-5/+9
| | | | |
* | | | | Merge topic 'dev/refactor-source-depends-in-ninja'Brad King2014-05-0712-59/+100
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2583eff6 ninja: Factor out custom command order-only depends 18e478a8 ninja: Factor out target-level order-only dependencies 6fa6bedf LocalGenerator: Add a string overload for AppendFlags 01b79c63 ninja: Don't use a stringstream to build an argument list 3c640891 ninja: Use string parameters
| * | | | | ninja: Factor out custom command order-only dependsBen Boeckel2014-05-071-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes WebKitGTK's CMake build.ninja file go from 165M to 11M and configure/generate in 5 seconds.
| * | | | | ninja: Factor out target-level order-only dependenciesBen Boeckel2014-05-072-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reduces ninja file output even more for projects with lots of libraries with entangled transitive dependencies. ParaView goes from the previous 58M to about 45M.
| * | | | | LocalGenerator: Add a string overload for AppendFlagsBen Boeckel2014-05-078-20/+38
| | | | | |
| * | | | | ninja: Don't use a stringstream to build an argument listBen Boeckel2014-05-021-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Streams are expensive to construct (looks like some locale-related stuff), so use strings instead.
| * | | | | ninja: Use string parametersBen Boeckel2014-05-024-7/+8
| |/ / / /
* | | | | Merge topic 'no-assert-missing-objlib'Brad King2014-05-071-2/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d648c476 cmTarget: Don't assert on object libraries for configure-time location.
| * | | | | cmTarget: Don't assert on object libraries for configure-time location.Stephen Kelly2014-05-061-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit b8af2011 (cmTarget: Fix listing of source files at configure-time., 2014-04-13) refactored a GetObjectLibrariesCMP0026 method out of GetLanguages. In flight, a conditional use of a target if available was changed to an assert-available. This code is only used to read the LOCATION property at configure time, when the link information is incomplete, and not all targets are defined, so the assert is inappropriate, even though it can lead to incorrect information being generated. CMP0026 warns about the potentially incorrect information anyway.
* | | | | | Merge topic 'osx-iframework'Brad King2014-05-071-3/+17
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1bed75a5 OS X: Use -iframework for system framework directories
| * | | | | | OS X: Use -iframework for system framework directoriesMikoĊ‚aj Siedlarek2014-05-071-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just like -I flag has its -isystem counterpart which marks an include directory as a system directory and prevents unwanted warnings, on Apple systems there is -iframework -- a system directory replacement for -F. Use this flag to implement include_directories(SYSTEM) for frameworks.
* | | | | | | Merge topic 'update-kwsys'Brad King2014-05-072-28/+18
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | edad0369 Merge branch 'upstream-kwsys' into update-kwsys 397bccba KWSys 2014-05-05 (f3a36760)
| * | | | | | Merge branch 'upstream-kwsys' into update-kwsysBrad King2014-05-062-28/+18
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2014-05-071-1/+1
| | | | | | |
* | | | | | | Merge topic 'CMAKE_CXX_KNOWN_FEATURES-global-property'Brad King2014-05-063-54/+54
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | 3fdfa5d3 Features: Make CMAKE_CXX_KNOWN_FEATURES a property.
| * | | | | | Features: Make CMAKE_CXX_KNOWN_FEATURES a property.Stephen Kelly2014-05-023-54/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a 'built-in' variable it imposes a cost on all variable lookups and it is expected to be rarely used.
* | | | | | | CMake Nightly Date StampKitware Robot2014-05-061-1/+1
| |/ / / / / |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2014-05-051-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2014-05-041-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2014-05-031-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2014-05-021-1/+1
|/ / / / /
* | | | | Merge topic 'file-generate-if-different'Brad King2014-05-011-12/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 42e1cd13 file(GENERATE): Only write the file if content is different.
| * | | | | file(GENERATE): Only write the file if content is different.Stephen Kelly2014-04-301-12/+3
| | | | | | | | | | | | | | | | | | | | | | | | No policy is used to control this behavior for now.