Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge topic 'configure_file-unicode' | Brad King | 2014-03-20 | 1 | -0/+14 |
|\ | | | | | | | | | 98383f80 Unicode: check encoding of files given to configure_file. | ||||
| * | Unicode: check encoding of files given to configure_file. | Clinton Stimpson | 2014-03-17 | 1 | -0/+14 |
| | | | | | | | | UTF-16 and UTF-32 files are rejected. | ||||
* | | Merge topic 'minor_cleanups' | Brad King | 2014-03-20 | 1 | -2/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 19012b46 cmMakefile: Fix style. 10e6f1e7 cmMakefile: Fix typo in comment. c3a2f78b Makefiles: Remove duplicate code. 2e0611f9 cmGeneratorExpression: Remove unused include. d83ef53a Rename local 'dir_max' variables to 'dir' | ||||
| * | | cmMakefile: Fix style. | Stephen Kelly | 2014-03-17 | 1 | -1/+1 |
| | | | | | | | | | | | | Use this-> for member access. | ||||
| * | | cmMakefile: Fix typo in comment. | Stephen Kelly | 2014-03-17 | 1 | -1/+1 |
| | | | |||||
* | | | Merge topic 'add_custom_command-no-INTERFACE-lib' | Brad King | 2014-03-20 | 1 | -0/+8 |
|\ \ \ | |/ / |/| | | | | | | | | 2600e923 Disallow INTERFACE libraries with add_custom_command(TARGET). | ||||
| * | | Disallow INTERFACE libraries with add_custom_command(TARGET). | Stephen Kelly | 2014-03-19 | 1 | -0/+8 |
| | | | | | | | | | | | | Don't attempt to trace their dependencies. | ||||
* | | | Remove c_str calls when using stream APIs. | Stephen Kelly | 2014-03-11 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | Use an ad-hoc clang tool for matching the calls which should be ported. | ||||
* | | | Remove some c_str() calls. | Stephen Kelly | 2014-03-11 | 1 | -42/+42 |
| |/ |/| | | | | | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms. | ||||
* | | stringapi: Use strings for dependency information | Ben Boeckel | 2014-03-08 | 1 | -7/+7 |
| | | |||||
* | | stringapi: Use strings for cache iterator values | Ben Boeckel | 2014-03-08 | 1 | -2/+6 |
| | | |||||
* | | stringapi: Use strings for generator names | Ben Boeckel | 2014-03-08 | 1 | -2/+2 |
| | | |||||
* | | stringapi: Use strings for directories | Ben Boeckel | 2014-03-08 | 1 | -4/+5 |
| | | |||||
* | | stringapi: Use strings for feature arguments | Ben Boeckel | 2014-03-08 | 1 | -1/+1 |
| | | |||||
* | | stringapi: Pass configuration names as strings | Ben Boeckel | 2014-03-08 | 1 | -6/+7 |
| | | |||||
* | | strings: Remove cmStdString references | Ben Boeckel | 2014-03-08 | 1 | -23/+23 |
| | | | | | | | | | | | | | | | | | | | | | | Casts from std::string -> cmStdString were high on the list of things taking up time. Avoid such implicit casts across function calls by just using std::string everywhere. The comment that the symbol name is too long is no longer relevant since modern debuggers alias the templates anyways and the size is a non-issue since the underlying methods are generated since it's inherited. | ||||
* | | stringapi: Take strings for utility command names | Ben Boeckel | 2014-03-08 | 1 | -2/+2 |
| | | |||||
* | | cmTarget: Remove the project argument to FindTarget | Ben Boeckel | 2014-03-08 | 1 | -3/+2 |
| | | | | | | | | All callers passed 0 in, so just remove the branch. | ||||
* | | stringapi: Use strings for VS project names | Ben Boeckel | 2014-03-08 | 1 | -1/+1 |
| | | |||||
* | | stringapi: Use strings for cache paths as arguments | Ben Boeckel | 2014-03-08 | 1 | -2/+2 |
| | | |||||
* | | stringapi: Use strings for AddSubdirectory paths | Ben Boeckel | 2014-03-08 | 1 | -4/+5 |
| | | |||||
* | | stringapi: Use strings for output names in AddCustomCommandToOutput | Ben Boeckel | 2014-03-08 | 1 | -1/+1 |
| | | |||||
* | | stringapi: Use strings in target name | Ben Boeckel | 2014-03-08 | 1 | -36/+32 |
| | | |||||
* | | stringapi: Use strings for the languages | Ben Boeckel | 2014-03-08 | 1 | -2/+2 |
| | | |||||
* | | stringapi: Use strings for test names | Ben Boeckel | 2014-03-08 | 1 | -14/+7 |
| | | |||||
* | | stringapi: Use strings for source names | Ben Boeckel | 2014-03-08 | 1 | -18/+13 |
| | | |||||
* | | makefile: Remove an unused method | Ben Boeckel | 2014-03-08 | 1 | -10/+0 |
| | | |||||
* | | stringapi: Use strings for variable names | Ben Boeckel | 2014-03-08 | 1 | -18/+19 |
| | | | | | | | | Variable names are always generated by CMake and should never be NULL. | ||||
* | | stringapi: Use strings for property names | Ben Boeckel | 2014-03-08 | 1 | -54/+35 |
| | | | | | | | | Property names are always generated by CMake and should never be NULL. | ||||
* | | CMP0017: Fix check when including from CMake source tree | Brad King | 2014-03-04 | 1 | -1/+2 |
|/ | | | | | | | | | | When running CMake from the build tree the CMAKE_ROOT is the entire source tree. Fix the CMP0017 check to be specific to the Modules/ directory under CMAKE_ROOT so that Tests/ does not count. Fix the FindPackageTest modules to include FPHSA by full path from CMAKE_ROOT so that they do not include the local FPHSA which reports an error meant to test that CMP0017 works. | ||||
* | cmMakefile: Return containers by const reference. | Stephen Kelly | 2014-02-02 | 1 | -3/+3 |
| | | | | They are not implicitly shared. | ||||
* | cmMakefile: Fix minor indentation inconsistency. | Stephen Kelly | 2014-02-02 | 1 | -4/+4 |
| | |||||
* | cmMakefile: Make ConfigureString const. | Stephen Kelly | 2014-01-22 | 1 | -1/+1 |
| | |||||
* | cmMakefile: Make FindSourceGroup const. | Stephen Kelly | 2014-01-22 | 1 | -5/+5 |
| | | | | | Return a pointer instead of a reference. This allows making the accessor const with the least impact. | ||||
* | cmMakefile: Trivially constify some methods. | Stephen Kelly | 2014-01-22 | 1 | -22/+25 |
| | |||||
* | cmMakefile: Consify custom command API. | Stephen Kelly | 2014-01-22 | 1 | -1/+1 |
| | |||||
* | cmMakefile: Constify policies accessors. | Stephen Kelly | 2014-01-22 | 1 | -4/+4 |
| | |||||
* | cmCacheManager: Consify version accessors. | Stephen Kelly | 2014-01-22 | 1 | -2/+2 |
| | |||||
* | cmSourceGroup: Fix method name capitalization. | Stephen Kelly | 2014-01-22 | 1 | -2/+2 |
| | | | | Adhere to the dominant style. | ||||
* | cmMakefile: Constify some cmSourceGroup related code. | Stephen Kelly | 2014-01-22 | 1 | -5/+6 |
| | |||||
* | cmMakefile: Make GetProperty const. | Stephen Kelly | 2014-01-22 | 1 | -8/+9 |
| | |||||
* | Allow projects to specify extra inputs to CMake | Brad King | 2014-01-21 | 1 | -0/+24 |
| | | | | | | | Define a new 'CMAKE_CONFIGURE_DEPENDS' directory property that projects can use to specify input files to the CMake configuration process. Extend the RunCMake.Configure test to verify that the build system re-runs CMake when this input changes. | ||||
* | cmMakefile: make some methods take const std::string& instead of const char* | Rolf Eike Beer | 2014-01-16 | 1 | -7/+11 |
| | | | | | | | | Most callers already have a std::string, on which they called c_str() to pass it into these methods, which internally converted it back to std::string. Pass a std::string directly to these methods now, avoiding all these conversions. Those methods that only pass in a const char* will get the conversion to std::string now only once. | ||||
* | cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy. | Stephen Kelly | 2014-01-08 | 1 | -13/+15 |
| | |||||
* | Merge topic 'unicode-fstream' | Brad King | 2014-01-07 | 1 | -3/+3 |
|\ | | | | | | | | | 5730710 Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. | ||||
| * | Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream. | Clinton Stimpson | 2014-01-07 | 1 | -3/+3 |
| | | | | | | | | | | Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames. | ||||
* | | cmTarget: Don't update IMPORTED target compilation properties | Stephen Kelly | 2014-01-04 | 1 | -1/+1 |
|/ | | | | | | The include_directories() and add_compile_options() commands should not append to the corresponding target property for IMPORTED targets. This is already the case for add_definitions(). | ||||
* | INTERFACE_LIBRARY: Avoid codepaths which set unneeded properties. | Stephen Kelly | 2013-11-25 | 1 | -0/+8 |
| | | | | | | | | | | | | | As an INTERFACE_LIBRARY has no direct link dependencies, we can short-circuit in cmGeneratorExpressionEvaluator and in cmGlobalGenerator::CheckLocalGenerators. As they do not generate any output directly, any generate- or install- related code acn also be short-circuited. Many of the local generators already do this. Because only INTERFACE related properties make sense on INTERFACE_LIBRARY targets, avoid setting other properties, for example via defaults. | ||||
* | Merge topic 'use-generator-target' | Brad King | 2013-11-22 | 1 | -2/+5 |
|\ | | | | | | | | | aa29e64 Add a null check to the generator target accessor. | ||||
| * | Add a null check to the generator target accessor. | Stephen Kelly | 2013-11-21 | 1 | -2/+5 |
| | |