libobs: Update CMakeLists.txt for libobs and associated libraries
Also updates libobs-opengl, libobs-d3d11, libobs-winrt
This commit is contained in:
@@ -24,16 +24,18 @@
|
||||
#define UNUSED_PARAMETER(param) (void)param
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define OBS_UNUSED
|
||||
#define OBS_DEPRECATED __declspec(deprecated)
|
||||
#define OBS_NORETURN __declspec(noreturn)
|
||||
#define FORCE_INLINE __forceinline
|
||||
#else
|
||||
#define OBS_UNUSED __attribute__((unused))
|
||||
#define OBS_DEPRECATED __attribute__((deprecated))
|
||||
#define OBS_NORETURN __attribute__((noreturn))
|
||||
#define FORCE_INLINE inline __attribute__((always_inline))
|
||||
#endif
|
||||
|
||||
#if defined(IS_LIBOBS) || defined(SWIG)
|
||||
#if defined(IS_LIBOBS) || defined(SWIG_TYPE_TABLE)
|
||||
#define OBS_EXTERNAL_DEPRECATED
|
||||
#else
|
||||
#define OBS_EXTERNAL_DEPRECATED OBS_DEPRECATED
|
||||
|
Reference in New Issue
Block a user