2013-07-17 09:55:20 -04:00
|
|
|
#ifndef _TARGETSXS_H_
|
|
|
|
#define _TARGETSXS_H_
|
|
|
|
|
2015-02-13 06:37:00 -05:00
|
|
|
#pragma warning( disable : 4244 4250 4275 4996 )
|
2013-07-17 09:55:20 -04:00
|
|
|
|
2013-08-04 10:36:07 -04:00
|
|
|
#ifndef LV2_SUPPORT
|
|
|
|
#define LV2_SUPPORT 1
|
|
|
|
#define HAVE_SUIL 1
|
|
|
|
#define HAVE_LV2 1
|
2013-07-17 09:55:20 -04:00
|
|
|
/* Comment out the above lines to build Mixbus without LV2 support */
|
|
|
|
#endif
|
|
|
|
|
2014-04-14 11:02:06 -04:00
|
|
|
#ifndef WINDOWS_VST_SUPPORT
|
|
|
|
#define WINDOWS_VST_SUPPORT
|
2013-07-17 09:55:20 -04:00
|
|
|
/* Comment out the above line to build Mixbus without VST support */
|
|
|
|
#endif
|
|
|
|
|
2020-09-22 07:21:20 -04:00
|
|
|
#if defined (WINDOWS_VST_SUPPORT) && !defined (VST3_SUPPORT)
|
|
|
|
#define VST3_SUPPORT
|
|
|
|
/* Comment out the above line to build Mixbus without VST3 support */
|
|
|
|
#endif
|
|
|
|
|
2018-09-10 02:14:59 -04:00
|
|
|
#ifndef PROGRAM_NAME
|
|
|
|
#ifdef MIXBUS
|
|
|
|
#define PROGRAM_NAME "Mixbus"
|
|
|
|
#else
|
|
|
|
#define PROGRAM_NAME "Ardour"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2018-02-15 04:03:32 -05:00
|
|
|
#ifndef CURRENT_SESSION_FILE_VERSION
|
|
|
|
#ifdef MIXBUS
|
2020-03-14 07:23:26 -04:00
|
|
|
#define CURRENT_SESSION_FILE_VERSION 6000
|
2018-09-11 13:50:07 -04:00
|
|
|
#else
|
2020-03-14 07:23:26 -04:00
|
|
|
#define CURRENT_SESSION_FILE_VERSION 6000
|
2018-02-15 04:03:32 -05:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2013-07-17 09:55:20 -04:00
|
|
|
#ifndef JACK_32_64
|
|
|
|
#define JACK_32_64
|
|
|
|
/* Shouldn't really be needed but make sure that any structs we
|
|
|
|
obtain from libjack will have 1-byte packing alignment where
|
|
|
|
necessary (belt & braces approach to be on the safe side) */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _DEBUG
|
|
|
|
#define _SECURE_SCL 1
|
|
|
|
#define _HAS_ITERATOR_DEBUGGING 1
|
|
|
|
/* #define to zero for a more conventional Debug build */
|
|
|
|
#endif
|
|
|
|
|
2014-03-18 13:32:39 -04:00
|
|
|
#if !defined(DEBUG) && !defined(NDEBUG)
|
|
|
|
/* Assume a debuggable Release build (RDC build) */
|
|
|
|
#define RDC_BUILD 1
|
|
|
|
#endif
|
|
|
|
|
2016-09-30 03:24:51 -04:00
|
|
|
#if (defined (_MSC_VER) && (_MSC_VER == 1400))
|
2013-07-17 09:55:20 -04:00
|
|
|
#ifndef __midl
|
|
|
|
#if defined(_DEBUG) || defined (DEBUG)
|
|
|
|
/* Experimental - link to the lowest DebugCRT so we can run on another system */
|
|
|
|
#define _SXS_ASSEMBLY_VERSION "8.0.50727.42"
|
|
|
|
#else
|
|
|
|
#define _SXS_ASSEMBLY_VERSION "8.0.50727.6195"
|
|
|
|
#endif
|
|
|
|
#define _CRT_ASSEMBLY_VERSION _SXS_ASSEMBLY_VERSION
|
|
|
|
#define _MFC_ASSEMBLY_VERSION _SXS_ASSEMBLY_VERSION
|
|
|
|
#define _ATL_ASSEMBLY_VERSION _SXS_ASSEMBLY_VERSION
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
__declspec(selectany) int _forceCRTManifest;
|
|
|
|
__declspec(selectany) int _forceMFCManifest;
|
|
|
|
__declspec(selectany) int _forceAtlDllManifest;
|
|
|
|
__declspec(selectany) int _forceCRTManifestRTM;
|
|
|
|
__declspec(selectany) int _forceMFCManifestRTM;
|
|
|
|
__declspec(selectany) int _forceAtlDllManifestRTM;
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
2016-09-30 03:24:51 -04:00
|
|
|
#endif
|
2013-07-17 09:55:20 -04:00
|
|
|
|
|
|
|
/* 'stdint.h' conflicts with various other libraries so
|
|
|
|
let's #include stdint.h first to ensure one consistent
|
|
|
|
implementation for commonly used integer types. */
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2015-11-23 11:28:43 -05:00
|
|
|
/* When building Gtkmm with Atkmm support, ALL modules need
|
|
|
|
to agree about the status of GTKMM_ATKMM_ENABLED. Otherwise
|
|
|
|
we end up with all manner of imexplicable run time crashes
|
|
|
|
and hangs (due to Gtk::Widget having different sizes in
|
|
|
|
different modules). GTKMM_ATKMM_ENABLED gets #defined in
|
|
|
|
'gtkmmconfig.h'. So let's #include that file here, where
|
|
|
|
we know it'll get #included for every compilation unit. */
|
|
|
|
#include <gtkmmconfig.h>
|
|
|
|
|
2013-07-17 09:55:20 -04:00
|
|
|
#if defined(_MSC_VER) && !defined(__MINGW__) && !defined(__MINGW32__)
|
2014-01-13 05:22:31 -05:00
|
|
|
/* Define these libraries as getting built as DLLs */
|
|
|
|
#define LIBAUDIOGRAPHER_DLL
|
|
|
|
#define LIBARDOUR_DLL
|
|
|
|
#define LIBMIDIPP_DLL
|
|
|
|
#define LIBPBD_DLL
|
|
|
|
#define LIBCONTROLCP_DLL
|
|
|
|
#define LIBGTKMM2EXT_DLL
|
|
|
|
#define LIBEVORAL_DLL
|
2014-01-13 09:27:56 -05:00
|
|
|
#define LIBTIMECODE_DLL
|
2014-01-13 05:22:31 -05:00
|
|
|
|
2013-07-20 03:30:40 -04:00
|
|
|
#if (INCLUDE_ARDOUR_MISCELLANEOUS)
|
2013-07-17 09:55:20 -04:00
|
|
|
#include <ardourext/misc.h>
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /*_TARGETSXS_H_*/
|