summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Source: use std::string in place of const char*Vitaly Stakhovsky2020-01-291-4/+4
|
* add_custom_command: Fix dependency on macOS framework targetBrad King2020-01-241-1/+2
| | | | | | | | | When the `DEPENDS` option names a logical target name, convert to the "real" path of that target rather than any of the symlink-provided alternative file names. This makes the dependencies consistent with the outputs named by link rules producing the target artifacts. Fixes: #20264
* cmInstallGenerator: std::string paramsVitaly Stakhovsky2020-01-211-2/+2
| | | | | Several construction parameters converted to std::string Also made a few class members const
* cmInstall*Generator: std::string paramsVitaly Stakhovsky2020-01-211-9/+9
| | | | | Several construction parameters converted to std::string Also made a few class members const
* Merge topic 'multi-ninja-pch'Brad King2020-01-201-129/+136
|\ | | | | | | | | | | | | a55df20499 Multi-Ninja: Add precompile headers support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4201
| * Multi-Ninja: Add precompile headers supportCristian Adam2020-01-171-129/+136
| | | | | | | | Fixes: #19789
* | Merge topic 'realpath-cache'Brad King2020-01-201-2/+2
|\ \ | | | | | | | | | | | | | | | | | | 9d5a554cc9 cmGlobalGenerator: Add cache for realpath() results Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4220
| * | cmGlobalGenerator: Add cache for realpath() resultsTim Blechmann2020-01-161-2/+2
| | | | | | | | | | | | | | | Cache the results of `realpath()` system calls in `cmGlobalGenerator` to avoid repeating such calls for the same paths over and over.
* | | Merge topic 'acc-fix-in-source-depends-path'Brad King2020-01-201-2/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ba3a417dce Tests/CustomCommand: add a test for depending on a `./path` e23475dc73 Tests/CustomCommand: fix custom command line to actually make its output db4780d584 cmGeneratorTarget: search for relative paths to the binary directory ec479f101f cmLocalGenerator: collapse the path after construction fd0ba705ce add_custom_command: check if a relative path should be an in-source path fd84f510f8 cmLocalGenerator: simplify the current source dir query Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4195
| * | | cmLocalGenerator: collapse the path after constructionBen Boeckel2020-01-161-0/+2
| | | | | | | | | | | | | | | | | | | | The path may contain `..` or `.` components naïvely, so compute them out before letting the generator handle them.
| * | | add_custom_command: check if a relative path should be an in-source pathBen Boeckel2020-01-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This still is broken for dependencies on generated paths where they get generated to the source directory rather than the build directory however, but there's no way to determine that is the case. Fixes: #20194
| * | | cmLocalGenerator: simplify the current source dir queryBen Boeckel2020-01-161-2/+1
| | |/ | |/|
* | | Merge topic 'pch-msvc-no-path-repetition'Craig Scott2020-01-191-1/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 07fe1bcd4e PCH: No repeated path for internal generated PCH files (MSVC case) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4236
| * | PCH: No repeated path for internal generated PCH files (MSVC case)Cristian Adam2020-01-161-1/+2
| | | | | | | | | | | | Fixes: #19952
* | | Merge topic 'unity-lang-filename'Brad King2020-01-151-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | 274a6f3699 Unity Build: include language in generated source file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4223
| * | Unity Build: include language in generated source file nameCristian Adam2020-01-141-1/+1
| | | | | | | | | | | | Fixes: #20206
* | | cmMakefile: modernize memory managementMarc Chevrier2020-01-141-12/+6
| | |
* | | Merge topic 'objc-visibility-inlines'Brad King2020-01-131-4/+5
|\ \ \ | |/ / | | / | |/ |/| | | | | 7347e2f830 ObjC: Add VISIBLITY_INLINES_HIDDEN support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4199
| * ObjC: Add VISIBLITY_INLINES_HIDDEN supportCristian Adam2020-01-101-4/+5
| | | | | | | | Fixes: #20193
| * Merge topic 'unity-object-libraries' into release-3.16Brad King2019-12-091-6/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | fa93b4a59b Unity: Proper handling of object libraries 5ae07e7166 Unity: Generic source file handling for all generators f742f7ac1f Unity/PCH: Skip more target types when adding automatic sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4110
| * \ Merge topic 'pch-reuse-importlib' into release-3.16Brad King2019-12-091-1/+17
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 93becd61d1 PCH: Use the target's PREFIX for building the pdb file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4114
* | \ \ Merge topic 'add-header-cmext-algorithm'Brad King2019-12-181-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7d12609f0 Refactoring: use append functions from cmext/algorithm a38d04c076 Refactoring: introduce header cmext/algorithm with append functions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4131
| * | | | Refactoring: use append functions from cmext/algorithmMarc Chevrier2019-12-171-1/+2
| | | | |
* | | | | Merge topic 'stdstring-target'Brad King2019-12-171-3/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c34b4497f8 cmTarget: add std::string overloads Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4137
| * | | | | cmTarget: add std::string overloadsVitaly Stakhovsky2019-12-141-3/+2
| | | | | |
* | | | | | Merge topic 'fat-ios'Brad King2019-12-171-16/+34
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a9b41195d2 Handle multi-arch sysroots on Apple platforms 372c89ea38 Refactor -arch and -isysroot code usage 7a44e16d7f Refactor SDK name to path into a function 777d364913 Use xcrun instead of xcodebuild for resolving SDK path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4125
| * | | | | Handle multi-arch sysroots on Apple platformsTor Arne Vestbø2019-12-131-7/+24
| | | | | |
| * | | | | Refactor -arch and -isysroot code usageCristian Adam2019-12-111-13/+14
| | | | | |
* | | | | | Ninja: Add multi-config variantKyle Edwards2019-12-131-1/+8
| |/ / / / |/| | | | | | | | | | | | | | Co-Authored-by: vector-of-bool <vectorofbool@gmail.com>
* | | | | CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) supportRobert Maynard2019-12-101-6/+17
| | | | |
* | | | | Merge topic 'unity-object-libraries'Brad King2019-12-091-6/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fc99130752 Merge branch 'backport-unity-object-libraries' into unity-object-libraries fa93b4a59b Unity: Proper handling of object libraries 5ae07e7166 Unity: Generic source file handling for all generators f742f7ac1f Unity/PCH: Skip more target types when adding automatic sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4110
| * \ \ \ \ Merge branch 'backport-unity-object-libraries' into unity-object-librariesBrad King2019-12-081-6/+3
| |\ \ \ \ \ | | |/ / / / | |/| | | / | | | |_|/ | | |/| |
| | * | | Unity: Proper handling of object librariesCristian Adam2019-12-071-0/+2
| | | | | | | | | | | | | | | | | | | | Fixes: #20051
| | * | | Unity: Generic source file handling for all generatorsCristian Adam2019-12-071-6/+1
| | | | |
* | | | | Merge topic 'pch-reuse-importlib'Brad King2019-12-091-1/+17
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | | | | | | | | 93becd61d1 PCH: Use the target's PREFIX for building the pdb file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4114
| * | | PCH: Use the target's PREFIX for building the pdb file nameCristian Adam2019-12-081-1/+17
| |/ / | | | | | | | | | | | | | | | | | | | | | Also copy the REUSE_FROM pdb file only if the file is newer than the existing one. Fixes: #19731 Fixes: #20068
* | | Merge topic 'delay-custom-command-creation'Brad King2019-12-041-13/+335
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 777ceaea94 cmMakefile: Delay custom command creation 4e37508c85 cmLocalGenerator: Refactor to use cmMakeSingleCommandLine 96e5042e46 cmCustomCommand: Explicitly pass backtrace on construction 3dc084ebc1 cmMakefile: Explicitly pass backtrace to GetCustomCommandTarget e8360afbf7 cmPluginAPI: Correct typo in documentation of FinalPass bf76a6b801 cmMakefile: Delay CheckTargetProperties and FinalPass to generate time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3865
| * | | cmMakefile: Delay custom command creationDaniel Eiband2019-11-241-6/+332
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move custom command creation to cmLocalGenerator and dispatch custom commands in cmMakefile to generate time. Generators add custom commands using the new methods provided by cmLocalGenerator. Issue: #12877
| * | | cmLocalGenerator: Refactor to use cmMakeSingleCommandLineDaniel Eiband2019-11-241-7/+3
| | | |
* | | | Merge topic 'unity-no-duplicate-path'Brad King2019-11-261-13/+16
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | 43ffd2c35c Unity: No repeated path for internal generated unity files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4077
| * | Unity: No repeated path for internal generated unity filesCristian Adam2019-11-251-13/+16
| |/ | | | | | | Fixes: #20002
* | Merge topic 'objc-standard-fix'Brad King2019-11-151-14/+29
|\ \ | |/ | | | | | | | | | | | | 6a818b6931 ObjC: Proper initialization of ObjC/XX standard properties Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !4050
| * ObjC: Proper initialization of ObjC/XX standard propertiesCristian Adam2019-11-141-14/+29
| | | | | | | | | | | | | | | | Fix logic added by commit 81566557d5 (ObjC: Initialize ObjC/XX standard properties from C/C++ counterparts, 2019-11-09) to account for cases when the CXX standard is not explicitly set. Also, do not copy the `*_STANDARD_REQUIRED` and `*_EXTENSIONS` properties unless we copied the `*_STANDARD` property.
* | Merge topic 'objc-standard'Brad King2019-11-131-0/+29
|\ \ | |/ | | | | | | | | | | 81566557d5 ObjC: Initialize ObjC/XX standard properties from C/C++ counterparts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4022
| * ObjC: Initialize ObjC/XX standard properties from C/C++ counterpartsCristian Adam2019-11-121-0/+29
| | | | | | | | Fixes: #19937
| * Merge topic 'unity-HEADER_FILE_ONLY' into release-3.16Brad King2019-11-121-3/+3
| |\ | | | | | | | | | | | | | | | | | | 9a5418320e Unity: Don't include sources with HEADER_FILE_ONLY property set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4023
| * \ Merge topic 'resolve-full-path-at-generate-time' into release-3.16Brad King2019-11-121-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48d1456b3d UnityBuild: Resolve full paths of unity source includes ec2f130aa9 cmFileAPI: Resolve full path in PCH source comparison Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4029
* | \ \ Merge topic 'modernize-memory-management'Brad King2019-11-121-33/+33
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f93385283f cmLocalGenerator: modernize memory management 101b5288ff cmAlgorithm: Extend cmAppend capabilities Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4028
| * | | | cmLocalGenerator: modernize memory managementMarc Chevrier2019-11-111-33/+33
| | | | |
* | | | | Merge topic 'unity-HEADER_FILE_ONLY'Brad King2019-11-121-3/+3
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 9a5418320e Unity: Don't include sources with HEADER_FILE_ONLY property set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4023