From 7705f7c1a3b13405da3ac3598466317abe19354b Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Tue, 18 Aug 2020 18:07:08 -0700 Subject: [PATCH] msbuild: refactor stuff out of project files (for externals) --- Externals/Bochs_disasm/Bochs_disasm.vcxproj | 42 ++--------- Externals/FreeSurround/FreeSurround.vcxproj | 42 ++--------- Externals/LZO/LZO.vcxproj | 42 ++--------- .../SFML/build/vc2010/SFML_Network.vcxproj | 42 ++--------- Externals/bzip2/bzip2.vcxproj | 44 ++--------- Externals/cpp-optparse/cpp-optparse.vcxproj | 42 ++--------- Externals/cubeb/msvc/cubeb.vcxproj | 41 ++--------- Externals/curl/curl.vcxproj | 73 ++++++------------- Externals/discord-rpc/src/discord-rpc.vcxproj | 67 ++++------------- Externals/ed25519/ed25519.vcxproj | 42 ++--------- Externals/enet/enet.vcxproj | 61 ++++------------ Externals/glslang/glslang.vcxproj | 42 ++--------- Externals/imgui/imgui.vcxproj | 42 ++--------- Externals/liblzma/liblzma.vcxproj | 44 ++--------- Externals/libpng/png/png.vcxproj | 42 ++--------- Externals/libusb/libusb_static_2013.vcxproj | 44 ++--------- Externals/mbedtls/mbedTLS.vcxproj | 42 ++--------- Externals/miniupnpc/miniupnpc.vcxproj | 42 ++--------- Externals/minizip/minizip.vcxproj | 43 ++--------- Externals/picojson/picojson.vcxproj | 42 ++--------- Externals/pugixml/pugixml.vcxproj | 42 ++--------- Externals/soundtouch/SoundTouch.vcxproj | 42 ++--------- Externals/xxhash/xxhash.vcxproj | 45 ++---------- Externals/zlib/zlib.vcxproj | 45 ++---------- Externals/zstd/zstd.vcxproj | 44 ++--------- 25 files changed, 209 insertions(+), 930 deletions(-) diff --git a/Externals/Bochs_disasm/Bochs_disasm.vcxproj b/Externals/Bochs_disasm/Bochs_disasm.vcxproj index c614a5f793..77f5d6826d 100644 --- a/Externals/Bochs_disasm/Bochs_disasm.vcxproj +++ b/Externals/Bochs_disasm/Bochs_disasm.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {8ADA04D7-6DB1-4DA4-AB55-64FB12A0997B} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/FreeSurround/FreeSurround.vcxproj b/Externals/FreeSurround/FreeSurround.vcxproj index e94b3781e5..cd7ef8e612 100644 --- a/Externals/FreeSurround/FreeSurround.vcxproj +++ b/Externals/FreeSurround/FreeSurround.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {8498F2FA-5CA6-4169-9971-DE5B1FE6132C} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/LZO/LZO.vcxproj b/Externals/LZO/LZO.vcxproj index 83af621942..ef1b0e6b42 100644 --- a/Externals/LZO/LZO.vcxproj +++ b/Externals/LZO/LZO.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {AB993F38-C31D-4897-B139-A620C42BC565} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/SFML/build/vc2010/SFML_Network.vcxproj b/Externals/SFML/build/vc2010/SFML_Network.vcxproj index dedb7a7153..c8f9988907 100644 --- a/Externals/SFML/build/vc2010/SFML_Network.vcxproj +++ b/Externals/SFML/build/vc2010/SFML_Network.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {93D73454-2512-424E-9CDA-4BB357FE13DD} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/bzip2/bzip2.vcxproj b/Externals/bzip2/bzip2.vcxproj index 5d123f4edd..703a8b3c28 100644 --- a/Externals/bzip2/bzip2.vcxproj +++ b/Externals/bzip2/bzip2.vcxproj @@ -1,48 +1,18 @@ - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + - 16.0 {1D8C51D2-FFA4-418E-B183-9F42B6A6717E} - bzip2 - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/cpp-optparse/cpp-optparse.vcxproj b/Externals/cpp-optparse/cpp-optparse.vcxproj index 2398db0a82..4cc380ea56 100644 --- a/Externals/cpp-optparse/cpp-optparse.vcxproj +++ b/Externals/cpp-optparse/cpp-optparse.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {C636D9D1-82FE-42B5-9987-63B7D4836341} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/cubeb/msvc/cubeb.vcxproj b/Externals/cubeb/msvc/cubeb.vcxproj index 2875d8ea19..f6605fe5dc 100644 --- a/Externals/cubeb/msvc/cubeb.vcxproj +++ b/Externals/cubeb/msvc/cubeb.vcxproj @@ -1,45 +1,20 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {8EA11166-6512-44FC-B7A5-A4D1ECC81170} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + + - - + + + ..\include;..\src;..\msvc;%(AdditionalIncludeDirectories) diff --git a/Externals/curl/curl.vcxproj b/Externals/curl/curl.vcxproj index d22b7b5ae3..a6ac5a27e9 100644 --- a/Externals/curl/curl.vcxproj +++ b/Externals/curl/curl.vcxproj @@ -1,23 +1,26 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + + + {BB00605C-125F-4A21-B33B-7BF418322DCB} + + + + + + + + + + + + + + $(ExternalsDir)curl\lib;%(AdditionalIncludeDirectories) + CURL_STATICLIB;CURL_DISABLE_LDAP;USE_WINDOWS_SSPI;USE_SCHANNEL;%(PreprocessorDefinitions) + + true @@ -362,38 +365,6 @@ {ff213b23-2c26-4214-9f88-85271e557e87} - - {BB00605C-125F-4A21-B33B-7BF418322DCB} - 10.0 - - - - StaticLibrary - v142 - Unicode - - - true - - - false - - - - - - - - - - - - - - $(ExternalsDir)curl\lib;%(AdditionalIncludeDirectories) - CURL_STATICLIB;CURL_DISABLE_LDAP;USE_WINDOWS_SSPI;USE_SCHANNEL;%(PreprocessorDefinitions) - - diff --git a/Externals/discord-rpc/src/discord-rpc.vcxproj b/Externals/discord-rpc/src/discord-rpc.vcxproj index 18eaf56887..0eace1c339 100644 --- a/Externals/discord-rpc/src/discord-rpc.vcxproj +++ b/Externals/discord-rpc/src/discord-rpc.vcxproj @@ -1,54 +1,29 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {4482FD2A-EC43-3FFB-AC20-2E5C54B05EAD} - 10.0 - Win32Proj - x64 - discord-rpc - - StaticLibrary - v142 - Unicode - + - - + - - + + <_ProjectFileVersion>10.0.20506.1 - + ..\include;..\thirdparty\include;%(AdditionalIncludeDirectories) - WIN32;_WINDOWS;_DEBUG;DISCORD_WINDOWS;%(PreprocessorDefinitions) + WIN32;_WINDOWS;DISCORD_WINDOWS;%(PreprocessorDefinitions) ..\include;..\thirdparty\rapidjson-1.1.0\include;%(AdditionalIncludeDirectories) @@ -61,25 +36,15 @@ - - - ..\include;..\thirdparty\include;%(AdditionalIncludeDirectories) - - - + - WIN32;_WINDOWS;NDEBUG;DISCORD_WINDOWS;CMAKE_INTDIR=\"Release\";%(PreprocessorDefinitions) - ..\include;..\thirdparty\rapidjson-1.1.0\include;%(AdditionalIncludeDirectories) + _DEBUG;%(PreprocessorDefinitions) + + + + + NDEBUG;CMAKE_INTDIR=\"Release\";%(PreprocessorDefinitions) - - ..\include;..\thirdparty\rapidjson-1.1.0\include;%(AdditionalIncludeDirectories) - $(ProjectDir)/$(IntDir) - %(Filename).h - %(Filename).tlb - %(Filename)_i.c - %(Filename)_p.c - - diff --git a/Externals/ed25519/ed25519.vcxproj b/Externals/ed25519/ed25519.vcxproj index dc9c22b1c7..8c72478ce5 100644 --- a/Externals/ed25519/ed25519.vcxproj +++ b/Externals/ed25519/ed25519.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {5BDF4B91-1491-4FB0-BC27-78E9A8E97DC3} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/enet/enet.vcxproj b/Externals/enet/enet.vcxproj index 087b5a5e44..72223f2acd 100644 --- a/Externals/enet/enet.vcxproj +++ b/Externals/enet/enet.vcxproj @@ -1,23 +1,20 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + + + {CBC76802-C128-4B17-BF6C-23B08C313E5E} + + + + + + + + + + + @@ -47,32 +44,6 @@ - - {CBC76802-C128-4B17-BF6C-23B08C313E5E} - 10.0 - - - - StaticLibrary - v142 - Unicode - - - true - - - false - - - - - - - - - - - diff --git a/Externals/glslang/glslang.vcxproj b/Externals/glslang/glslang.vcxproj index 6e0b810a0a..46f0305aaf 100644 --- a/Externals/glslang/glslang.vcxproj +++ b/Externals/glslang/glslang.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {D178061B-84D3-44F9-BEED-EFD18D9033F0} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/imgui/imgui.vcxproj b/Externals/imgui/imgui.vcxproj index 9b21e287e4..5eb6c9ddf0 100644 --- a/Externals/imgui/imgui.vcxproj +++ b/Externals/imgui/imgui.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {4C3B2264-EA73-4A7B-9CFE-65B0FD635EBB} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/liblzma/liblzma.vcxproj b/Externals/liblzma/liblzma.vcxproj index 1f685a80d1..4726265195 100644 --- a/Externals/liblzma/liblzma.vcxproj +++ b/Externals/liblzma/liblzma.vcxproj @@ -1,48 +1,18 @@ - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + - 16.0 {055A775F-B4F5-4970-9240-F6CF7661F37B} - liblzma - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/libpng/png/png.vcxproj b/Externals/libpng/png/png.vcxproj index e9e63bcf65..20aca64ac5 100644 --- a/Externals/libpng/png/png.vcxproj +++ b/Externals/libpng/png/png.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {4C9F135B-A85E-430C-BAD4-4C67EF5FC12C} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/libusb/libusb_static_2013.vcxproj b/Externals/libusb/libusb_static_2013.vcxproj index d1dd4c0e96..516e5f9c1d 100644 --- a/Externals/libusb/libusb_static_2013.vcxproj +++ b/Externals/libusb/libusb_static_2013.vcxproj @@ -1,50 +1,20 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + - libusb-1.0 {349EE8F9-7D25-4909-AAF5-FF3FADE72187} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + - diff --git a/Externals/mbedtls/mbedTLS.vcxproj b/Externals/mbedtls/mbedTLS.vcxproj index fd515be40b..fc79f6f00f 100644 --- a/Externals/mbedtls/mbedTLS.vcxproj +++ b/Externals/mbedtls/mbedTLS.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {BDB6578B-0691-4E80-A46C-DF21639FD3B8} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/miniupnpc/miniupnpc.vcxproj b/Externals/miniupnpc/miniupnpc.vcxproj index b409ffed30..a9c2578552 100644 --- a/Externals/miniupnpc/miniupnpc.vcxproj +++ b/Externals/miniupnpc/miniupnpc.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {31643FDB-1BB8-4965-9DE7-000FC88D35AE} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/minizip/minizip.vcxproj b/Externals/minizip/minizip.vcxproj index af620547b7..44b091d1f2 100644 --- a/Externals/minizip/minizip.vcxproj +++ b/Externals/minizip/minizip.vcxproj @@ -1,49 +1,20 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {23114507-079A-4418-9707-CFA81A03CA99} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + - NOUNCRYPT;%(PreprocessorDefinitions) diff --git a/Externals/picojson/picojson.vcxproj b/Externals/picojson/picojson.vcxproj index 30fd095ca8..49a07293f7 100644 --- a/Externals/picojson/picojson.vcxproj +++ b/Externals/picojson/picojson.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {2C0D058E-DE35-4471-AD99-E68A2CAF9E18} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/pugixml/pugixml.vcxproj b/Externals/pugixml/pugixml.vcxproj index 05200bdb3f..7cef0fbc98 100644 --- a/Externals/pugixml/pugixml.vcxproj +++ b/Externals/pugixml/pugixml.vcxproj @@ -1,46 +1,18 @@ - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {38FEE76F-F347-484B-949C-B4649381CFFB} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/soundtouch/SoundTouch.vcxproj b/Externals/soundtouch/SoundTouch.vcxproj index bc99698372..e1c8e4f92f 100644 --- a/Externals/soundtouch/SoundTouch.vcxproj +++ b/Externals/soundtouch/SoundTouch.vcxproj @@ -1,46 +1,18 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {EC082900-B4D8-42E9-9663-77F02F6936AE} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + diff --git a/Externals/xxhash/xxhash.vcxproj b/Externals/xxhash/xxhash.vcxproj index 3aed79e621..3677d08919 100644 --- a/Externals/xxhash/xxhash.vcxproj +++ b/Externals/xxhash/xxhash.vcxproj @@ -1,51 +1,20 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {677EA016-1182-440C-9345-DC88D1E98C0C} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + - - - diff --git a/Externals/zlib/zlib.vcxproj b/Externals/zlib/zlib.vcxproj index 0ca8e7e40a..05c667fc35 100644 --- a/Externals/zlib/zlib.vcxproj +++ b/Externals/zlib/zlib.vcxproj @@ -1,51 +1,20 @@  - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + {FF213B23-2C26-4214-9F88-85271E557E87} - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + + - - - diff --git a/Externals/zstd/zstd.vcxproj b/Externals/zstd/zstd.vcxproj index a56dfa20a0..a7485fe28d 100644 --- a/Externals/zstd/zstd.vcxproj +++ b/Externals/zstd/zstd.vcxproj @@ -1,48 +1,18 @@ - - - - Debug - ARM64 - - - Debug - x64 - - - Release - ARM64 - - - Release - x64 - - + + + - 16.0 {1BEA10F3-80CE-4BC4-9331-5769372CDF99} - zstd - 10.0 - - StaticLibrary - v142 - Unicode - - - true - - - false - + - - + - - + +