-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbtt_build.cpp
More file actions
32 lines (28 loc) · 660 Bytes
/
btt_build.cpp
File metadata and controls
32 lines (28 loc) · 660 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// btt_build.cpp -- BTT library build unit for JUCE/MSVC
// Copyright (c) 2021 Michael Krzyzaniak -- MIT License
//
// This is the ONLY file to add to your Projucer project for BTT.
// Same pattern as how JUCE internally includes sqlite3.
#ifdef _MSC_VER
#pragma warning(push, 0) // Suppress all warnings for third-party C code
#endif
// Undo any macros from JUCE/Windows PCH that clash with BTT identifiers
#ifdef real
#undef real
#endif
#ifdef imag
#undef imag
#endif
#ifdef small
#undef small
#endif
#ifdef near
#undef near
#endif
#ifdef far
#undef far
#endif
#include "btt_amalgamation.inc"
#ifdef _MSC_VER
#pragma warning(pop)
#endif