From 8b00d67febf133e89f6a0bfabc41feed555dc4a9 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 12 Jan 2019 21:48:33 +0800 Subject: =?UTF-8?q?*=E5=8E=BB=E6=8E=89=E6=96=87=E4=BB=B6=E5=89=8D=E7=BC=80?= =?UTF-8?q?je=5F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/core/configuration.h | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/libjin/core/configuration.h (limited to 'src/libjin/core/configuration.h') diff --git a/src/libjin/core/configuration.h b/src/libjin/core/configuration.h new file mode 100644 index 0000000..40956b5 --- /dev/null +++ b/src/libjin/core/configuration.h @@ -0,0 +1,58 @@ +#ifndef __JE_COMMON_MODULES_H__ +#define __JE_COMMON_MODULES_H__ + +#define jin_undefined 0x00 + +/// +/// Debug output +/// +//#define jin_debug + +#define jin_os_windows 0x01 +#define jin_os_mac 0x02 +#define jin_os_linux 0x03 +#define jin_os jin_os_windows + +#define jin_graphics_font 0x02 +#define jin_graphics_shader 0x04 +#define jin_graphics_particle 0x08 +#define jin_graphics_animation 0x10 +#define jin_graphics (jin_graphics_font|jin_graphics_shader) + +#define jin_audio_sdl 0x01 +#define jin_audio_openal 0x02 +#define jin_audio jin_audio_sdl + +#define jin_filesystem_smount 0x01 +#define jin_filesystem jin_filesystem_smount + +#define jin_game + +#define jin_core + +#define jin_input_sdl 0x01 +#define jin_input jin_input_sdl + +#define jin_math + +#define jin_net_tekcos 0x01 +#define jin_net jin_net_tekcos + +#define jin_physics_newton 0x01 +#define jin_physics_box2d 0x02 +//#define jin_physics jin_physics_newton + +#define jin_thread_sdl 0x01 +#define jin_thread_cpp 0x02 +#define jin_thread_pthread 0x03 +#define jin_thread jin_thread_sdl + +#define jin_time_sdl 0x01 +#define jin_time_cpp 0x02 +#define jin_time jin_time_sdl + +#define jin_ai + +#define JIN_EXPORT __declspec(dllexport) + +#endif // __JE_COMMON_MODULES_H__ \ No newline at end of file -- cgit v1.1-26-g67d0