1 // psychlops_platform_selector.h
4 #define PSYCHLOPS_PLATFORM_OSX
7 #ifndef PSYCHLOPS_PLATFORM_WIN32GL
8 #define PSYCHLOPS_PLATFORM_WIN32GL
10 #ifdef PSYCHLOPS_PLATFORM_WIN32GL
11 #define PSYCHLOPS_PLATFORM_WIN32
16 #ifdef PSYCHLOPS_PLATFORM_WIN32
18 #ifdef PSYCHLOPS_MAIN_API_PLATFORM
19 #include "win32/psychlops_app_main_Win32.h"
22 #ifdef PSYCHLOPS_HID_API_PLATFORM
23 #include "win32/psychlops_io_API_Win32.h"
26 #ifdef PSYCHLOPS_APPSTATE_API_PLATFORM
27 #include "win32/psychlops_app_state_Win32.h"
30 #ifdef PSYCHLOPS_CLOCK_API_PLATFORM
31 #include "win32/psychlops_io_clock_Win32.h"
36 #ifdef PSYCHLOPS_PLATFORM_WIN32GL
38 #ifdef PSYCHLOPS_WINDOW_API_PLATFORM
39 #include "win32gl/psychlops_g_API_win32gl.h"
42 #ifdef PSYCHLOPS_SHADER_PLATFORM
44 #include "win32gl/extension/glew/glew.h"
45 #include "win32gl/psychlops_g_API_win32gl.h"
54 #ifdef PSYCHLOPS_PLATFORM_OSX
56 #ifdef PSYCHLOPS_MAIN_API_PLATFORM
57 #include "osx/psychlops_app_main_osx.h"
60 #ifdef PSYCHLOPS_APPSTATE_API_PLATFORM
61 #include "osx/psychlops_app_state_OSX.h"
64 #ifdef PSYCHLOPS_HID_API_PLATFORM
65 #include "osx/psychlops_io_API_OSX.h"
68 #ifdef PSYCHLOPS_CLOCK_API_PLATFORM
69 #include "osx/psychlops_io_clock_OSX.h"
72 #ifdef PSYCHLOPS_WINDOW_API_PLATFORM
73 #include "osx/psychlops_g_API_OSX.h"
76 #ifdef PSYCHLOPS_SHADER_PLATFORM
78 #include <OpenGL/gl.h>
81 #include "win32gl/extension/glew/glew.h"
84 #include "osx/psychlops_g_API_OSX.h"