Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apple text-based stubs: ensure runpath is correctly defined | Marc Chevrier | 2023-06-04 | 1 | -2/+17 |
| | | | | This is a complement to !8204. | ||||
* | CMake code rely on cmList class for CMake lists management (part. 2) | Marc Chevrier | 2023-04-29 | 1 | -18/+14 |
| | |||||
* | CMake code rely on cmList class for CMake lists management (part. 1) | Marc Chevrier | 2023-04-24 | 1 | -15/+16 |
| | |||||
* | Xcode: Fix missing Frameworks search paths | Marc Chevrier | 2023-03-06 | 1 | -13/+19 |
| | | | | Fixes: #24541 | ||||
* | Enhance support functions | Marc Chevrier | 2023-02-28 | 1 | -2/+2 |
| | | | | | * Avoid duplicate definiitions for IsExecutableWithExports, etc... * Add helper IsApple() | ||||
* | cmComputeLinkInformation: use characters where possible | Ben Boeckel | 2023-02-06 | 1 | -8/+8 |
| | |||||
* | cmComputeLinkInformation: combine string literals where possible | Ben Boeckel | 2023-02-06 | 1 | -23/+21 |
| | |||||
* | cmComputeLinkInformation: use `cmStrCat` where appropriate | Ben Boeckel | 2023-02-03 | 1 | -12/+14 |
| | |||||
* | Revise C++ coding style using clang-format-15 | Kitware Robot | 2023-01-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 15. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. Fixes: #24315 | ||||
* | cmValue: Use operator* explicitly to convert to std::string; avoid extra call | Vitaly Stakhovsky | 2023-01-16 | 1 | -5/+5 |
| | |||||
* | Code comments: Fix trivial typos | Craig Scott | 2022-12-17 | 1 | -1/+1 |
| | |||||
* | Genex LINK_LIBRARY: Add support for framework with postfix | Marc Chevrier | 2022-09-21 | 1 | -26/+22 |
| | |||||
* | Apple: Fix regression when linking a framework with postfix | Marc Chevrier | 2022-09-14 | 1 | -7/+5 |
| | | | | | | | Fix a regression caused by commit 40178f3c90 (cmGlobalGenerator: Add helper to split framework path, 2022-02-10, v3.24.0-rc1~661^2~1). Fixes: #23961 | ||||
* | genex-LINK_LIBRARY: ensure correct generation inside LINK_GROUP genex | Marc Chevrier | 2022-07-05 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | This fix ensures the following pattern is correctly handled: $<LINK_GROUP:group_feat,$<LINK_LIBRARY:lib_feat,mylib>> With: CMAKE_LINK_GROUP_USING_group_feat = "—START_GROUP" "—END_GROUP" CMAKE_LINK_LIBRARY_USING_lib_feat = "—PREFIX" "—LINK <LIBRARY>" "—SUFFIX" Before the fix, we get the following generation: —START_GROUP —PREFIX —LINK /path/to/mylib —END_GROUP —SUFFIX —END_GROUP and —SUFFIX are in the wrong order After the fix, we get the correct order: —START_GROUP —PREFIX —LINK /path/to/mylib —SUFFIX —END_GROUP | ||||
* | Ensure targets which are frameworks can be used freely | Marc Chevrier | 2022-03-29 | 1 | -4/+10 |
| | | | | | | | Ensure flag -F/path/to/framework is specified during compilation step of consumers of the framework. Fixes: #23336 | ||||
* | genex-LINK_(LIBRARY|GROUP) features: update variables behavior | Marc Chevrier | 2022-03-25 | 1 | -2/+6 |
| | | | | | | | | Variable CMAKE_LINK_(LIBRARY|GROUP)_USING_<FEATURE>_SUPPORTED is evaluated only if CMAKE_<LANG>_LINK_(LIBRARY|GROUP)_USING_<FEATURE>_SUPPORTED is not defined. This new behavior enable to activate a feature globally on a platform and to disable it for some compilers and languages. | ||||
* | Genex-LINK_GROUP: Add possibility to group libraries at link step | Marc Chevrier | 2022-02-28 | 1 | -83/+201 |
| | | | | Fixes: #23121 | ||||
* | cmComputeDepends::LinkEntry: introduce enum to specify item type | Marc Chevrier | 2022-02-25 | 1 | -2/+4 |
| | |||||
* | genex-LINK_LIBRARY: rename configuration variables | Marc Chevrier | 2022-02-16 | 1 | -2/+2 |
| | | | | | | To be more consistent between genex and variables as well as the forecomming LINK_GROUP genex, rename variable *_LINK_USING_<FEATURE>* in *_LINK_LIBRARY_USING_<FEATURE>* | ||||
* | GenEx/LINK_LIBRARY: Add features for framework support on Apple | Marc Chevrier | 2022-02-15 | 1 | -22/+65 |
| | |||||
* | cmGlobalGenerator: Add helper to split framework path | Marc Chevrier | 2022-02-13 | 1 | -6/+5 |
| | | | | | cmComputeLinkInformation and cmGlobalXCodeGenerator now rely on this method to handle framework paths. | ||||
* | $<LINK_LIBRARY>: Add LINK_LIBRARY_OVERRIDE target property | Marc Chevrier | 2022-02-08 | 1 | -6/+11 |
| | | | | | | To enable the management of incompatible $<LINK_LIBRARY> declarations, add LINK_LIBRARY_OVERRIDE and LINK_LIBRARY_OVERRIDE_<LIBRARY> target properties. | ||||
* | Genex: Add $<LINK_LIBRARY:...> | Marc Chevrier | 2022-02-07 | 1 | -25/+362 |
| | | | | | | | | This generator expression offers the capability, for the link step, to decorate libraries with prefix/suffix flags and/or adding any specific flag for each library. Fixes: #22812, #18751, #20078, #22703 | ||||
* | cmComputeLinkInformation: use cmComputeLinkDepends::LinkEntry | Marc Chevrier | 2022-02-06 | 1 | -44/+67 |
| | | | | | | In preparation of support of genex $<LINK_LIBRARY:...>, propagate cmComputeLinkDepends::LinkEntry instances to ensure to have, when needed, all attributes attached to the link item. | ||||
* | cmComputeLinkInformation: Add context to warning about linking a directory | Brad King | 2021-10-27 | 1 | -8/+9 |
| | |||||
* | Source: Fix clang -Wimplicit-fallthrough warnings | Sean McBride | 2021-09-28 | 1 | -1/+5 |
| | |||||
* | Rename cmProp in cmValue | Marc Chevrier | 2021-09-21 | 1 | -18/+19 |
| | |||||
* | Refactor: reduce cmToCStr usage | Marc Chevrier | 2021-08-19 | 1 | -5/+2 |
| | |||||
* | HIP: Add language to CMake | Robert Maynard | 2021-06-07 | 1 | -2/+2 |
| | |||||
* | OpenWatcom: Add infrastructure to link to object files | Brad King | 2021-05-29 | 1 | -8/+19 |
| | |||||
* | cmComputeLinkInformation: Improve type safety of item IsPath member | Brad King | 2021-05-29 | 1 | -12/+13 |
| | | | | Use an enum to avoid implicit conversions to bool. | ||||
* | Genex: Add TARGET_RUNTIME_DLLS genex | Kyle Edwards | 2021-02-24 | 1 | -0/+19 |
| | | | | Co-Authored-by: Brad King <brad.king@kitware.com> | ||||
* | Merge topic 'xcode-framework-path' | Brad King | 2021-02-04 | 1 | -3/+9 |
|\ | | | | | | | | | | | | | | | | | 5389bb4274 Xcode: Don't hard-code SDK-provided implicit framework search paths df08f8df30 cmComputeLinkInformation: Fix misspelt private variable name 375b307bae Apple: Fix linking to frameworks that do not exist until build time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5760 | ||||
| * | Xcode: Don't hard-code SDK-provided implicit framework search paths | Craig Scott | 2021-02-03 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | When a framework is linked to a target by its full path and that framework is located in one of the implicit framework search directories, CMake 3.18.5 and earlier discarded that path. ce2dee9e5ba (Xcode: Don't add framework as -framework argument in linker info list, 2020-09-28) introduced a regression which resulted in the framework path always being added to the search path even if it matched one of the implicit search paths. This broke the ability to do device and simulator builds from the same configured project. Fixes: #21678 | ||||
| * | cmComputeLinkInformation: Fix misspelt private variable name | Craig Scott | 2021-02-03 | 1 | -3/+3 |
| | | |||||
| * | Apple: Fix linking to frameworks that do not exist until build time | Brad King | 2021-02-02 | 1 | -12/+6 |
| | | | | | | | | Fixes: #21621 | ||||
* | | clang-tidy: fix `readability-make-member-function-const` warnings | Ben Boeckel | 2021-01-27 | 1 | -0/+3 |
| | | |||||
* | | Apple: Fix linking to frameworks that do not exist until build time | Brad King | 2020-12-21 | 1 | -12/+6 |
|/ | | | | Fixes: #21621 | ||||
* | Xcode: Don't add framework as -framework argument in linker info list | Gusts Kaksis | 2020-10-02 | 1 | -5/+11 |
| | |||||
* | cmMakefile::GetDefinition: return cmProp | Vitaly Stakhovsky | 2020-09-02 | 1 | -34/+32 |
| | |||||
* | Source: use cmNonempty() | Vitaly Stakhovsky | 2020-07-28 | 1 | -4/+3 |
| | |||||
* | cmIsOn: add overload accepting const std::string* | Vitaly Stakhovsky | 2020-07-14 | 1 | -2/+2 |
| | |||||
* | cmComputeLinkInformation: members use std:string arguments | Vitaly Stakhovsky | 2020-07-10 | 1 | -31/+30 |
| | |||||
* | Merge topic 'getdef-expand' | Brad King | 2020-06-02 | 1 | -24/+9 |
|\ | | | | | | | | | | | | | 7ed8c9ebe3 cmMakefile: add GetDefExpandList() that splits value into std::vector Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4819 | ||||
| * | cmMakefile: add GetDefExpandList() that splits value into std::vector | Vitaly Stakhovsky | 2020-05-30 | 1 | -24/+9 |
| | | | | | | | | Combines cmMakefile:GetDefinition() and cmExpandList() | ||||
* | | Single location for cmProp typedef | Vitaly Stakhovsky | 2020-06-01 | 1 | -0/+1 |
|/ | |||||
* | CUDA: Factor runtime library lookup into helper method | Brad King | 2020-05-22 | 1 | -27/+12 |
| | |||||
* | cmGeneratorTarget::GetProperty: return cmProp | Vitaly Stakhovsky | 2020-04-29 | 1 | -9/+8 |
| | |||||
* | Refactoring: add cm::contains to <cmext/algorithm> | Marc Chevrier | 2020-04-17 | 1 | -8/+8 |
| | |||||
* | cmComputeLinkInformation: reserve space in built-up string | Ben Boeckel | 2020-04-13 | 1 | -0/+1 |
| | | | | This should avoid any reallocations that would occur in this function. |