Skip to content
Snippets Groups Projects
  1. Jul 27, 2021
  2. Jul 26, 2021
  3. Jul 25, 2021
  4. Jul 24, 2021
  5. Jul 23, 2021
    • Jörg Bornemann's avatar
      AutoGen: Fix needless compilation of mocs_compilation.cpp · 4bda0337
      Jörg Bornemann authored
      For an AUTOMOC'ed target foo, when depfiles are used, there are the
      following dependencies:
      
      foo_autogen -> foo_autogen/timestamp
      foo_autogen/mocs_compilation.cpp -> foo_autogen/timestamp
      
      The first is used to trigger AUTOGEN.
      The second erroneously triggers a recompilation of
      mocs_compilation.cpp when any source file of target foo is touched.
      
      Remove the latter dependency and replace it with an order-only
      dependency from foo_autogen/mocs_compilation.cpp to
      foo_autogen_timestamp_deps.
      
      That is achieved by making mocs_compilation.cpp or its
      per-configuration variants byproduct(s) of the timestamp file.
      
      Fixes: #22338
      4bda0337
    • Alexey Edelev's avatar
      AUTOUIC: Fix generating of dependency rules for UI header files · e5ec0e52
      Alexey Edelev authored
      We could not rely on .ui files when generating the ninja rules
      for the generated UI header files. .ui files might be added to the
      target sources but never processed by AUTOUIC afterward, since UI
      header files are never included in a source code. Instead of adding
      dependency rules based on the .ui files, this approach scans
      non-generated source files for includes of the UI header files,
      as AUTOUIC does. This gives the consistent set of UI header files
      at configure time, that could be used to generate byproducts rules
      for the AUTOUIC. Also, the path to the generated UI header file depends
      not on the .ui file location but on the include line is used in source
      files.
      
      Fixes: #16776
      e5ec0e52
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · f7a3031b
      Kitware Robot authored
      f7a3031b
  6. Jul 22, 2021
  7. Jul 21, 2021
    • Brad King's avatar
      Ninja Multi-Config: Restore TARGET_OBJECTS support in cross-configs · cb777dd8
      Brad King authored
      Since commit 2ae72ef7 (Xcode: Enable multi-arch TARGET_OBJECTS genex
      in [INTERFACE_]LINK_LIBRARIES, 2021-05-26, v3.21.0-rc1~126^2) the
      TARGET_OBJECTS genex, when referenced for linking, is now evaluated with
      EvaluateForBuildsystem enabled.  This causes the object file paths to be
      computed with a buildsystem-specific placeholder for the configuration.
      
      This is normally fine because the placeholder will be evaluated by the
      native buildsystem tool using the proper configuration.  However, the
      Ninja Multi-Config generator's `${CONFIGURATION}` placeholder may not
      have the correct value for cross-config object files.  Switch back to
      using the per-config location of each object file for this generator.
      
      Fixes: #22436
      cb777dd8
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · dee0b88e
      Kitware Robot authored
      dee0b88e
  8. Jul 20, 2021
  9. Jul 19, 2021
    • Alexey Edelev's avatar
      AUTOUIC: Fix cyclic dependency between generated UI headers and timestamp · 9cebdbec
      Alexey Edelev authored and Brad King's avatar Brad King committed
      Once the generated UI headers are created by UIC they also are involved
      into processing in next run on ninja.  Autogen adds `ui_*.h` files to
      the deps file `ui_*.h` and this cause timestamp start depend on `ui_*.h`.
      Meanwhile `ui_*.h` depend on timestamp because of the explicit rules
      added by commit 1265c65b (AUTOUIC: Collect ui header files for Ninja
      generator, 2021-02-18, v3.21.0-rc1~600^2).  Avoid adding `ui_*.h` to
      deps file at second ninja run.
      
      Fixes: #16776
      9cebdbec
    • Robert Maynard's avatar
      find_library: Infer library prefix and suffix when in script mode · aa3ab3eb
      Robert Maynard authored and Brad King's avatar Brad King committed
      This aligns `find_library` with the documentation that states it
      can be called from script mode. This is done by infering the
      proper prefix and suffix values when `find_library` is called
      when the `CMAKE_FIND_LIBRARY*` are not set. This also means that
      `find_library` won't produce obscure error messages about unset
      definitions.
      
      Fixes: #22027
      aa3ab3eb
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · fabbb69e
      Kitware Robot authored
      fabbb69e
  10. Jul 18, 2021
  11. Jul 17, 2021
  12. Jul 16, 2021
  13. Jul 15, 2021
  14. Jul 14, 2021
  15. Jul 13, 2021
Loading