Added svn:ignore, and (see r2145) removed the current set of environment

variables and replaced them with STK_{INCLUDE,LIB}.
Disabled 64-bit warnings, since this flag is deprecated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2008-07-03 03:03:24 +00:00
parent d70e51de74
commit eb9d517221
3 changed files with 25 additions and 35 deletions

View File

@ -1,11 +1,7 @@
basically 4 setups are included in the vc8-project:
Basically 4 setups are included in the vc8-project:
---------------------------------------------------
Debug/Release:
main setup with openAL & vorbis: HAVE_OPENAL + HAVE_OGGVORBIS
PlibSoundDebug/PlibSoundRelease:
no ogg-sound, no openAL, no vorbis, it is gonna be obsolete, when we move to OpenAL/ogg-vorbis completely
The first one is the one currently used and supported,
the others are more 'historical' and will be remove soon.
BulletDebug/BulletRelease:
main setup (Debug/Relase) + BULLET
@ -15,31 +11,25 @@ BulletDebug/BulletRelease:
ReplayDebug/ReplayRelease:
main setup (Debug/Relase) + HAVE_GHOST_REPLAY
Debug/Release:
main setup with openAL & vorbis: HAVE_OPENAL + HAVE_OGGVORBIS
PlibSoundDebug/PlibSoundRelease:
no ogg-sound, no openAL, no vorbis, it is gonna be obsolete, when we move to OpenAL/ogg-vorbis completely
create these environment-vars pointing to the folders of your installations:
Create these environment-vars pointing to the folders of your installations:
----------------------------------------------------------------------------
STK_LIB: pointing to a directory containing all libs
STK_INCLUDE: pointing to a directory containing all header files.
A separate package will be made available which contains all necessary windows
files to compile STK. If you prefer to have the packages in separate
directories, please add your directories to the paths in visual studio.
@set PLIB_PATH=C:\libs
@set SDL_PATH=C:\libs\SDL-1.2.12
@set ALUT_PATH=C:\libs\freealut-1.1.0-bin
@set OGG_PATH=C:\libs\libogg-1.1.3
@set VORBIS_PATH=C:\libs\libvorbis-1.2.0
@set OPENAL_PATH=C:\libs\OpenAL_1_1_SDK
@set GLUT_PATH=C:\libs\glut
Add the folders of the runtime-dlls to the PATH-variable, this is what i had to put:
(or copy the .dll files in the root directory of supertuxkart).
PLIB_PATH must be set to the parent-folder, i.e. my folder is "C:\libs\plib", but in the sources it is included
as <plib/...h>, so we can use "$(PLIB_PATH)" for includes and "$(PLIB_PATH)/plib" for addiational-lib-directory
add the folders of the runtime-dlls to the PATH-variable, this is what i had to put:
C:\libs\SDL-1.2.12\lib;C:\libs\freealut-1.1.0-bin\lib;C:\libs\libogg-1.1.3\win32\VS2003\libogg\Release;C:\libs\libvorbis-1.2.0\win32\VS2005\libvorbis\Release;C:\libs\libvorbis-1.2.0\win32\VS2005\libvorbisfile\Release;C:\libs\plib;
remarks for OpenAL-installation:
Remarks for OpenAL-installation:
--------------------------------
my version of OpenAL 1.1-SDK didn't put its includes in OpenAL/include/AL but in OpenAL/include.
My version of OpenAL 1.1-SDK didn't put its includes in OpenAL/include/AL but in OpenAL/include.
if yours did the same, create the folder OpenAL/include/AL and copy all the includes there.

View File

@ -42,7 +42,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\bullet\src;&quot;$(GLUT_PATH)\include&quot;;&quot;$(STK_INCLUDE)\include&quot;;c:\cygwin\home\joerg\local\include"
AdditionalIncludeDirectories="..\..\bullet\src;&quot;$(STK_INCLUDE)&quot;"
PreprocessorDefinitions="WIN32;BT_NO_PROFILE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
@ -108,7 +108,7 @@
<Tool
Name="VCCLCompilerTool"
WholeProgramOptimization="false"
AdditionalIncludeDirectories="..\..\bullet\src;&quot;$(GLUT_PATH)\include&quot;"
AdditionalIncludeDirectories="..\..\bullet\src;&quot;$(STK_INCLUDE)&quot;"
PreprocessorDefinitions="WIN32;NDEBUG;BT_NO_PROFILE"
MinimalRebuild="true"
RuntimeLibrary="0"

View File

@ -516,7 +516,7 @@
Name="VCCLCompilerTool"
Optimization="0"
WholeProgramOptimization="false"
AdditionalIncludeDirectories="./../../../src;&quot;$(PLIB_PATH)\xx&quot;;&quot;$(SDL_PATH)\include&quot;;&quot;$(ALUT_PATH)\include&quot;;&quot;$(OGG_PATH)\include&quot;;&quot;$(VORBIS_PATH)\include&quot;;&quot;$(OPENAL_PATH)\include&quot;;&quot;$(OPENAL_PATH)\include\AL&quot;;../../../src/bullet/src;&quot;$(GLUT_PATH)\include&quot;;&quot;$(GETTEXT_PATH)\include&quot;;&quot;$(STK_INCLUDE)&quot;"
AdditionalIncludeDirectories="../../../src;../../../src/bullet/src;&quot;$(STK_INCLUDE)&quot;"
PreprocessorDefinitions="BT_NO_PROFILE;HAVE_OPENAL;HAVE_OGGVORBIS;_DEBUG;_CONSOLE;WIN32;NOMINMAX;VERSION=\&quot;SVN\&quot;;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;DEBUG;PACKAGE=\&quot;supertuxkart\&quot;"
GeneratePreprocessedFile="0"
MinimalRebuild="true"
@ -542,7 +542,7 @@
AdditionalDependencies="opengl32.lib user32.lib gdi32.lib winmm.lib advapi32.lib SDL.lib SDLmain.lib OpenAL32.lib libogg.lib libvorbis.lib libvorbisfile.lib sg.lib ssg.lib ul.lib ssgAux.lib fnt.lib intl.lib"
OutputFile="./../../../$(ProjectName)_bullet_d.exe"
LinkIncremental="2"
AdditionalLibraryDirectories="&quot;$(SDL_PATH)\lib&quot;;&quot;$(PLIB_PATH)\plib&quot;;&quot;$(OPENAL_PATH)\libs\Win32&quot;;&quot;$(ALUT_PATH)\lib&quot;;&quot;$(OGG_PATH)\win32\VS2003\libogg\Release&quot;;&quot;$(VORBIS_PATH)\win32\VS2005\libvorbis\Release&quot;;&quot;$(VORBIS_PATH)\win32\VS2005\libvorbisfile\Release&quot;;&quot;$(GLUT_PATH)\xx&quot;;&quot;$(GETTEXT_PATH)\lib&quot;;&quot;$(STK_LIB)\lib&quot;;c:\cygwin\home\joerg\local\lib"
AdditionalLibraryDirectories="&quot;$(STK_LIB)&quot;"
IgnoreAllDefaultLibraries="false"
IgnoreDefaultLibraryNames="libcmt.lib"
GenerateDebugInformation="true"
@ -604,7 +604,7 @@
<Tool
Name="VCCLCompilerTool"
WholeProgramOptimization="true"
AdditionalIncludeDirectories="./../../../src;&quot;$(PLIB_PATH)&quot;;&quot;$(SDL_PATH)\include&quot;;&quot;$(ALUT_PATH)\include&quot;;&quot;$(OGG_PATH)\include&quot;;&quot;$(VORBIS_PATH)\include&quot;;&quot;$(OPENAL_PATH)\include&quot;;&quot;$(OPENAL_PATH)\include\AL&quot;;../../../src/bullet/src;&quot;$(GLUT_PATH)\include&quot;"
AdditionalIncludeDirectories="../../../src;../../../src/bullet/src;&quot;$(STK_INCLUDE)&quot;"
PreprocessorDefinitions="HAVE_OPENAL;HAVE_OGGVORBIS;NDEBUG;_CONSOLE;WIN32;NOMINMAX;VERSION=\&quot;SVN\&quot;;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;BT_NO_PROFILE;PACKAGE=\&quot;supertuxkart\&quot;;HAS_GETTEXT"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
@ -623,10 +623,10 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="opengl32.lib user32.lib gdi32.lib winmm.lib advapi32.lib SDL.lib SDLmain.lib OpenAL32.lib alut.lib libogg.lib libvorbis.lib libvorbisfile.lib sg.lib ssg.lib ul.lib ssgAux.lib fnt.lib intl.lib"
AdditionalDependencies="opengl32.lib user32.lib gdi32.lib winmm.lib advapi32.lib SDL.lib SDLmain.lib OpenAL32.lib libogg.lib libvorbis.lib libvorbisfile.lib sg.lib ssg.lib ul.lib ssgAux.lib fnt.lib intl.lib"
OutputFile="./../../../$(ProjectName)_bullet.exe"
LinkIncremental="1"
AdditionalLibraryDirectories="&quot;$(SDL_PATH)\lib&quot;;&quot;$(PLIB_PATH)\plib&quot;;&quot;$(OPENAL_PATH)\libs\Win32&quot;;&quot;$(ALUT_PATH)\lib&quot;;&quot;$(OGG_PATH)\win32\VS2003\libogg\Release&quot;;&quot;$(VORBIS_PATH)\win32\VS2005\libvorbis\Release&quot;;&quot;$(VORBIS_PATH)\win32\VS2005\libvorbisfile\Release&quot;;&quot;$(GLUT_PATH)&quot;"
AdditionalLibraryDirectories="&quot;$(STK_LIB)&quot;"
IgnoreDefaultLibraryNames="libcmt.lib"
GenerateDebugInformation="true"
SubSystem="1"