24d1b29ab38fae6a503e4594766a632a3f2b45e2
[ardour.git] / msvc_extra_headers / ardourext / sys / targetsxs.h.input
1 #ifndef _TARGETSXS_H_
2 #define _TARGETSXS_H_
3
4 #pragma warning( disable : 4244 4250 4275 4996 )
5
6 #ifndef LV2_SUPPORT
7 #define LV2_SUPPORT   1
8 #define HAVE_SUIL     1
9 #define HAVE_LV2      1
10 #define HAVE_LV2_1_2_0 1
11 /* Comment out the above lines to build Mixbus without LV2 support */
12 #endif
13
14 #ifndef WINDOWS_VST_SUPPORT
15 #define WINDOWS_VST_SUPPORT
16 /* Comment out the above line to build Mixbus without VST support */
17 #endif
18
19 #ifndef JACK_32_64
20 #define JACK_32_64
21 /* Shouldn't really be needed but make sure that any structs we
22    obtain from libjack will have 1-byte packing alignment where
23    necessary (belt & braces approach to be on the safe side) */
24 #endif
25
26 #ifdef _DEBUG
27 #define _SECURE_SCL 1
28 #define _HAS_ITERATOR_DEBUGGING 1
29 /* #define to zero for a more conventional Debug build */
30 #endif
31
32 #if !defined(DEBUG) && !defined(NDEBUG)
33 /* Assume a debuggable Release build (RDC build) */
34 #define RDC_BUILD 1
35 #endif
36
37 #ifndef __midl
38 #if defined(_DEBUG) || defined (DEBUG)
39 /* Experimental - link to the lowest DebugCRT so we can run on another system */
40 #define _SXS_ASSEMBLY_VERSION "8.0.50727.42"
41 #else
42 #define _SXS_ASSEMBLY_VERSION "8.0.50727.6195"
43 #endif
44 #define _CRT_ASSEMBLY_VERSION _SXS_ASSEMBLY_VERSION
45 #define _MFC_ASSEMBLY_VERSION _SXS_ASSEMBLY_VERSION
46 #define _ATL_ASSEMBLY_VERSION _SXS_ASSEMBLY_VERSION
47
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 __declspec(selectany) int _forceCRTManifest;
52 __declspec(selectany) int _forceMFCManifest;
53 __declspec(selectany) int _forceAtlDllManifest;
54 __declspec(selectany) int _forceCRTManifestRTM;
55 __declspec(selectany) int _forceMFCManifestRTM;
56 __declspec(selectany) int _forceAtlDllManifestRTM;
57 #ifdef __cplusplus
58 }
59 #endif
60 #endif
61
62 /* 'stdint.h' conflicts with various other libraries so
63    let's #include stdint.h first to ensure one consistent
64    implementation for commonly used integer types. */
65 #include <stdint.h>
66
67 /* When building Gtkmm with Atkmm support, ALL modules need
68    to agree about the status of GTKMM_ATKMM_ENABLED. Otherwise
69    we end up with all manner of imexplicable run time crashes
70    and hangs (due to Gtk::Widget having different sizes in
71    different modules). GTKMM_ATKMM_ENABLED gets #defined in
72    'gtkmmconfig.h'. So let's #include that file here, where
73    we know it'll get #included for every compilation unit. */
74 #include <gtkmmconfig.h>
75
76 #if defined(_MSC_VER) && !defined(__MINGW__) && !defined(__MINGW32__)
77 /* Define these libraries as getting built as DLLs */
78 #define LIBAUDIOGRAPHER_DLL
79 #define LIBARDOUR_DLL
80 #define LIBMIDIPP_DLL
81 #define LIBPBD_DLL
82 #define LIBCONTROLCP_DLL
83 #define LIBGTKMM2EXT_DLL
84 #define LIBEVORAL_DLL
85 #define LIBTIMECODE_DLL
86
87 #if (INCLUDE_ARDOUR_MISCELLANEOUS)
88 #include <ardourext/misc.h>
89 #endif
90 #endif
91
92 #endif /*_TARGETSXS_H_*/