Skip to content
Snippets Groups Projects
  1. Jan 09, 2025
  2. Dec 05, 2024
  3. Nov 12, 2024
  4. Oct 14, 2024
  5. Oct 01, 2024
  6. Aug 28, 2024
    • Robert Schmidt's avatar
      Avoid complete rebuild on cmake run with git info change · 8bffd166
      Robert Schmidt authored
      Before this commit, the following will trigger a complete rebuild:
      
      - create another git name (git checkout -b test)
      - run cmake again manually (cmake ..)
      - run ninja again
      
      The top-level CMakeLists.txt uses add_definitions() to add git
      information to all targets; if some git information changes, this will
      mark all command lines as dirty, triggering the build.
      
      There is an easy solution: instead of passing this information on the
      command line, pass it in a header. This commit uses configure_file() to
      generate a file oai_version.h in the build directory with the same
      information. Various sources files, e.g., main executables, use this to
      output the same information as before. It is then also not necessary to
      use header guards, as cmake takes care to create this file.
      
      If cmake is re-run, it will update the header, and trigger only files
      including this header will be rebuilt (which can be shown with the above
      stpes). The information passed is the same as before, and updates the
      information when the old method would have updated it.
      8bffd166
  7. Nov 28, 2023
  8. Nov 10, 2023
  9. Oct 14, 2023
  10. Aug 24, 2023
  11. Mar 07, 2023
  12. Mar 06, 2023
    • Robert Schmidt's avatar
      Link targets that need RRC ASN.1 headers to header-only library · 3b7d6377
      Robert Schmidt authored
      Most targets don't need the symbols from the compiled RRC ASN.1
      libraries, but only the headers. In particular when compiling individual
      libraries (e.g., for tests), linking the full library makes the RRC
      ASN.1 libraries compile and link, when they are not needed (only headers
      are needed).
      
      For libraries that can do without these headers, don't link them.
      3b7d6377
  13. Feb 21, 2023
    • Robert Schmidt's avatar
      Update for webserver; cleanup in CMakeLists.txt · 9a0dd7c1
      Robert Schmidt authored
      - Add oai header to typescript and html sources, add support to commands
        requiring two parameters, add more helpfiles
      - Fix help bug (html comments not removed from tooltips)
      - Fix backend build problem and 2 warnings
      - Correctly initialize variables in nr_phy_scope.c
      - Use add_subdirectory for websrv cmake build
      - correctly link to asn1_lte_rrc and asn1_nr_rrc
      - fix bug: correctly recognize npm packet
      - only configure targets if explicitly asked for by users
      - use add_subdirectory
      - Use add_subdirectory for telnet cmake build
      - Minor cleanup in build_oai
      - Move softscope build in dedicated CMakeLists, and comment out
        DEBUG_MAC_INTERFACE option (not found in code)
      - Make DEBUG_ASN1 a cmake only option ( no C macro) as it's not used as
        a C macro in the code, and develop align
      9a0dd7c1
  14. Feb 10, 2023
  15. Nov 30, 2022
Loading