added windows build/release scripts

This commit is contained in:
Jesse Chappell
2022-04-14 16:31:54 -04:00
parent 60cada010f
commit 3ec2202c88
10 changed files with 970 additions and 12 deletions

View File

@ -17,6 +17,8 @@
*/
#include "globals.h"
#ifdef WINDOWS
#define NOMINMAX
#define NOGDI
#include <windows.h>
#include <winbase.h>
#else

View File

@ -139,7 +139,7 @@ public:
std::function<void(void)> EnabledChangedCallback;
private:
int doLayout(Rectangle<int> bounds); // returns min height
int doLayout(juce::Rectangle<int> bounds); // returns min height
//uptrvec<ParameterComponent> m_parcomps;
std::vector<ParameterComponent*> m_parcomps;

View File

@ -20,7 +20,7 @@ www.gnu.org/licenses
#include <set>
#include <thread>
#import "CrossPlatformUtils.h"
#include "CrossPlatformUtils.h"
#ifdef WIN32
#undef min

View File

@ -36,6 +36,8 @@
#ifndef WDL_HEAPBUF_IMPL_ONLY
#ifdef WDL_HEAPBUF_TRACE
#define NOGDI
#define NOMINMAX
#include <windows.h>
#define WDL_HEAPBUF_TRACEPARM(x) ,(x)
#else

View File

@ -30,6 +30,9 @@ typedef unsigned long long WDL_UINT64;
#ifdef _WIN32
// hacks so it builds with juce
#define NOGDI
#define NOMINMAX
#include <windows.h>
#else
#include <stdint.h>