Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmTarget: Initialize static std::unordered_set on construction | Sebastian Holtermann | 2019-06-04 | 1 | -18/+17 |
| | |||||
* | cmTarget: Property initialization cleanup | Sebastian Holtermann | 2019-06-04 | 1 | -121/+128 |
| | |||||
* | Use cmAppend to append ranges to std::vector instances | Sebastian Holtermann | 2019-05-23 | 1 | -22/+16 |
| | |||||
* | Add variable CMAKE_FRAMEWORK | Ruslan Baratov | 2019-05-21 | 1 | -0/+1 |
| | |||||
* | Ninja: add placeholders to support Swift build | Saleem Abdulrasool | 2019-05-16 | 1 | -0/+1 |
| | | | | Add the placeholders needed to support compiling Swift code. | ||||
* | MSVC: Add support for /JMC (Just My Code) | Luca Cappa | 2019-05-14 | 1 | -0/+1 |
| | |||||
* | MSVC: Add abstraction for runtime library selection | Brad King | 2019-04-17 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Replace our hard-coded defaults for `/MD` and `/MDd` with a first-class abstraction to select the runtime library from an enumeration of logical names. We've long hesitated to do this because the idea of "runtime library selection" touches on related concepts on several platforms. Avoid that scope creep by simply defining an abstraction that applies only when targeting the MSVC ABI on Windows. Removing the old default flags requires a policy because existing projects may rely on string processing to edit them and choose a runtime library under the old behavior. Add policy CMP0091 to provide compatibility. Fixes: #19108 | ||||
* | Fix invalid ///! doxygen comment line starts | Sebastian Holtermann | 2019-03-31 | 1 | -1/+1 |
| | | | | | In various places `///!` was used to start a comment line. This is not valid Doygen syntax. This patch replaces `///!` comment starts with `//!`. | ||||
* | cmTarget: Use std::unique_ptr instead of custom smart pointer | Sebastian Holtermann | 2019-03-23 | 1 | -34/+6 |
| | | | | | | | | To manage the lifetime of `cmTargetInternals`, the private implementation of `cmTarget`, use `std::unique_ptr<cmTargetInternals>` instead of `cmTargetInternalPointer`, which is removed. `cmTarget` is made non-copyable but movable. | ||||
* | cmTarget: Make private `SetPropertyDefault` an in code lambda `InitProperty` | Sebastian Holtermann | 2019-03-23 | 1 | -130/+124 |
| | |||||
* | cmTarget: Inline private HasImportLibrary method | Sebastian Holtermann | 2019-03-23 | 1 | -8/+3 |
| | |||||
* | cmTarget: Move member method `CheckImportedLibName` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -8/+11 |
| | |||||
* | cmTarget: Move member method `ProcessSourceItemCMP0049()` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -7/+10 |
| | |||||
* | cmTarget: Move member booleans to impl | Sebastian Holtermann | 2019-03-23 | 1 | -16/+53 |
| | |||||
* | cmTarget: Move member `*Commands` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -0/+34 |
| | |||||
* | cmTarget: Move member `RuntimeInstallPath` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -0/+11 |
| | |||||
* | cmTarget: Move member `InstallPath` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -0/+11 |
| | |||||
* | cmTarget: Move member `Name` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -11/+17 |
| | |||||
* | cmTarget: Move member `TLLCommands` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -5/+7 |
| | |||||
* | cmTarget: Move member `Backtrace` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -2/+3 |
| | |||||
* | cmTarget: Move member `PolicyMap` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -2/+14 |
| | |||||
* | cmTarget: Move member `OriginalLinkLibraries` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -1/+8 |
| | |||||
* | cmTarget: Move member `Utilities` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -5/+11 |
| | |||||
* | cmTarget: Move member `SystemIncludeDirectories` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -2/+8 |
| | |||||
* | cmTarget: Move member `Properties` to impl class | Sebastian Holtermann | 2019-03-23 | 1 | -3/+10 |
| | |||||
* | cmTarget: Move member `Makefile` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -77/+80 |
| | |||||
* | cmTarget: Move member `TargetType` to impl | Sebastian Holtermann | 2019-03-23 | 1 | -13/+19 |
| | |||||
* | cmTarget: Rename member `Internal` to `impl` | Sebastian Holtermann | 2019-03-23 | 1 | -129/+123 |
| | |||||
* | Merge topic 'cmTarget_micro_fixes' | Brad King | 2019-03-22 | 1 | -57/+34 |
|\ | | | | | | | | | | | | | | | 965da8d787 cmTarget: Acquire data only when needed 03d17a35b5 cmTarget: Use helper function to append to lists Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3135 | ||||
| * | cmTarget: Acquire data only when needed | Sebastian Holtermann | 2019-03-21 | 1 | -4/+3 |
| | | |||||
| * | cmTarget: Use helper function to append to lists | Sebastian Holtermann | 2019-03-21 | 1 | -53/+31 |
| | | |||||
* | | Xcode: Create Xcode schemes per target | Harry Mallon | 2019-03-21 | 1 | -0/+1 |
|/ | |||||
* | cmRange: Move to dedicated header file | Regina Pfeifer | 2019-02-21 | 1 | -0/+1 |
| | |||||
* | Modernize: C-arrays and loops over them | Artur Ryt | 2019-02-15 | 1 | -5/+6 |
| | | | | | It replaces C arrays with deduced std::initializer_lists or std::array what makes enables for-loop over them. | ||||
* | Modernize: Use ranged for-loops when possible | Artur Ryt | 2019-02-07 | 1 | -4/+2 |
| | | | | | | | Replaced most manual `const_iterator`-based loops and some reverse-iterator loops with range loops. Fixes: #18858 | ||||
* | cmOutputConverter: move ConvertToRelativePath to cmStateDirectory. | Bruno Manganelli | 2019-01-27 | 1 | -3/+3 |
| | |||||
* | Merge topic 'autogen_mocs_compilation_first' | Brad King | 2019-01-21 | 1 | -3/+9 |
|\ | | | | | | | | | | | | | | | | | 1ed4d48dcf Autogen: Prepend instead of append `mocs_compilation.cpp` to the sources list a42b700cc2 cmTarget,cmGeneratorTarget: Add optional `before` parameter to AddSource Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Peter Wu <peter@lekensteyn.nl> Merge-request: !2815 | ||||
| * | cmTarget,cmGeneratorTarget: Add optional `before` parameter to AddSource | Sebastian Holtermann | 2019-01-18 | 1 | -3/+9 |
| | | | | | | | | | | | | The new optional `before` parameter in `cmTarget::AddSource` and `cmGeneratorTarget::AddSource` allows to prepend a source file to the sources list instead of appending it. | ||||
* | | clang-tidy: Use emplace | Regina Pfeifer | 2019-01-17 | 1 | -17/+17 |
|/ | |||||
* | Factor out enum MessageType into dedicated header | Bruno Manganelli | 2019-01-16 | 1 | -23/+24 |
| | | | | Reduce the number of files relying on `cmake.h`. | ||||
* | cmTarget: Remove unused classes cmTargetSet and cmTargetManifest | Artur Ryt | 2018-12-06 | 1 | -1/+0 |
| | |||||
* | Using front() and back() instead of calculations | Cengizhan Pasaoglu | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS support | Sebastian Holtermann | 2018-11-03 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | This adds - the variable ``CMAKE_AUTOGEN_ORIGIN_DEPENDS`` which initializes - the target property ``AUTOGEN_ORIGIN_DEPENDS`` which controls whether or not the origin target dependencies should be forwarded to the corresponding ``_autogen`` target. The default value of ``CMAKE_AUTOGEN_ORIGIN_DEPENDS`` is ``ON`` which corresponds to the behavior that is in place since CMake 3.9. Closes: #18493 | ||||
* | RPATH: Add option for using $ORIGIN in build tree | Peter Wu | 2018-10-26 | 1 | -0/+1 |
| | | | | | | | | | This makes binaries independent of the build directory by not embedding the build directory via RPATH. The tests are partially based on the existing RuntimePath test, but with the check moved into a POST_BUILD command such that it can be skipped when the platform lacks support. Fixes: #18413 | ||||
* | add_dependencies: Track backtraces internally | Brad King | 2018-10-18 | 1 | -17/+3 |
| | | | | | Record backtraces for "utility" dependencies created by `add_dependencies` calls. | ||||
* | Merge topic 'vs-global-props-for-all-targets' | Brad King | 2018-09-28 | 1 | -0/+25 |
|\ | | | | | | | | | | | | | | | 36489b85aa VS: Add test for CMAKE_VS_GLOBALS 22e670a306 VS: Add option to set VS_GLOBAL_* for all targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2345 | ||||
| * | VS: Add option to set VS_GLOBAL_* for all targets | Mikhail Korolev | 2018-09-25 | 1 | -0/+25 |
| | | | | | | | | Fixes: #18287 | ||||
* | | LINK_DIRECTORIES: Add new properties and commands | Marc Chevrier | 2018-09-25 | 1 | -13/+66 |
| | | | | | | | | | | | | | | | | | | | | | | | | These new capabilities enable to manage link directories Two new properties: * target properties: LINK_DIRECTORIES and INTERFACE_LINK_DIRECTORIES One new command * target_link_directories(): to populate target properties Fixes: #17215 | ||||
* | | Refactoring: introduce function to check if a string is a generator expression | Marc Chevrier | 2018-09-25 | 1 | -3/+1 |
|/ | |||||
* | Merge topic 'getsafedef-stdstring' | Brad King | 2018-09-18 | 1 | -4/+2 |
|\ | | | | | | | | | | | | | f4ff60a803 cmMakefile: Make GetSafeDefinition return std::string const& Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2350 |