One click compilation for Win DLL & EXE

This commit is contained in:
Elad Salomons
2015-06-13 00:32:26 +03:00
parent 40cbb5f95e
commit 2c81796f71
5 changed files with 32 additions and 39 deletions

View File

@@ -22,6 +22,16 @@
#define EN_API_FLOAT_TYPE float
#endif
// --- define WINDOWS
#undef WINDOWS
#ifdef _WIN32
#define WINDOWS
#endif
#ifdef __WIN32__
#define WINDOWS
#endif
// --- define DLLEXPORT
#ifndef DLLEXPORT
#ifdef WINDOWS
#ifdef __cplusplus