Skip to content
Snippets Groups Projects
  1. Mar 23, 2023
  2. Mar 21, 2023
  3. Mar 20, 2023
  4. Mar 16, 2023
    • Martin Christoph Hierholzer's avatar
      Merge pull request #286 from ChimeraTK/update-project-template · adcb1fd0
      Martin Christoph Hierholzer authored
      Wip/11221 modernize cmake (#25)
      adcb1fd0
    • Martin Christoph Hierholzer's avatar
    • Dietrich Rothe's avatar
      Wip/11221 modernize cmake (#25) · 4d87627e
      Dietrich Rothe authored
      This provides ChimeraTK::<project-name> as cmake imported target.
      Variables <project_name>_INCLUDE_DIRS, <project_name>LIBRARY_DIRS, <project_name>_LIBRARIES, <project_name>_CXX_FLAGS, <project_name>_LINKER_FLAGS are provided for compatibility but are generated from cmake-exports where possible and cmake imported targets should be preferred.
      
      * provide function for option array conversion
      to be used with target_compile_options etc + FindPackage results, where
      findPackage results are of incorrect/old format
      
      * FindDOOCS:
       - DOOCS components as imported targets
       - clean up no longer needed tweaks
       - add timinglib as component
       - make use of log levels and respect QUIET argument
      
      * add_dependency: fail on wrong add_dependency usage
      this was unseen since it worked in most cases but in general does not
      in particular was causing trouble with imports from cppext
      second arg must be version number
      
      * pkgconfig exports
       - generated from cmake-exports
       - make linker flags come before libs, order is required e.g. for --no-as-needed flag
       - remove duplicates in output
      
      * FindGccAtomic
      - do not put absolute lib path in output since it was causing trouble with yocto builds. Should be in system lib
      paths anyway. Also, make GccAtomic variable output name more consistent.
      4d87627e
  5. Mar 07, 2023
  6. Mar 06, 2023
    • Martin Killenberg's avatar
      project-template: add -fno-inline to tsan flags (#24) · 07a8fe4a
      Martin Killenberg authored
      This allows easier debugging as all lines can be reached. The tsan build uses
      "-o1" for performance reasons.
      For asan and Debug build we use "-o0", which includes this flag, and for the
      release builds we want as much optimisation we can get.
      07a8fe4a
  7. Mar 03, 2023
  8. Feb 22, 2023
  9. Feb 14, 2023
  10. Feb 08, 2023
  11. Feb 02, 2023
  12. Jan 26, 2023
  13. Jan 20, 2023
  14. Jan 19, 2023
  15. Jan 05, 2023
  16. Dec 20, 2022
  17. Dec 12, 2022
  18. Dec 08, 2022
Loading