From 57b4c4c73a7965c301624fbe2a5fa273742469ae Mon Sep 17 00:00:00 2001
From: ankurverma85 <31362771+ankurverma85@users.noreply.github.com>
Date: Sat, 26 Dec 2020 23:22:21 -0700
Subject: [sdl1] x64-windows-static-md fixes (#15126)
---
ports/sdl1/CONTROL | 2 +-
ports/sdl1/SDL.vcxproj.in | 462 +++++++++++++++++++++++++++++++++++++
ports/sdl1/SDL_dynamic.vcxproj | 462 -------------------------------------
ports/sdl1/SDL_static.vcxproj | 354 ----------------------------
ports/sdl1/SDLmain.vcxproj.in | 313 +++++++++++++++++++++++++
ports/sdl1/SDLmain_dynamic.vcxproj | 313 -------------------------
ports/sdl1/SDLmain_static.vcxproj | 215 -----------------
ports/sdl1/portfile.cmake | 17 +-
8 files changed, 789 insertions(+), 1349 deletions(-)
create mode 100644 ports/sdl1/SDL.vcxproj.in
delete mode 100644 ports/sdl1/SDL_dynamic.vcxproj
delete mode 100644 ports/sdl1/SDL_static.vcxproj
create mode 100644 ports/sdl1/SDLmain.vcxproj.in
delete mode 100644 ports/sdl1/SDLmain_dynamic.vcxproj
delete mode 100644 ports/sdl1/SDLmain_static.vcxproj
diff --git a/ports/sdl1/CONTROL b/ports/sdl1/CONTROL
index 87bb7b2af..257955650 100644
--- a/ports/sdl1/CONTROL
+++ b/ports/sdl1/CONTROL
@@ -1,5 +1,5 @@
Source: sdl1
Version: 1.2.15
-Port-Version: 12
+Port-Version: 13
Homepage: https://www.libsdl.org
Description: Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.
diff --git a/ports/sdl1/SDL.vcxproj.in b/ports/sdl1/SDL.vcxproj.in
new file mode 100644
index 000000000..f4b29a2c8
--- /dev/null
+++ b/ports/sdl1/SDL.vcxproj.in
@@ -0,0 +1,462 @@
+
+
+
+
+ Debug
+ ARM64
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ ARM64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}
+ SDL
+
+
+
+ @LIB_TYPE@
+ v141
+ false
+
+
+ @LIB_TYPE@
+ v141
+ false
+
+
+ @LIB_TYPE@
+ v141
+ false
+
+
+ @LIB_TYPE@
+ v141
+ false
+
+
+ @LIB_TYPE@
+ v141
+ false
+
+
+ @LIB_TYPE@
+ v141
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>15.0.27924.0
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ true
+
+
+ $(SolutionDir)$(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+ true
+
+
+ $(SolutionDir)$(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+ true
+
+
+ $(SolutionDir)$(Configuration)\
+ $(Configuration)\
+ false
+
+
+ $(SolutionDir)$(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+ false
+
+
+ $(SolutionDir)$(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+ false
+
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+ true
+ Win32
+ .\Debug/SDL.tlb
+
+
+ Disabled
+ $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;_DEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
+ @CRT_TYPE_DBG@
+ false
+
+ .\Debug/SDL.pch
+ Level3
+ true
+ EditAndContinue
+ Default
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ 0x0409
+
+
+ /MACHINE:I386 %(AdditionalOptions)
+ winmm.lib;dxguid.lib;%(AdditionalDependencies)
+ .\Debug/SDL.dll
+ true
+ false
+ true
+ .\Debug/SDL.pdb
+ Windows
+ false
+
+
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+ true
+ X64
+ .\Debug/SDL.tlb
+
+
+ Disabled
+ $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;_DEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
+ @CRT_TYPE_DBG@
+ false
+
+ .\Debug/SDL.pch
+ Level3
+ true
+ ProgramDatabase
+ Default
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ 0x0409
+
+
+ winmm.lib;dxguid.lib;%(AdditionalDependencies)
+ .\Debug/SDL.dll
+ true
+ false
+ true
+ .\Debug/SDL.pdb
+ Windows
+ MachineX64
+ false
+
+
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+ true
+ .\Debug/SDL.tlb
+
+
+ Disabled
+ $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;_DEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
+ @CRT_TYPE_DBG@
+ false
+
+
+ .\Debug/SDL.pch
+ Level3
+ true
+ ProgramDatabase
+ Default
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ 0x0409
+
+
+ winmm.lib;dxguid.lib;%(AdditionalDependencies)
+ .\Debug/SDL.dll
+ true
+ false
+ true
+ .\Debug/SDL.pdb
+ Windows
+ false
+
+
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+ true
+ Win32
+ .\Release/SDL.tlb
+
+
+ OnlyExplicitInline
+ false
+ $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;NDEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
+ true
+ @CRT_TYPE_REL@
+ false
+ true
+
+ .\Release/SDL.pch
+ Level3
+ true
+ Default
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ 0x0409
+
+
+ /MACHINE:I386 %(AdditionalOptions)
+ winmm.lib;dxguid.lib;%(AdditionalDependencies)
+ .\Release/SDL.dll
+ true
+ false
+ .\Release/SDL.pdb
+ Windows
+
+
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+ true
+ X64
+ .\Release/SDL.tlb
+
+
+ OnlyExplicitInline
+ false
+ $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;NDEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
+ true
+ @CRT_TYPE_REL@
+ false
+ true
+
+ .\Release/SDL.pch
+ Level3
+ true
+ Default
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ 0x0409
+
+
+ winmm.lib;dxguid.lib;%(AdditionalDependencies)
+ .\Release/SDL.dll
+ true
+ false
+ .\Release/SDL.pdb
+ Windows
+ MachineX64
+
+
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+ true
+ .\Release/SDL.tlb
+
+
+ OnlyExplicitInline
+ false
+ $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;NDEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
+ true
+ @CRT_TYPE_REL@
+ false
+ true
+
+
+ .\Release/SDL.pch
+ Level3
+ true
+ Default
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ 0x0409
+
+
+ winmm.lib;dxguid.lib;%(AdditionalDependencies)
+ .\Release/SDL.dll
+ true
+ false
+ .\Release/SDL.pdb
+ Windows
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ports/sdl1/SDL_dynamic.vcxproj b/ports/sdl1/SDL_dynamic.vcxproj
deleted file mode 100644
index f6c3873f2..000000000
--- a/ports/sdl1/SDL_dynamic.vcxproj
+++ /dev/null
@@ -1,462 +0,0 @@
-
-
-
-
- Debug
- ARM64
-
-
- Debug
- Win32
-
-
- Debug
- x64
-
-
- Release
- ARM64
-
-
- Release
- Win32
-
-
- Release
- x64
-
-
-
- {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}
- SDL
-
-
-
- DynamicLibrary
- v141
- false
-
-
- DynamicLibrary
- v141
- false
-
-
- DynamicLibrary
- v141
- false
-
-
- DynamicLibrary
- v141
- false
-
-
- DynamicLibrary
- v141
- false
-
-
- DynamicLibrary
- v141
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_ProjectFileVersion>15.0.27924.0
-
-
- $(SolutionDir)$(Configuration)\
- $(Configuration)\
- true
-
-
- $(SolutionDir)$(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
- true
-
-
- $(SolutionDir)$(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
- true
-
-
- $(SolutionDir)$(Configuration)\
- $(Configuration)\
- false
-
-
- $(SolutionDir)$(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
- false
-
-
- $(SolutionDir)$(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
- false
-
-
-
- _DEBUG;%(PreprocessorDefinitions)
- true
- true
- Win32
- .\Debug/SDL.tlb
-
-
- Disabled
- $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;_DEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
- MultiThreadedDLL
- false
-
- .\Debug/SDL.pch
- Level3
- true
- EditAndContinue
- Default
-
-
- _DEBUG;%(PreprocessorDefinitions)
- 0x0409
-
-
- /MACHINE:I386 %(AdditionalOptions)
- winmm.lib;dxguid.lib;%(AdditionalDependencies)
- .\Debug/SDL.dll
- true
- false
- true
- .\Debug/SDL.pdb
- Windows
- false
-
-
-
-
- _DEBUG;%(PreprocessorDefinitions)
- true
- true
- X64
- .\Debug/SDL.tlb
-
-
- Disabled
- $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;_DEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
- MultiThreadedDLL
- false
-
- .\Debug/SDL.pch
- Level3
- true
- ProgramDatabase
- Default
-
-
- _DEBUG;%(PreprocessorDefinitions)
- 0x0409
-
-
- winmm.lib;dxguid.lib;%(AdditionalDependencies)
- .\Debug/SDL.dll
- true
- false
- true
- .\Debug/SDL.pdb
- Windows
- MachineX64
- false
-
-
-
-
- _DEBUG;%(PreprocessorDefinitions)
- true
- true
- .\Debug/SDL.tlb
-
-
- Disabled
- $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;_DEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
- MultiThreadedDLL
- false
-
-
- .\Debug/SDL.pch
- Level3
- true
- ProgramDatabase
- Default
-
-
- _DEBUG;%(PreprocessorDefinitions)
- 0x0409
-
-
- winmm.lib;dxguid.lib;%(AdditionalDependencies)
- .\Debug/SDL.dll
- true
- false
- true
- .\Debug/SDL.pdb
- Windows
- false
-
-
-
-
- NDEBUG;%(PreprocessorDefinitions)
- true
- true
- Win32
- .\Release/SDL.tlb
-
-
- OnlyExplicitInline
- false
- $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;NDEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
-
- .\Release/SDL.pch
- Level3
- true
- Default
-
-
- NDEBUG;%(PreprocessorDefinitions)
- 0x0409
-
-
- /MACHINE:I386 %(AdditionalOptions)
- winmm.lib;dxguid.lib;%(AdditionalDependencies)
- .\Release/SDL.dll
- true
- false
- .\Release/SDL.pdb
- Windows
-
-
-
-
- NDEBUG;%(PreprocessorDefinitions)
- true
- true
- X64
- .\Release/SDL.tlb
-
-
- OnlyExplicitInline
- false
- $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;NDEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
-
- .\Release/SDL.pch
- Level3
- true
- Default
-
-
- NDEBUG;%(PreprocessorDefinitions)
- 0x0409
-
-
- winmm.lib;dxguid.lib;%(AdditionalDependencies)
- .\Release/SDL.dll
- true
- false
- .\Release/SDL.pdb
- Windows
- MachineX64
-
-
-
-
- NDEBUG;%(PreprocessorDefinitions)
- true
- true
- .\Release/SDL.tlb
-
-
- OnlyExplicitInline
- false
- $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;NDEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- false
- true
-
-
- .\Release/SDL.pch
- Level3
- true
- Default
-
-
- NDEBUG;%(PreprocessorDefinitions)
- 0x0409
-
-
- winmm.lib;dxguid.lib;%(AdditionalDependencies)
- .\Release/SDL.dll
- true
- false
- .\Release/SDL.pdb
- Windows
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ports/sdl1/SDL_static.vcxproj b/ports/sdl1/SDL_static.vcxproj
deleted file mode 100644
index dfe46bba3..000000000
--- a/ports/sdl1/SDL_static.vcxproj
+++ /dev/null
@@ -1,354 +0,0 @@
-
-
-
-
- Debug
- Win32
-
-
- Debug
- x64
-
-
- Release
- Win32
-
-
- Release
- x64
-
-
-
- {81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}
- SDL
-
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_ProjectFileVersion>15.0.27924.0
-
-
- $(SolutionDir)$(Configuration)\
- $(Configuration)\
- true
-
-
- $(SolutionDir)$(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
- true
-
-
- $(SolutionDir)$(Configuration)\
- $(Configuration)\
- false
-
-
- $(SolutionDir)$(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
- false
-
-
-
- _DEBUG;%(PreprocessorDefinitions)
- true
- true
- Win32
- .\Debug/SDL.tlb
-
-
- Disabled
- $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;_DEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
- MultiThreadedDebug
- false
-
- .\Debug/SDL.pch
- Level3
- true
- EditAndContinue
- Default
-
-
- _DEBUG;%(PreprocessorDefinitions)
- 0x0409
-
-
- /MACHINE:I386 %(AdditionalOptions)
- winmm.lib;dxguid.lib;%(AdditionalDependencies)
- .\Debug/SDL.dll
- true
- false
- true
- .\Debug/SDL.pdb
- Windows
- false
-
-
-
-
- _DEBUG;%(PreprocessorDefinitions)
- true
- true
- X64
- .\Debug/SDL.tlb
-
-
- Disabled
- $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;_DEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
- MultiThreadedDebug
- false
-
- .\Debug/SDL.pch
- Level3
- true
- ProgramDatabase
- Default
-
-
- _DEBUG;%(PreprocessorDefinitions)
- 0x0409
-
-
- winmm.lib;dxguid.lib;%(AdditionalDependencies)
- .\Debug/SDL.dll
- true
- false
- true
- .\Debug/SDL.pdb
- Windows
- MachineX64
- false
-
-
-
-
- NDEBUG;%(PreprocessorDefinitions)
- true
- true
- Win32
- .\Release/SDL.tlb
-
-
- OnlyExplicitInline
- false
- $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;NDEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
- true
- MultiThreaded
- false
- true
-
- .\Release/SDL.pch
- Level3
- true
- Default
-
-
- NDEBUG;%(PreprocessorDefinitions)
- 0x0409
-
-
- /MACHINE:I386 %(AdditionalOptions)
- winmm.lib;dxguid.lib;%(AdditionalDependencies)
- .\Release/SDL.dll
- true
- false
- .\Release/SDL.pdb
- Windows
-
-
-
-
- NDEBUG;%(PreprocessorDefinitions)
- true
- true
- X64
- .\Release/SDL.tlb
-
-
- OnlyExplicitInline
- false
- $(ProjectDir)\..\..\include;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;NDEBUG;_WINDOWS;_WIN32_WINNT=0x0400;WINDOWS_IGNORE_PACKING_MISMATCH;%(PreprocessorDefinitions)
- true
- MultiThreaded
- false
- true
-
- .\Release/SDL.pch
- Level3
- true
- Default
-
-
- NDEBUG;%(PreprocessorDefinitions)
- 0x0409
-
-
- winmm.lib;dxguid.lib;%(AdditionalDependencies)
- .\Release/SDL.dll
- true
- false
- .\Release/SDL.pdb
- Windows
- MachineX64
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ports/sdl1/SDLmain.vcxproj.in b/ports/sdl1/SDLmain.vcxproj.in
new file mode 100644
index 000000000..249b17440
--- /dev/null
+++ b/ports/sdl1/SDLmain.vcxproj.in
@@ -0,0 +1,313 @@
+
+
+
+
+ Debug
+ ARM64
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release_NoSTDIO
+ ARM64
+
+
+ Release_NoSTDIO
+ Win32
+
+
+ Release_NoSTDIO
+ x64
+
+
+ Release
+ ARM64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}
+
+
+
+ StaticLibrary
+ v141
+ false
+
+
+ StaticLibrary
+ v141
+ false
+
+
+ StaticLibrary
+ v141
+ false
+
+
+ StaticLibrary
+ v141
+ false
+
+
+ StaticLibrary
+ v141
+ false
+
+
+ StaticLibrary
+ v141
+ false
+
+
+ StaticLibrary
+ v141
+ false
+
+
+ StaticLibrary
+ v141
+ false
+
+
+ StaticLibrary
+ v141
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>15.0.27924.0
+
+
+ .\Release\
+ .\Release\
+
+
+ $(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+
+
+ $(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+
+
+ .\Release_NOSTDIO\
+ .\Release_NOSTDIO\
+
+
+ $(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+
+
+ $(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+
+
+ .\Debug\
+ .\Debug\
+
+
+ $(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+
+
+ $(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+
+
+
+ OnlyExplicitInline
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ @CRT_TYPE_REL@
+ true
+
+ .\Release/SDLmain.pch
+ Level3
+ Default
+
+
+
+
+ X64
+
+
+ OnlyExplicitInline
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ @CRT_TYPE_REL@
+ true
+
+ .\Release/SDLmain.pch
+ Level3
+ Default
+
+
+
+
+
+ OnlyExplicitInline
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ @CRT_TYPE_REL@
+ true
+
+
+ .\Release/SDLmain.pch
+ Level3
+ Default
+
+
+
+
+ OnlyExplicitInline
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;NO_STDIO_REDIRECT;%(PreprocessorDefinitions)
+ true
+ @CRT_TYPE_REL@
+ true
+
+ .\Release_NOSTDIO/SDLmain.pch
+ Level3
+ Default
+
+
+
+
+ X64
+
+
+ OnlyExplicitInline
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;NO_STDIO_REDIRECT;%(PreprocessorDefinitions)
+ true
+ @CRT_TYPE_REL@
+ true
+
+ .\Release_NOSTDIO/SDLmain.pch
+ Level3
+ Default
+
+
+
+
+
+ OnlyExplicitInline
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;NO_STDIO_REDIRECT;%(PreprocessorDefinitions)
+ true
+ @CRT_TYPE_REL@
+ true
+
+
+ .\Release_NOSTDIO/SDLmain.pch
+ Level3
+ Default
+
+
+
+
+ Disabled
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ @CRT_TYPE_DBG@
+
+ .\Debug/SDLmain.pch
+ Level3
+ OldStyle
+ Default
+
+
+
+
+ X64
+
+
+ Disabled
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ @CRT_TYPE_DBG@
+
+ .\Debug/SDLmain.pch
+ Level3
+ OldStyle
+ Default
+
+
+
+
+
+ Disabled
+ ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
+ _CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ @CRT_TYPE_DBG@
+
+
+ .\Debug/SDLmain.pch
+ Level3
+ OldStyle
+ Default
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ports/sdl1/SDLmain_dynamic.vcxproj b/ports/sdl1/SDLmain_dynamic.vcxproj
deleted file mode 100644
index dd4c89a67..000000000
--- a/ports/sdl1/SDLmain_dynamic.vcxproj
+++ /dev/null
@@ -1,313 +0,0 @@
-
-
-
-
- Debug
- ARM64
-
-
- Debug
- Win32
-
-
- Debug
- x64
-
-
- Release_NoSTDIO
- ARM64
-
-
- Release_NoSTDIO
- Win32
-
-
- Release_NoSTDIO
- x64
-
-
- Release
- ARM64
-
-
- Release
- Win32
-
-
- Release
- x64
-
-
-
- {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}
-
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_ProjectFileVersion>15.0.27924.0
-
-
- .\Release\
- .\Release\
-
-
- $(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
-
-
- $(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
-
-
- .\Release_NOSTDIO\
- .\Release_NOSTDIO\
-
-
- $(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
-
-
- $(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
-
-
- .\Debug\
- .\Debug\
-
-
- $(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
-
-
- $(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
-
-
-
- OnlyExplicitInline
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- true
-
- .\Release/SDLmain.pch
- Level3
- Default
-
-
-
-
- X64
-
-
- OnlyExplicitInline
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- true
-
- .\Release/SDLmain.pch
- Level3
- Default
-
-
-
-
-
- OnlyExplicitInline
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- true
-
-
- .\Release/SDLmain.pch
- Level3
- Default
-
-
-
-
- OnlyExplicitInline
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;NO_STDIO_REDIRECT;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- true
-
- .\Release_NOSTDIO/SDLmain.pch
- Level3
- Default
-
-
-
-
- X64
-
-
- OnlyExplicitInline
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;NO_STDIO_REDIRECT;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- true
-
- .\Release_NOSTDIO/SDLmain.pch
- Level3
- Default
-
-
-
-
-
- OnlyExplicitInline
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;NO_STDIO_REDIRECT;%(PreprocessorDefinitions)
- true
- MultiThreadedDLL
- true
-
-
- .\Release_NOSTDIO/SDLmain.pch
- Level3
- Default
-
-
-
-
- Disabled
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
- MultiThreadedDLL
-
- .\Debug/SDLmain.pch
- Level3
- OldStyle
- Default
-
-
-
-
- X64
-
-
- Disabled
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
- MultiThreadedDLL
-
- .\Debug/SDLmain.pch
- Level3
- OldStyle
- Default
-
-
-
-
-
- Disabled
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
- MultiThreadedDLL
-
-
- .\Debug/SDLmain.pch
- Level3
- OldStyle
- Default
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ports/sdl1/SDLmain_static.vcxproj b/ports/sdl1/SDLmain_static.vcxproj
deleted file mode 100644
index 3f3b6ca01..000000000
--- a/ports/sdl1/SDLmain_static.vcxproj
+++ /dev/null
@@ -1,215 +0,0 @@
-
-
-
-
- Debug
- Win32
-
-
- Debug
- x64
-
-
- Release_NoSTDIO
- Win32
-
-
- Release_NoSTDIO
- x64
-
-
- Release
- Win32
-
-
- Release
- x64
-
-
-
- {DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}
-
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
- StaticLibrary
- v141
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <_ProjectFileVersion>15.0.27924.0
-
-
- .\Release\
- .\Release\
-
-
- $(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
-
-
- .\Release_NOSTDIO\
- .\Release_NOSTDIO\
-
-
- $(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
-
-
- .\Debug\
- .\Debug\
-
-
- $(Platform)\$(Configuration)\
- $(Platform)\$(Configuration)\
-
-
-
- OnlyExplicitInline
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
- true
- MultiThreaded
- true
-
- .\Release/SDLmain.pch
- Level3
- Default
-
-
-
-
- X64
-
-
- OnlyExplicitInline
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
- true
- MultiThreaded
- true
-
- .\Release/SDLmain.pch
- Level3
- Default
-
-
-
-
- OnlyExplicitInline
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;NO_STDIO_REDIRECT;%(PreprocessorDefinitions)
- true
- MultiThreaded
- true
-
- .\Release_NOSTDIO/SDLmain.pch
- Level3
- Default
-
-
-
-
- X64
-
-
- OnlyExplicitInline
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;NO_STDIO_REDIRECT;%(PreprocessorDefinitions)
- true
- MultiThreaded
- true
-
- .\Release_NOSTDIO/SDLmain.pch
- Level3
- Default
-
-
-
-
- Disabled
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
- MultiThreadedDebug
-
- .\Debug/SDLmain.pch
- Level3
- OldStyle
- Default
-
-
-
-
- X64
-
-
- Disabled
- ..\..\include;..\..\include\SDL;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
- MultiThreadedDebug
-
- .\Debug/SDLmain.pch
- Level3
- OldStyle
- Default
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ports/sdl1/portfile.cmake b/ports/sdl1/portfile.cmake
index 6dd7da687..47f1b0730 100644
--- a/ports/sdl1/portfile.cmake
+++ b/ports/sdl1/portfile.cmake
@@ -16,13 +16,22 @@ if (VCPKG_TARGET_IS_WINDOWS)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/SDL1_2017.sln DESTINATION ${SOURCE_PATH}/VisualC/ )
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
- configure_file(${CMAKE_CURRENT_LIST_DIR}/SDL_static.vcxproj ${SOURCE_PATH}/VisualC/SDL/SDL.vcxproj COPYONLY)
- configure_file(${CMAKE_CURRENT_LIST_DIR}/SDLmain_static.vcxproj ${SOURCE_PATH}/VisualC/SDLmain/SDLmain.vcxproj COPYONLY)
+ set(LIB_TYPE StaticLibrary)
else()
- configure_file(${CMAKE_CURRENT_LIST_DIR}/SDL_dynamic.vcxproj ${SOURCE_PATH}/VisualC/SDL/SDL.vcxproj COPYONLY)
- configure_file(${CMAKE_CURRENT_LIST_DIR}/SDLmain_dynamic.vcxproj ${SOURCE_PATH}/VisualC/SDLmain/SDLmain.vcxproj COPYONLY)
+ set(LIB_TYPE DynamicLibrary)
endif()
+ if (VCPKG_CRT_LINKAGE STREQUAL "dynamic")
+ set(CRT_TYPE_DBG MultiThreadedDebugDLL)
+ set(CRT_TYPE_REL MultiThreadedDLL)
+ else()
+ set(CRT_TYPE_DBG MultiThreadedDebug)
+ set(CRT_TYPE_REL MultiThreaded)
+ endif()
+
+ configure_file(${CURRENT_PORT_DIR}/SDL.vcxproj.in ${SOURCE_PATH}/VisualC/SDL/SDL.vcxproj @ONLY)
+ configure_file(${CURRENT_PORT_DIR}/SDLmain.vcxproj.in ${SOURCE_PATH}/VisualC/SDLmain/SDLmain.vcxproj @ONLY)
+
# This text file gets copied as a library, and included as one in the package
file(REMOVE_RECURSE ${SOURCE_PATH}/src/hermes/COPYING.LIB)
--
cgit v1.2.3