obs-studio/UI/cmake
PatTheMav 2966c4030e libobs: Use static library for version string information
Switching to a static library that contains version information as
const char strings has multiple benefits:

* The version information provided externally via compiler definitions
  will fail compilation early if malformed
* An updated version string (which will happen with every commit) will
  not invalidate existing compilation units, because only the static
  library is affected by the change
* An update of the version change just requires a recompilation of the
  static library and a linker update
* An update of the version will _not_ infect the rest of the codebase
  (as it does currently, because everything includes obsconfig.h one
  way or another)
* Other modules which used the macro definition directly have been
  updated as much as possible to use the proper getter method from
  `libobs` instead (some Windows-specific modules use preprocessor
  string composition, the value has been added as a compiler definition
  directly in those cases)
* Because the impact of a version change due to a commit hash change
  is limited to the static library, ccache hit rates should be
  improved considerably
2023-05-27 16:48:24 -07:00
..
linux cmake: Add changes for CMake build framework 3.0 2023-03-26 18:20:38 -04:00
macos Update copyrights/names 2023-05-20 01:31:18 -07:00
feature-browserpanels.cmake cmake: Add changes for CMake build framework 3.0 2023-03-26 18:20:38 -04:00
feature-importers.cmake cmake: Add changes for CMake build framework 3.0 2023-03-26 18:20:38 -04:00
feature-macos-update.cmake UI: Fix building macOS/Sparkle without Browser 2023-05-01 10:45:08 -04:00
feature-restream.cmake cmake: Add changes for CMake build framework 3.0 2023-03-26 18:20:38 -04:00
feature-sparkle.cmake UI: Fix building macOS/Sparkle without Browser 2023-05-01 10:45:08 -04:00
feature-twitch.cmake cmake: Add changes for CMake build framework 3.0 2023-03-26 18:20:38 -04:00
feature-whatsnew.cmake UI: Fix building macOS/Sparkle without Browser 2023-05-01 10:45:08 -04:00
feature-youtube.cmake cmake: Add changes for CMake build framework 3.0 2023-03-26 18:20:38 -04:00
legacy.cmake libobs: Use static library for version string information 2023-05-27 16:48:24 -07:00
os-freebsd.cmake cmake: Fix OBS_INSTALL_PREFIX 2023-03-27 15:30:05 +02:00
os-linux.cmake cmake: Fix OBS_INSTALL_PREFIX 2023-03-27 15:30:05 +02:00
os-macos.cmake CI: Fix build errors with Xcode 14.3 and platform SDK 13.3 2023-04-04 17:27:59 +00:00
os-windows.cmake libobs: Use static library for version string information 2023-05-27 16:48:24 -07:00
ui-elements.cmake cmake: Enable "sortable" flag in UI for large lists 2023-04-01 16:15:41 -07:00
ui-qt.cmake cmake: Add properties and log viewer UI files to sources list 2023-04-22 16:01:47 -07:00
ui-windows.cmake cmake: Enable "sortable" flag in UI for large lists 2023-04-01 16:15:41 -07:00