db2d4c97e8
Uses the 'install' command in cmake to install scripting modules/files (such as _obspython.so, obslua.so, and obspython.py), and changes the install location of those files on all operating systems. If using a non-unix structure install, those files will be installed in data/obs-scripting/[32bit/64bit], otherwise with unix structure installs those files will be installed to [/usr/local/lib]/obs-scripting.
24 lines
354 B
C
24 lines
354 B
C
#pragma once
|
|
|
|
#ifndef TRUE
|
|
#define TRUE 1
|
|
#endif
|
|
|
|
#ifndef ON
|
|
#define ON 1
|
|
#endif
|
|
|
|
#ifndef FALSE
|
|
#define FALSE 0
|
|
#endif
|
|
|
|
#ifndef OFF
|
|
#define OFF 0
|
|
#endif
|
|
|
|
#define SCRIPT_DIR "@OBS_SCRIPT_PLUGIN_PATH@"
|
|
#define PYTHON_LIB "@PYTHON_LIB@"
|
|
#define COMPILE_LUA @LUAJIT_FOUND@
|
|
#define COMPILE_PYTHON @PYTHON_FOUND@
|
|
#define UI_ENABLED @UI_ENABLED@
|