Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Autogen: Restore mocs_compilation in OBJECT libraries | Brad King | 2021-04-20 | 1 | -0/+6 |
| | | | | | | | | | Since commit f65f20938c (Autogen: Avoid processing CSharp targets, 2020-11-12, v3.20.0-rc1~301^2) we collect all sources for a target earlier than previously. Clear the sources cache so that it will be re-computed later after AUTOGEN processing. Fixes: #22085 | ||||
* | Unity: Proper handling of object libraries | Cristian Adam | 2019-12-07 | 1 | -0/+6 |
| | | | | Fixes: #20051 | ||||
* | cmake: Display error if generate step fails | Kyle Edwards | 2019-05-13 | 1 | -1/+3 |
| | |||||
* | Diagnose object library self-reference | Brad King | 2017-07-14 | 1 | -0/+5 |
The code add_library(A OBJECT a.c) target_sources(A PRIVATE $<TARGET_OBJECTS:A>) used to crash CMake via infinite recursion while evaluating the generator expression. Then the change in commit v3.9.0-rc1~266^2~1 (cmGeneratorTarget: Replace source classifier implementation, 2017-04-07) avoided the infinite recursion because GetKindedSources now creates a map entry and initializes it once. If it is called again on the same target during that initialization, the partially computed results are returned. This is still wrong but does not crash. Detect and diagnose this case instead. Co-Author: Ben Boeckel <ben.boeckel@kitware.com> Fixes: #16578 |