mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-30 23:33:02 +00:00
cc9d3486b2
With this, GCC 8 and above should now be able to compile the project both in obs-studio and as a standalone install. Some features are currently still not fully supported and require extra work, but the majority of things are supported and work out of the box. Exact feature parity can be looked up here on the wiki: https://github.com/Xaymar/obs-StreamFX/wiki/Platform-Feature-Parity Related: #119 #98 #30
24 lines
450 B
C++
24 lines
450 B
C++
#ifdef _MSC_VER
|
|
#pragma warning(push)
|
|
#pragma warning(disable : 4201)
|
|
#endif
|
|
#include <obs.h>
|
|
#include <obs-module.h>
|
|
#ifdef _MSC_VER
|
|
#pragma warning(pop)
|
|
#endif
|
|
|
|
OBS_DECLARE_MODULE()
|
|
OBS_MODULE_AUTHOR("@PROJECT_AUTHORS@")
|
|
OBS_MODULE_USE_DEFAULT_LOCALE("@PROJECT_NAME@", "en-US")
|
|
|
|
MODULE_EXPORT const char* obs_module_name()
|
|
{
|
|
return "@PROJECT_FULL_NAME@";
|
|
}
|
|
|
|
|
|
MODULE_EXPORT const char* obs_module_description()
|
|
{
|
|
return "@PROJECT_DESCRIPTION@";
|
|
}
|