Added STK_INCLUDE and STK_LIB environment variable, which will be used to point
to a central directory containing all header and lib files. This is in preparation for a 'windows dependency package', and requires less work for the user to set up. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\..\bullet\src;"$(GLUT_PATH)\include""
|
||||
AdditionalIncludeDirectories="..\..\bullet\src;"$(GLUT_PATH)\include";"$(STK_INCLUDE)""
|
||||
PreprocessorDefinitions="WIN32;BT_NO_PROFILE"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
@@ -107,7 +107,7 @@
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories="..\..\bullet\src;"$(GLUT_PATH)\include""
|
||||
AdditionalIncludeDirectories="..\..\bullet\src;"$(GLUT_PATH)\include";"$(STK_INCLUDE)""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;BT_NO_PROFILE"
|
||||
MinimalRebuild="true"
|
||||
RuntimeLibrary="0"
|
||||
|
||||
@@ -521,8 +521,8 @@
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
WholeProgramOptimization="false"
|
||||
AdditionalIncludeDirectories="./../../../src;"$(PLIB_PATH)";"$(SDL_PATH)\include";"$(ALUT_PATH)\include";"$(OGG_PATH)\include";"$(VORBIS_PATH)\include";"$(OPENAL_PATH)\include";"$(OPENAL_PATH)\include\AL";../../../src/bullet/src;"$(GLUT_PATH)\include";"$(GETTEXT_PATH)/include""
|
||||
PreprocessorDefinitions="BT_NO_PROFILE;HAVE_OPENAL;HAVE_OGGVORBIS;_DEBUG;_CONSOLE;WIN32;NOMINMAX;VERSION=\"SVN\";_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;DEBUG;PACKAGE=\"supertuxkart\";HAS_GETTEXT"
|
||||
AdditionalIncludeDirectories="../../../src;../../../src/bullet/src;"$(STK_INCLUDE)""
|
||||
PreprocessorDefinitions="BT_NO_PROFILE;HAVE_OPENAL;HAVE_OGGVORBIS;_DEBUG;_CONSOLE;WIN32;NOMINMAX;VERSION=\"SVN\";_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;DEBUG;PACKAGE=\"supertuxkart\""
|
||||
GeneratePreprocessedFile="0"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
@@ -544,10 +544,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_d.exe"
|
||||
LinkIncremental="2"
|
||||
AdditionalLibraryDirectories=""$(SDL_PATH)\lib";"$(PLIB_PATH)\plib";"$(OPENAL_PATH)\libs\Win32";"$(ALUT_PATH)\lib";"$(OGG_PATH)\win32\VS2003\libogg\Release";"$(VORBIS_PATH)\win32\VS2005\libvorbis\Release";"$(VORBIS_PATH)\win32\VS2005\libvorbisfile\Release";"$(GLUT_PATH)";"$(GETTEXT_PATH)\lib""
|
||||
AdditionalLibraryDirectories=""$(STK_LIB)""
|
||||
IgnoreAllDefaultLibraries="false"
|
||||
IgnoreDefaultLibraryNames="libcmt.lib"
|
||||
GenerateDebugInformation="true"
|
||||
@@ -610,7 +610,7 @@
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
WholeProgramOptimization="true"
|
||||
AdditionalIncludeDirectories="./../../../src;"$(PLIB_PATH)";"$(SDL_PATH)\include";"$(ALUT_PATH)\include";"$(OGG_PATH)\include";"$(VORBIS_PATH)\include";"$(OPENAL_PATH)\include";"$(OPENAL_PATH)\include\AL";../../../src/bullet/src;"$(GLUT_PATH)\include""
|
||||
AdditionalIncludeDirectories="../../../src;../../../src/bullet/src;"$(STK_INCLUDE)""
|
||||
PreprocessorDefinitions="HAVE_OPENAL;HAVE_OGGVORBIS;NDEBUG;_CONSOLE;WIN32;NOMINMAX;VERSION=\"SVN\";_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;BT_NO_PROFILE;PACKAGE=\"supertuxkart\";HAS_GETTEXT"
|
||||
RuntimeLibrary="2"
|
||||
UsePrecompiledHeader="0"
|
||||
@@ -629,10 +629,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=""$(SDL_PATH)\lib";"$(PLIB_PATH)\plib";"$(OPENAL_PATH)\libs\Win32";"$(ALUT_PATH)\lib";"$(OGG_PATH)\win32\VS2003\libogg\Release";"$(VORBIS_PATH)\win32\VS2005\libvorbis\Release";"$(VORBIS_PATH)\win32\VS2005\libvorbisfile\Release";"$(GLUT_PATH)""
|
||||
AdditionalLibraryDirectories=""$(STK_LIB)""
|
||||
IgnoreDefaultLibraryNames="libcmt.lib"
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="1"
|
||||
@@ -866,10 +866,6 @@
|
||||
RelativePath="../../../src\sound_manager.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="../../../src\sound_plib.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\spark.cpp"
|
||||
>
|
||||
@@ -1376,10 +1372,6 @@
|
||||
RelativePath="../../../src\sound_manager.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="../../../src\sound_plib.hpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\spark.hpp"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user