[mythtv-commits] [MythTV/mythtv] c4b62b: cmake: Fix test for whether or not a compiler opti...

David Hampton noreply at github.com
Mon Dec 30 19:08:25 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: c4b62b883352ec0e86223054b7d66f49dff361ff
      https://github.com/MythTV/mythtv/commit/c4b62b883352ec0e86223054b7d66f49dff361ff
  Author: David Hampton <mythtv at love2code.net>
  Date:   2024-12-30 (Mon, 30 Dec 2024)

  Changed paths:
    M cmake/SetCompilerOptions.cmake

  Log Message:
  -----------
  cmake: Fix test for whether or not a compiler option is supported.


  Commit: 09b0acb720391957135a3b03b12906ba0ad82027
      https://github.com/MythTV/mythtv/commit/09b0acb720391957135a3b03b12906ba0ad82027
  Author: David Hampton <mythtv at love2code.net>
  Date:   2024-12-30 (Mon, 30 Dec 2024)

  Changed paths:
    M cmake/SetCompilerOptions.cmake
    M mythtv/external/libmythdvdnav/CMakeLists.txt
    M mythtv/libs/libmythmpeg2/CMakeLists.txt

  Log Message:
  -----------
  cmake: Clean up compiler options.

1) Collapse all the gcc and clang compiler options into a single list,
since cmake can test to see if an options is supported.

2) Remove a number of the C compiler options now that the only C code
left in MythTV is two external libraries.


  Commit: f2b1aa4845108d26cfed14b55b1a5dd3948d388b
      https://github.com/MythTV/mythtv/commit/f2b1aa4845108d26cfed14b55b1a5dd3948d388b
  Author: David Hampton <mythtv at love2code.net>
  Date:   2024-12-30 (Mon, 30 Dec 2024)

  Changed paths:
    M README.CMake.md
    M cmake/SetCompilerOptions.cmake
    A cmake/SetCompilerOptionsFedora.cmake

  Log Message:
  -----------
  cmake: Add a custom build type with the Fedora rpm compilation options.

Configuring a cmake build with the -DCMAKE_BUILD_TYPE=Fedora argument
will add all the compile/link arguments used by the Fedora build
system to the already specified arguments, except for the one that
adds rpm build notes to the metadata of a linked executable.  This
build type should allow for easy testing of whether a compile by the
fedora build team will fail.


Compare: https://github.com/MythTV/mythtv/compare/2a8ab8f58e29...f2b1aa484510

To unsubscribe from these emails, change your notification settings at https://github.com/MythTV/mythtv/settings/notifications


More information about the mythtv-commits mailing list