From 18b1ca287e9994ef6ca584576058ab603eccee9d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 25 Sep 2019 22:43:06 +0200 Subject: [PATCH] - moved the platform specific files out of the Build folder, mainly to get them out of the way. --- source/CMakeLists.txt | 8 ++++---- source/{build/src => platform/gtk}/dynamicgtk.cpp | 0 source/{build/src => platform/gtk}/gtkbits.cpp | 0 source/{build/include => platform/gtk}/gtkbits.h | 0 source/{build/include => platform/gtk}/gtkpixdata.h | 0 source/{build/include => platform/gtk}/gtkpixdata_shim.h | 0 source/{build/src => platform/macos}/SDLMain.mm | 0 source/{build/include => platform/macos}/osxbits.h | 0 source/{build/src => platform/macos}/osxbits.mm | 0 source/{build/include => platform/macos}/osxmain.h | 0 10 files changed, 4 insertions(+), 4 deletions(-) rename source/{build/src => platform/gtk}/dynamicgtk.cpp (100%) rename source/{build/src => platform/gtk}/gtkbits.cpp (100%) rename source/{build/include => platform/gtk}/gtkbits.h (100%) rename source/{build/include => platform/gtk}/gtkpixdata.h (100%) rename source/{build/include => platform/gtk}/gtkpixdata_shim.h (100%) rename source/{build/src => platform/macos}/SDLMain.mm (100%) rename source/{build/include => platform/macos}/osxbits.h (100%) rename source/{build/src => platform/macos}/osxbits.mm (100%) rename source/{build/include => platform/macos}/osxmain.h (100%) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 43e4011a8..0f318db90 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -559,13 +559,13 @@ set( PLAT_SDL_SOURCES ) set( PLAT_UNIX_SOURCES - build/src/dynamicgtk.cpp - build/src/gtkbits.cpp + platform/gtk/dynamicgtk.cpp + platform/gtk/gtkbits.cpp ) set( PLAT_OSX_SOURCES - build/src/SDLMain.mm - build/src/osxbits.mm + platform/macos/SDLMain.mm + platform/macos/osxbits.mm ) set( PLAT_COCOA_SOURCES diff --git a/source/build/src/dynamicgtk.cpp b/source/platform/gtk/dynamicgtk.cpp similarity index 100% rename from source/build/src/dynamicgtk.cpp rename to source/platform/gtk/dynamicgtk.cpp diff --git a/source/build/src/gtkbits.cpp b/source/platform/gtk/gtkbits.cpp similarity index 100% rename from source/build/src/gtkbits.cpp rename to source/platform/gtk/gtkbits.cpp diff --git a/source/build/include/gtkbits.h b/source/platform/gtk/gtkbits.h similarity index 100% rename from source/build/include/gtkbits.h rename to source/platform/gtk/gtkbits.h diff --git a/source/build/include/gtkpixdata.h b/source/platform/gtk/gtkpixdata.h similarity index 100% rename from source/build/include/gtkpixdata.h rename to source/platform/gtk/gtkpixdata.h diff --git a/source/build/include/gtkpixdata_shim.h b/source/platform/gtk/gtkpixdata_shim.h similarity index 100% rename from source/build/include/gtkpixdata_shim.h rename to source/platform/gtk/gtkpixdata_shim.h diff --git a/source/build/src/SDLMain.mm b/source/platform/macos/SDLMain.mm similarity index 100% rename from source/build/src/SDLMain.mm rename to source/platform/macos/SDLMain.mm diff --git a/source/build/include/osxbits.h b/source/platform/macos/osxbits.h similarity index 100% rename from source/build/include/osxbits.h rename to source/platform/macos/osxbits.h diff --git a/source/build/src/osxbits.mm b/source/platform/macos/osxbits.mm similarity index 100% rename from source/build/src/osxbits.mm rename to source/platform/macos/osxbits.mm diff --git a/source/build/include/osxmain.h b/source/platform/macos/osxmain.h similarity index 100% rename from source/build/include/osxmain.h rename to source/platform/macos/osxmain.h