From df10b2a4424296ab35f2826cc67ac4257655c02a Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sat, 14 Feb 2015 02:58:11 +0100 Subject: include a modern, working MSVC solution WRONG ! this is possibly outdated by now; also, it isn't complete --- msvc/cgame/cgame.vcxproj | 102 ++++++++++++++++++++++++ msvc/dependencies.props | 15 ++++ msvc/game/game.vcxproj | 96 ++++++++++++++++++++++ msvc/tremded/tremded.vcxproj | 130 ++++++++++++++++++++++++++++++ msvc/tremulous.sln | 70 +++++++++++++++++ msvc/tremulous/tremulous.vcxproj | 166 +++++++++++++++++++++++++++++++++++++++ msvc/ui/ui.vcxproj | 99 +++++++++++++++++++++++ 7 files changed, 678 insertions(+) create mode 100644 msvc/cgame/cgame.vcxproj create mode 100644 msvc/dependencies.props create mode 100644 msvc/game/game.vcxproj create mode 100644 msvc/tremded/tremded.vcxproj create mode 100644 msvc/tremulous.sln create mode 100644 msvc/tremulous/tremulous.vcxproj create mode 100644 msvc/ui/ui.vcxproj diff --git a/msvc/cgame/cgame.vcxproj b/msvc/cgame/cgame.vcxproj new file mode 100644 index 00000000..9592b84a --- /dev/null +++ b/msvc/cgame/cgame.vcxproj @@ -0,0 +1,102 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {8608499E-064F-E929-DB72-6833A8051A78} + Win32Proj + cgame + + + + DynamicLibrary + true + v120 + NotSet + + + DynamicLibrary + false + v120 + true + NotSet + + + + + + + + + + + + + true + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;CGAME_EXPORTS;CGAME;%(PreprocessorDefinitions) + true + 4996 + + + Windows + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;CGAME_EXPORTS;CGAME;%(PreprocessorDefinitions) + true + 4996 + + + Windows + true + true + true + + + + + $(IntDir)cgame\ + + + $(IntDir)game\ + + + $(IntDir)qcommon\ + + + $(IntDir)qcommon\ + + + $(IntDir)ui\ + + + + + + \ No newline at end of file diff --git a/msvc/dependencies.props b/msvc/dependencies.props new file mode 100644 index 00000000..a966e103 --- /dev/null +++ b/msvc/dependencies.props @@ -0,0 +1,15 @@ + + + + + + + + ..\..\dep\minizip;..\..\dep\zlib;..\..\dep\jpeg;..\..\dep\sdl2\include;..\..\dep\ogg\include;..\..\dep\opus\include;..\..\dep\opusfile\include;..\..\dep\speex\include;..\..\dep\speexdsp\include;%(AdditionalIncludeDirectories) + + + ..\..\dep\sdl2\lib\x86 + + + + \ No newline at end of file diff --git a/msvc/game/game.vcxproj b/msvc/game/game.vcxproj new file mode 100644 index 00000000..bc5a1367 --- /dev/null +++ b/msvc/game/game.vcxproj @@ -0,0 +1,96 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {1D054677-85B2-DFD7-645A-3FA5555212E3} + Win32Proj + game + + + + DynamicLibrary + true + v120 + NotSet + + + DynamicLibrary + false + v120 + true + NotSet + + + + + + + + + + + + + true + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;GAME_EXPORTS;GAME;%(PreprocessorDefinitions) + true + 4996 + + + Windows + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;GAME_EXPORTS;GAME;%(PreprocessorDefinitions) + true + 4996 + + + Windows + true + true + true + + + + + $(IntDir)game\ + + + $(IntDir)qcommon\ + + + $(IntDir)qcommon\ + + + + + + \ No newline at end of file diff --git a/msvc/tremded/tremded.vcxproj b/msvc/tremded/tremded.vcxproj new file mode 100644 index 00000000..b82e480d --- /dev/null +++ b/msvc/tremded/tremded.vcxproj @@ -0,0 +1,130 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {0F0DAE63-3D01-5E9F-3CEE-4B2F5C86E40D} + Win32Proj + tremded + + + + Application + true + v120 + NotSet + + + Application + false + v120 + true + NotSet + + + + + + + + + + + + + + + true + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;DEDICATED;USE_VOIP;%(PreprocessorDefinitions) + true + 4996 + + + Console + true + ws2_32.lib;winmm.lib;user32.lib;advapi32.lib + false + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;DEDICATED;USE_VOIP;%(PreprocessorDefinitions) + true + 4996 + + + Console + true + ws2_32.lib;winmm.lib;user32.lib;advapi32.lib + true + true + false + + + + + Document + Assembling... + ml -c -Zi "-Fl$(IntDir)%(FileName).lst" "-Fo$(IntDir)%(FileName).obj" "%(FullPath)" + $(IntDir)%(FileName).obj;%(Outputs) + ml -c -Zi "-Fl$(IntDir)%(FileName).lst" "-Fo$(IntDir)%(FileName).obj" "%(FullPath)" + + + Document + Assembling... + ml -c -Zi "-Fl$(IntDir)%(FileName).lst" "-Fo$(IntDir)%(FileName).obj" "%(FullPath)" + $(IntDir)%(FileName).obj;%(Outputs) + ml -c -Zi "-Fl$(IntDir)%(FileName).lst" "-Fo$(IntDir)%(FileName).obj" "%(FullPath)" + + + + + $(IntDir)dep\minizip\ + + + $(IntDir)null\ + + + $(IntDir)qcommon\ + + + $(IntDir)qcommon\ + + + $(IntDir)server\ + + + $(IntDir)sys\ + + + $(IntDir)zlib\ + + + + + + \ No newline at end of file diff --git a/msvc/tremulous.sln b/msvc/tremulous.sln new file mode 100644 index 00000000..3934c25f --- /dev/null +++ b/msvc/tremulous.sln @@ -0,0 +1,70 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.31101.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{ABE9122C-18AD-77E8-3468-CEEC473F2724}") = "tremulous", "tremulous\tremulous.vcxproj", "{D7190C67-0A8E-359A-E020-4A57E2FF5C7F}" +EndProject +Project("{ABE9122C-18AD-77E8-3468-CEEC473F2724}") = "cgame", "cgame\cgame.vcxproj", "{8608499E-064F-E929-DB72-6833A8051A78}" +EndProject +Project("{ABE9122C-18AD-77E8-3468-CEEC473F2724}") = "ui", "ui\ui.vcxproj", "{499881A8-5D51-0073-92D9-F5FAA3136478}" +EndProject +Project("{ABE9122C-18AD-77E8-3468-CEEC473F2724}") = "game", "game\game.vcxproj", "{1D054677-85B2-DFD7-645A-3FA5555212E3}" +EndProject +Project("{ABE9122C-18AD-77E8-3468-CEEC473F2724}") = "tremded", "tremded\tremded.vcxproj", "{0F0DAE63-3D01-5E9F-3CEE-4B2F5C86E40D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM = Debug|ARM + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|ARM = Release|ARM + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D7190C67-0A8E-359A-E020-4A57E2FF5C7F}.Debug|ARM.ActiveCfg = Debug|Win32 + {D7190C67-0A8E-359A-E020-4A57E2FF5C7F}.Debug|Win32.ActiveCfg = Debug|Win32 + {D7190C67-0A8E-359A-E020-4A57E2FF5C7F}.Debug|Win32.Build.0 = Debug|Win32 + {D7190C67-0A8E-359A-E020-4A57E2FF5C7F}.Debug|x64.ActiveCfg = Debug|Win32 + {D7190C67-0A8E-359A-E020-4A57E2FF5C7F}.Release|ARM.ActiveCfg = Release|Win32 + {D7190C67-0A8E-359A-E020-4A57E2FF5C7F}.Release|Win32.ActiveCfg = Release|Win32 + {D7190C67-0A8E-359A-E020-4A57E2FF5C7F}.Release|Win32.Build.0 = Release|Win32 + {D7190C67-0A8E-359A-E020-4A57E2FF5C7F}.Release|x64.ActiveCfg = Release|Win32 + {8608499E-064F-E929-DB72-6833A8051A78}.Debug|ARM.ActiveCfg = Debug|Win32 + {8608499E-064F-E929-DB72-6833A8051A78}.Debug|Win32.ActiveCfg = Debug|Win32 + {8608499E-064F-E929-DB72-6833A8051A78}.Debug|Win32.Build.0 = Debug|Win32 + {8608499E-064F-E929-DB72-6833A8051A78}.Debug|x64.ActiveCfg = Debug|Win32 + {8608499E-064F-E929-DB72-6833A8051A78}.Release|ARM.ActiveCfg = Release|Win32 + {8608499E-064F-E929-DB72-6833A8051A78}.Release|Win32.ActiveCfg = Release|Win32 + {8608499E-064F-E929-DB72-6833A8051A78}.Release|Win32.Build.0 = Release|Win32 + {8608499E-064F-E929-DB72-6833A8051A78}.Release|x64.ActiveCfg = Release|Win32 + {499881A8-5D51-0073-92D9-F5FAA3136478}.Debug|ARM.ActiveCfg = Debug|Win32 + {499881A8-5D51-0073-92D9-F5FAA3136478}.Debug|Win32.ActiveCfg = Debug|Win32 + {499881A8-5D51-0073-92D9-F5FAA3136478}.Debug|Win32.Build.0 = Debug|Win32 + {499881A8-5D51-0073-92D9-F5FAA3136478}.Debug|x64.ActiveCfg = Debug|Win32 + {499881A8-5D51-0073-92D9-F5FAA3136478}.Release|ARM.ActiveCfg = Release|Win32 + {499881A8-5D51-0073-92D9-F5FAA3136478}.Release|Win32.ActiveCfg = Release|Win32 + {499881A8-5D51-0073-92D9-F5FAA3136478}.Release|Win32.Build.0 = Release|Win32 + {499881A8-5D51-0073-92D9-F5FAA3136478}.Release|x64.ActiveCfg = Release|Win32 + {1D054677-85B2-DFD7-645A-3FA5555212E3}.Debug|ARM.ActiveCfg = Debug|Win32 + {1D054677-85B2-DFD7-645A-3FA5555212E3}.Debug|Win32.ActiveCfg = Debug|Win32 + {1D054677-85B2-DFD7-645A-3FA5555212E3}.Debug|Win32.Build.0 = Debug|Win32 + {1D054677-85B2-DFD7-645A-3FA5555212E3}.Debug|x64.ActiveCfg = Debug|Win32 + {1D054677-85B2-DFD7-645A-3FA5555212E3}.Release|ARM.ActiveCfg = Release|Win32 + {1D054677-85B2-DFD7-645A-3FA5555212E3}.Release|Win32.ActiveCfg = Release|Win32 + {1D054677-85B2-DFD7-645A-3FA5555212E3}.Release|Win32.Build.0 = Release|Win32 + {1D054677-85B2-DFD7-645A-3FA5555212E3}.Release|x64.ActiveCfg = Release|Win32 + {0F0DAE63-3D01-5E9F-3CEE-4B2F5C86E40D}.Debug|ARM.ActiveCfg = Debug|Win32 + {0F0DAE63-3D01-5E9F-3CEE-4B2F5C86E40D}.Debug|Win32.ActiveCfg = Debug|Win32 + {0F0DAE63-3D01-5E9F-3CEE-4B2F5C86E40D}.Debug|Win32.Build.0 = Debug|Win32 + {0F0DAE63-3D01-5E9F-3CEE-4B2F5C86E40D}.Debug|x64.ActiveCfg = Debug|Win32 + {0F0DAE63-3D01-5E9F-3CEE-4B2F5C86E40D}.Release|ARM.ActiveCfg = Release|Win32 + {0F0DAE63-3D01-5E9F-3CEE-4B2F5C86E40D}.Release|Win32.ActiveCfg = Release|Win32 + {0F0DAE63-3D01-5E9F-3CEE-4B2F5C86E40D}.Release|Win32.Build.0 = Release|Win32 + {0F0DAE63-3D01-5E9F-3CEE-4B2F5C86E40D}.Release|x64.ActiveCfg = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/msvc/tremulous/tremulous.vcxproj b/msvc/tremulous/tremulous.vcxproj new file mode 100644 index 00000000..1f2a4da2 --- /dev/null +++ b/msvc/tremulous/tremulous.vcxproj @@ -0,0 +1,166 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {D7190C67-0A8E-359A-E020-4A57E2FF5C7F} + Win32Proj + tremulous + + + + Application + true + v120 + NotSet + + + Application + false + v120 + true + NotSet + + + + + + + + + + + + + + + true + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;USE_VOIP;USE_CODEC_OPUS;%(PreprocessorDefinitions) + true + 4996 + + + Console + true + opengl32.lib;SDL2.lib;SDL2main.lib;ws2_32.lib;winmm.lib;user32.lib;advapi32.lib + msvcrt.lib + false + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;USE_VOIP;USE_CODEC_OPUS;%(PreprocessorDefinitions) + true + 4996 + + + Console + true + opengl32.lib;SDL2.lib;SDL2main.lib;ws2_32.lib;winmm.lib;user32.lib;advapi32.lib + true + true + false + msvcrt.lib + + + + + Document + Assembling... + ml -c -Zi "-Fl$(IntDir)%(FileName).lst" "-Fo$(IntDir)%(FileName).obj" "%(FullPath)" + $(IntDir)%(FileName).obj;%(Outputs) + + + Document + Assembling... + ml -c -Zi "-Fl$(IntDir)%(FileName).lst" "-Fo$(IntDir)%(FileName).obj" "%(FullPath)" + $(IntDir)%(FileName).obj;%(Outputs) + + + + + $(IntDir)dep\jpeg\ + + + $(IntDir)dep\jpeg\ + + + $(IntDir)dep\minizip\ + + + $(IntDir)client\ + + + $(IntDir)qcommon\ + + + $(IntDir)qcommon\ + + + $(IntDir)renderercommon\ + + + $(IntDir)renderergl1\ + + + $(IntDir)sdl\ + + + $(IntDir)server\ + + + $(IntDir)sys\ + + + $(IntDir)zlib\ + + + $(IntDir)ogg\ + + + $(IntDir)opus\ + HAVE_CONFIG_H;%(PreprocessorDefinitions) + ..\..\dep\opus\include;..\..\dep\opus\celt;..\..\dep\opus\silk;..\..\dep\opus\silk\float;..\..\dep\opus\win32;%(AdditionalIncludeDirectories) + + + $(IntDir)opusfile\ + + + $(IntDir)speex\ + HAVE_CONFIG_H;%(PreprocessorDefinitions) + ..\..\dep\speex\win32;%(AdditionalIncludeDirectories) + + + $(IntDir)speexdsp\ + HAVE_CONFIG_H;%(PreprocessorDefinitions) + ..\..\dep\speexdsp\win32;%(AdditionalIncludeDirectories) + + + + + + \ No newline at end of file diff --git a/msvc/ui/ui.vcxproj b/msvc/ui/ui.vcxproj new file mode 100644 index 00000000..cda67351 --- /dev/null +++ b/msvc/ui/ui.vcxproj @@ -0,0 +1,99 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {499881A8-5D51-0073-92D9-F5FAA3136478} + Win32Proj + ui + + + + DynamicLibrary + true + v120 + NotSet + + + DynamicLibrary + false + v120 + true + NotSet + + + + + + + + + + + + + true + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;UI_EXPORTS;UI;%(PreprocessorDefinitions) + true + 4996 + + + Windows + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;UI_EXPORTS;UI;%(PreprocessorDefinitions) + true + 4996 + + + Windows + true + true + true + + + + + $(IntDir)game\ + + + $(IntDir)qcommon\ + + + $(IntDir)qcommon\ + + + $(IntDir)ui\ + + + + + + \ No newline at end of file -- cgit