Merge pull request #34 from n00b87/win_dev_setup

Windows Development Environment Setup
This commit is contained in:
Rodney Cunningham
2024-12-18 18:32:27 -05:00
committed by GitHub
11 changed files with 4623 additions and 2 deletions

View File

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="rcbasic_build" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/rcbasic_build" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="1" />
<Option compiler="mingw32" />
<Compiler>
<Add option="-g" />
<Add directory="../../SDL2-dev/i686-w64-mingw32/include" />
</Compiler>
<Linker>
<Add option="-lmingw32 -lSDL2main -lSDL2" />
<Add directory="../../SDL2-dev/i686-w64-mingw32/lib" />
</Linker>
</Target>
<Target title="Release">
<Option output="bin/Release/rcbasic_build" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
<Option compiler="mingw32" />
<Compiler>
<Add option="-O2" />
<Add directory="../../SDL2-dev/i686-w64-mingw32/include" />
</Compiler>
<Linker>
<Add option="-s" />
<Add option="-lmingw32 -lSDL2main -lSDL2" />
<Add directory="../../SDL2-dev/i686-w64-mingw32/lib" />
</Linker>
</Target>
<Target title="Release64">
<Option output="bin/Release64/rcbasic_build" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release64/" />
<Option type="1" />
<Option compiler="mingw64" />
<Compiler>
<Add option="-O2" />
<Add directory="../../SDL2-dev/x86_64-w64-mingw32/include" />
</Compiler>
<Linker>
<Add option="-s" />
<Add option="-lmingw32 -lSDL2main -lSDL2" />
<Add directory="../../SDL2-dev/x86_64-w64-mingw32/lib" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fexceptions" />
</Compiler>
<Unit filename="main.cpp" />
<Extensions />
</Project>
</CodeBlocks_project_file>

View File

@@ -0,0 +1,524 @@
# depslib dependency file v1.0
1734515750 source:c:\dev\rcbasic4\rcbasic_build\main.cpp
<iostream>
<stack>
<vector>
<fstream>
<stdio.h>
<string>
"tokenizer.h"
"parser.h"
"rc_builtin.h"
"rc_vm_asm.h"
"file_directory.h"
"env_resolve.h"
"identifier.h"
1734515750 c:\dev\rcbasic4\rcbasic_build\tokenizer.h
<iostream>
<string>
<cctype>
<vector>
<SDL2/SDL.h>
"rc_utility.h"
"rc_debug.h"
"keywords.h"
"constants.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl.h
"SDL_main.h"
"SDL_stdinc.h"
"SDL_assert.h"
"SDL_atomic.h"
"SDL_audio.h"
"SDL_clipboard.h"
"SDL_cpuinfo.h"
"SDL_endian.h"
"SDL_error.h"
"SDL_events.h"
"SDL_filesystem.h"
"SDL_gamecontroller.h"
"SDL_guid.h"
"SDL_haptic.h"
"SDL_hidapi.h"
"SDL_hints.h"
"SDL_joystick.h"
"SDL_loadso.h"
"SDL_log.h"
"SDL_messagebox.h"
"SDL_metal.h"
"SDL_mutex.h"
"SDL_power.h"
"SDL_render.h"
"SDL_rwops.h"
"SDL_sensor.h"
"SDL_shape.h"
"SDL_system.h"
"SDL_thread.h"
"SDL_timer.h"
"SDL_version.h"
"SDL_video.h"
"SDL_locale.h"
"SDL_misc.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_main.h
"SDL_stdinc.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_stdinc.h
"SDL_config.h"
<sys/types.h>
<stdio.h>
<stdlib.h>
<stddef.h>
<stdarg.h>
<stdlib.h>
<malloc.h>
<stddef.h>
<stdarg.h>
<memory.h>
<string.h>
<strings.h>
<wchar.h>
<inttypes.h>
<stdint.h>
<ctype.h>
<math.h>
<float.h>
<alloca.h>
<malloc.h>
<malloc.h>
<malloc.h>
<stdlib.h>
<sal.h>
"begin_code.h"
<stdlib.h>
<string.h>
<stdio.h>
"close_code.h"
1704143989 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_config.h
"SDL_platform.h"
"SDL_config_windows.h"
"SDL_config_winrt.h"
"SDL_config_wingdk.h"
"SDL_config_xbox.h"
"SDL_config_macosx.h"
"SDL_config_iphoneos.h"
"SDL_config_android.h"
"SDL_config_os2.h"
"SDL_config_emscripten.h"
"SDL_config_ngage.h"
"SDL_config_minimal.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_platform.h
<AvailabilityMacros.h>
<TargetConditionals.h>
<TargetConditionals.h>
<winapifamily.h>
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\begin_code.h
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\close_code.h
1716767039 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_config_windows.h
"SDL_platform.h"
<winsdkver.h>
<sdkddkver.h>
1704143989 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_config_winrt.h
"SDL_platform.h"
<sdkddkver.h>
1704143989 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_config_wingdk.h
"SDL_platform.h"
1704143989 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_config_xbox.h
"SDL_platform.h"
1704143989 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_config_macosx.h
"SDL_platform.h"
<AvailabilityMacros.h>
1704143989 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_config_iphoneos.h
"SDL_platform.h"
1704143989 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_config_android.h
"SDL_platform.h"
<stdarg.h>
1716868864 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_config_os2.h
"SDL_platform.h"
1704143989 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_config_emscripten.h
"SDL_platform.h"
1704143989 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_config_ngage.h
"SDL_platform.h"
1704143989 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_config_minimal.h
"SDL_platform.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_assert.h
"SDL_stdinc.h"
"begin_code.h"
<signal.h>
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_atomic.h
"SDL_stdinc.h"
"SDL_platform.h"
"begin_code.h"
<sys/cpuinline.h>
<mbarrier.h>
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_audio.h
"SDL_stdinc.h"
"SDL_error.h"
"SDL_endian.h"
"SDL_mutex.h"
"SDL_thread.h"
"SDL_rwops.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_error.h
"SDL_stdinc.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_endian.h
"SDL_stdinc.h"
<intrin.h>
<endian.h>
<endian.h>
<sys/endian.h>
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_mutex.h
"SDL_stdinc.h"
"SDL_error.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_thread.h
"SDL_stdinc.h"
"SDL_error.h"
"SDL_atomic.h"
"SDL_mutex.h"
<process.h>
<process.h>
<stdlib.h>
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_rwops.h
"SDL_stdinc.h"
"SDL_error.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_clipboard.h
"SDL_stdinc.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_cpuinfo.h
"SDL_stdinc.h"
<intrin.h>
<intrin.h>
<arm_neon.h>
<altivec.h>
<arm_neon.h>
<armintr.h>
<arm_neon.h>
<arm64intr.h>
<arm64_neon.h>
<mm3dnow.h>
<lsxintrin.h>
<lasxintrin.h>
<immintrin.h>
<mmintrin.h>
<xmmintrin.h>
<emmintrin.h>
<pmmintrin.h>
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_events.h
"SDL_stdinc.h"
"SDL_error.h"
"SDL_video.h"
"SDL_keyboard.h"
"SDL_mouse.h"
"SDL_joystick.h"
"SDL_gamecontroller.h"
"SDL_quit.h"
"SDL_gesture.h"
"SDL_touch.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_video.h
"SDL_stdinc.h"
"SDL_pixels.h"
"SDL_rect.h"
"SDL_surface.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_pixels.h
"SDL_stdinc.h"
"SDL_endian.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_rect.h
"SDL_stdinc.h"
"SDL_error.h"
"SDL_pixels.h"
"SDL_rwops.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_surface.h
"SDL_stdinc.h"
"SDL_pixels.h"
"SDL_rect.h"
"SDL_blendmode.h"
"SDL_rwops.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_blendmode.h
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_keyboard.h
"SDL_stdinc.h"
"SDL_error.h"
"SDL_keycode.h"
"SDL_video.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_keycode.h
"SDL_stdinc.h"
"SDL_scancode.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_scancode.h
"SDL_stdinc.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_mouse.h
"SDL_stdinc.h"
"SDL_error.h"
"SDL_video.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_joystick.h
"SDL_stdinc.h"
"SDL_error.h"
"SDL_guid.h"
"SDL_mutex.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_guid.h
"SDL_stdinc.h"
"SDL_error.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_gamecontroller.h
"SDL_stdinc.h"
"SDL_error.h"
"SDL_rwops.h"
"SDL_sensor.h"
"SDL_joystick.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_sensor.h
"SDL_stdinc.h"
"SDL_error.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_quit.h
"SDL_stdinc.h"
"SDL_error.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_gesture.h
"SDL_stdinc.h"
"SDL_error.h"
"SDL_video.h"
"SDL_touch.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_touch.h
"SDL_stdinc.h"
"SDL_error.h"
"SDL_video.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_filesystem.h
"SDL_stdinc.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_haptic.h
"SDL_stdinc.h"
"SDL_error.h"
"SDL_joystick.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_hidapi.h
"SDL_stdinc.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_hints.h
"SDL_stdinc.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_loadso.h
"SDL_stdinc.h"
"SDL_error.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_log.h
"SDL_stdinc.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_messagebox.h
"SDL_stdinc.h"
"SDL_video.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_metal.h
"SDL_video.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_power.h
"SDL_stdinc.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_render.h
"SDL_stdinc.h"
"SDL_rect.h"
"SDL_video.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_shape.h
"SDL_stdinc.h"
"SDL_pixels.h"
"SDL_rect.h"
"SDL_surface.h"
"SDL_video.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_system.h
"SDL_stdinc.h"
"SDL_keyboard.h"
"SDL_render.h"
"SDL_video.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_timer.h
"SDL_stdinc.h"
"SDL_error.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_version.h
"SDL_stdinc.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_locale.h
"SDL_stdinc.h"
"SDL_error.h"
"begin_code.h"
"close_code.h"
1733538930 c:\dev\sdl2-dev\i686-w64-mingw32\include\sdl2\sdl_misc.h
"SDL_stdinc.h"
"begin_code.h"
"close_code.h"
1734515750 c:\dev\rcbasic4\rcbasic_build\rc_utility.h
<fstream>
<sstream>
<ctype.h>
1734515750 c:\dev\rcbasic4\rcbasic_build\rc_debug.h
1734515750 c:\dev\rcbasic4\rcbasic_build\keywords.h
1734515750 c:\dev\rcbasic4\rcbasic_build\constants.h
<vector>
1734515750 c:\dev\rcbasic4\rcbasic_build\parser.h
"tokenizer.h"
"identifier.h"
"rc_global.h"
"constants.h"
<inttypes.h>
1734515750 c:\dev\rcbasic4\rcbasic_build\identifier.h
<inttypes.h>
<stack>
"rc_global.h"
"rc_utility.h"
"rc_debug.h"
1734515750 c:\dev\rcbasic4\rcbasic_build\rc_global.h
<inttypes.h>
1734515750 c:\dev\rcbasic4\rcbasic_build\rc_builtin.h
"identifier.h"
1734515750 c:\dev\rcbasic4\rcbasic_build\rc_vm_asm.h
<iostream>
<fstream>
<inttypes.h>
<vector>
<sstream>
<string>
<stdlib.h>
1734515750 c:\dev\rcbasic4\rcbasic_build\file_directory.h
<sys/stat.h>
<sys/types.h>
<unistd.h>
<dirent.h>
<stdlib.h>
<sys/param.h>
<tchar.h>
<windows.h>
<winbase.h>
1734515750 c:\dev\rcbasic4\rcbasic_build\env_resolve.h
<winbase.h>
<cstdlib>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_layout_file>
<FileVersion major="1" minor="0" />
<ActiveTarget name="Release64" />
<File name="main.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="28428" topLine="897" />
</Cursor>
</File>
</CodeBlocks_layout_file>