From b96b999c1e542f2814b4dc95e1f08200b7506f6f Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Sun, 22 May 2016 21:55:55 -0400 Subject: [PATCH] MSVC: Move x86/x64 settings into commons props --- SRB2_Release.props | 2 -- SRB2_common.props | 19 +++++++++++- SRB2_x86.props | 15 ---------- libs/{FMOD_common.props => FMOD.props} | 10 +++++++ libs/FMOD_x64.props | 12 -------- libs/FMOD_x86.props | 12 -------- libs/{SDL2_common.props => SDL2.props} | 0 ...SDL_mixer_common.props => SDL_mixer.props} | 0 libs/{libpng_common.props => libpng.props} | 0 libs/{zlib_common.props => zlib.props} | 0 src/sdl/Srb2SDL-vc10.vcxproj | 27 ++++------------- .../{SRB2SDL_common.props => Srb2SDL.props} | 0 src/win32/Srb2win-vc10.vcxproj | 29 +++---------------- .../{SRB2Win_common.props => Srb2win.props} | 0 14 files changed, 37 insertions(+), 89 deletions(-) delete mode 100644 SRB2_x86.props rename libs/{FMOD_common.props => FMOD.props} (52%) delete mode 100644 libs/FMOD_x64.props delete mode 100644 libs/FMOD_x86.props rename libs/{SDL2_common.props => SDL2.props} (100%) rename libs/{SDL_mixer_common.props => SDL_mixer.props} (100%) rename libs/{libpng_common.props => libpng.props} (100%) rename libs/{zlib_common.props => zlib.props} (100%) rename src/sdl/{SRB2SDL_common.props => Srb2SDL.props} (100%) rename src/win32/{SRB2Win_common.props => Srb2win.props} (100%) diff --git a/SRB2_Release.props b/SRB2_Release.props index 720c3969..a216ea45 100644 --- a/SRB2_Release.props +++ b/SRB2_Release.props @@ -3,8 +3,6 @@ - AllRules.ruleset - true false diff --git a/SRB2_common.props b/SRB2_common.props index d8bbf5ab..2fb2eb8c 100644 --- a/SRB2_common.props +++ b/SRB2_common.props @@ -3,7 +3,6 @@ - MixedMinimumRules.ruleset $(SolutionDir)bin\VC10\$(Platform)\$(Configuration)\ $(SolutionDir)objs\VC10\$(Platform)\$(Configuration)\$(ProjectName)\ @@ -25,5 +24,23 @@ true + + + USEASM;%(PreprocessorDefinitions) + + + false + + + nasm -g -o $(IntDir)%(Filename).obj -f win32 "%(FullPath)" + Compiling %(Filename).nas with NASM... + $(IntDir)%(Filename).obj;%(Outputs) + + + + + false + + \ No newline at end of file diff --git a/SRB2_x86.props b/SRB2_x86.props deleted file mode 100644 index 0ba9d607..00000000 --- a/SRB2_x86.props +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - USEASM;%(PreprocessorDefinitions) - - - false - - - - \ No newline at end of file diff --git a/libs/FMOD_common.props b/libs/FMOD.props similarity index 52% rename from libs/FMOD_common.props rename to libs/FMOD.props index 1522adfd..785f11ce 100644 --- a/libs/FMOD_common.props +++ b/libs/FMOD.props @@ -7,5 +7,15 @@ $(SolutionDir)libs\fmodex\lib;$(LibraryPath) + + + fmodexL64_vc.lib;%(AdditionalDependencies) + + + + + fmodexL_vc.lib;%(AdditionalDependencies) + + \ No newline at end of file diff --git a/libs/FMOD_x64.props b/libs/FMOD_x64.props deleted file mode 100644 index 80d00d21..00000000 --- a/libs/FMOD_x64.props +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - fmodexL64_vc.lib;%(AdditionalDependencies) - - - - \ No newline at end of file diff --git a/libs/FMOD_x86.props b/libs/FMOD_x86.props deleted file mode 100644 index 39e46be4..00000000 --- a/libs/FMOD_x86.props +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - fmodexL_vc.lib;%(AdditionalDependencies) - - - - \ No newline at end of file diff --git a/libs/SDL2_common.props b/libs/SDL2.props similarity index 100% rename from libs/SDL2_common.props rename to libs/SDL2.props diff --git a/libs/SDL_mixer_common.props b/libs/SDL_mixer.props similarity index 100% rename from libs/SDL_mixer_common.props rename to libs/SDL_mixer.props diff --git a/libs/libpng_common.props b/libs/libpng.props similarity index 100% rename from libs/libpng_common.props rename to libs/libpng.props diff --git a/libs/zlib_common.props b/libs/zlib.props similarity index 100% rename from libs/zlib_common.props rename to libs/zlib.props diff --git a/src/sdl/Srb2SDL-vc10.vcxproj b/src/sdl/Srb2SDL-vc10.vcxproj index 452b47ed..d12a7efb 100644 --- a/src/sdl/Srb2SDL-vc10.vcxproj +++ b/src/sdl/Srb2SDL-vc10.vcxproj @@ -50,21 +50,19 @@ - - - - - + + + + + - - @@ -222,31 +220,16 @@ Document - nasm -g -o $(IntDir)%(Filename).obj -f win32 "%(FullPath)" - Compiling %(Filename).nas with NASM... - $(IntDir)%(Filename).obj;%(Outputs) - true - true Document - nasm -g -o $(IntDir)%(Filename).obj -f win32 "%(FullPath)" - Compiling %(Filename).nas with NASM... - $(IntDir)%(Filename).obj;%(Outputs) - true - true Document - nasm -g -o $(IntDir)%(Filename).obj -f win32 "%(FullPath)" - Compiling %(Filename).nas with NASM... - $(IntDir)%(Filename).obj;%(Outputs) - true - true diff --git a/src/sdl/SRB2SDL_common.props b/src/sdl/Srb2SDL.props similarity index 100% rename from src/sdl/SRB2SDL_common.props rename to src/sdl/Srb2SDL.props diff --git a/src/win32/Srb2win-vc10.vcxproj b/src/win32/Srb2win-vc10.vcxproj index c57c305a..1e9d8241 100644 --- a/src/win32/Srb2win-vc10.vcxproj +++ b/src/win32/Srb2win-vc10.vcxproj @@ -49,32 +49,26 @@ - - - - + + + + - - - - - - @@ -377,27 +371,12 @@ Document - nasm -g -o $(IntDir)%(Filename).obj -f win32 "%(FullPath)" - Compiling %(Filename).nas with NASM... - $(IntDir)%(Filename).obj;%(Outputs) - true - true Document - nasm -g -o $(IntDir)%(Filename).obj -f win32 "%(FullPath)" - Compiling %(Filename).nas with NASM... - $(IntDir)%(Filename).obj;%(Outputs) - true - true Document - nasm -g -o $(IntDir)%(Filename).obj -f win32 "%(FullPath)" - Compiling %(Filename).nas with NASM... - $(IntDir)%(Filename).obj;%(Outputs) - true - true diff --git a/src/win32/SRB2Win_common.props b/src/win32/Srb2win.props similarity index 100% rename from src/win32/SRB2Win_common.props rename to src/win32/Srb2win.props