Remove SDL_main from VS Solutions in VisualC/ and VisualC-GDK/

and update README-visualc.md and README-gdk.md accordingly

Also moved src/main/windows/version.rc to src/core/windows/
and adjusted VS solutions, CMakeLists.txt and versioning scripts
in build-scripts/ accordingly.

This will eventually allow us to remove all of src/main/

# Conflicts:
#	VisualC/tests/testgesture/testgesture.vcxproj
This commit is contained in:
Daniel Gibson
2022-12-15 05:59:27 +01:00
committed by Sam Lantinga
parent 28b93451dc
commit 2aee3e654d
41 changed files with 82 additions and 627 deletions

View File

@@ -1988,7 +1988,7 @@ elseif(WINDOWS)
endif()
endif()
file(GLOB VERSION_SOURCES ${SDL3_SOURCE_DIR}/src/main/windows/*.rc)
file(GLOB VERSION_SOURCES ${SDL3_SOURCE_DIR}/src/core/windows/*.rc)
file(GLOB SDLMAIN_SOURCES ${SDL3_SOURCE_DIR}/src/main/windows/*.c)
if(MINGW OR CYGWIN)
if(NOT SDL3_DISABLE_SDL3MAIN)