mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 09:39:15 +00:00
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 |
||
---|---|---|
.. | ||
aja | ||
coreaudio-encoder | ||
decklink | ||
enc-amf@8823c236b4 | ||
image-source | ||
linux-alsa | ||
linux-capture | ||
linux-jack | ||
linux-pipewire | ||
linux-pulseaudio | ||
linux-v4l2 | ||
mac-avcapture | ||
mac-capture | ||
mac-syphon | ||
mac-videotoolbox | ||
mac-virtualcam | ||
obs-browser@995ad53cf3 | ||
obs-ffmpeg | ||
obs-filters | ||
obs-libfdk | ||
obs-outputs | ||
obs-qsv11 | ||
obs-text | ||
obs-transitions | ||
obs-vst | ||
obs-websocket@57a9c19f2c | ||
obs-x264 | ||
oss-audio | ||
rtmp-services | ||
sndio | ||
text-freetype2 | ||
vlc-video | ||
win-capture | ||
win-dshow | ||
win-wasapi | ||
CMakeLists.txt |