Added wiiuse project file (read README for details on how

to use it).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2013-01-31 22:24:06 +00:00
parent 6de0c776bd
commit 84fcb13914
5 changed files with 33 additions and 9 deletions

View File

@ -17,6 +17,7 @@ subject to the following restrictions:
#define BT_COLLISION_OBJECT_H #define BT_COLLISION_OBJECT_H
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__) #if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
# undef isnan
# define isnan _isnan # define isnan _isnan
# define isinf(x) (!_finite(x)) # define isinf(x) (!_finite(x))
#else #else

18
lib/wiiuse/README Normal file
View File

@ -0,0 +1,18 @@
Windows
=======
Compiling the wiiuse library requires installation of
the windows driver development kit (DDT).
While the wiiuse project is part of the windows STK solution,
it is not compiled by default, instead the lib is
linked from the dependency package (and output of the
wiiuse project is in the dependency directory as well).
Reason is that compiling this lib needs two hardcoded
paths to be set, which are not portable (see properties
of the wiiuse project, then Configuration, C/C++,
General: Additional Include Directories):
first the standard VS include path (!!), THEN the
include path for the windows DDK. Without those
settings in this order wiiuse can not be compiled
(known problems when compiling ddk code with
Visual Studio - google it). Also the path to the ddk
must be set as additional library directory.

View File

@ -63,7 +63,7 @@
<Tool <Tool
Name="VCLibrarianTool" Name="VCLibrarianTool"
AdditionalDependencies="setupapi.lib hid.lib" AdditionalDependencies="setupapi.lib hid.lib"
OutputFile="$(ProjectName).lib" OutputFile="../../../dependencies/lib/$(ProjectName).lib"
AdditionalLibraryDirectories="C:\WinDDK\lib\win7\i386" AdditionalLibraryDirectories="C:\WinDDK\lib\win7\i386"
/> />
<Tool <Tool

View File

@ -14,6 +14,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "enet", "enet.vcproj", "{B0E
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Irrlicht", "..\..\..\lib\irrlicht\source\Irrlicht\Irrlicht9.0.vcproj", "{E08E042A-6C45-411B-92BE-3CC31331019F}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Irrlicht", "..\..\..\lib\irrlicht\source\Irrlicht\Irrlicht9.0.vcproj", "{E08E042A-6C45-411B-92BE-3CC31331019F}"
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wiiuse", "..\..\..\lib\wiiuse\wiiuse\wiiuse.vcproj", "{FE4FCEBF-B53D-4B8A-81B0-F9AB059C8C83}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
debug|Win32 = debug|Win32 debug|Win32 = debug|Win32
@ -31,20 +33,23 @@ Global
{54AA44B9-B07B-49DA-8B1A-05BBFE8AD5D4}.debug|Win32.Build.0 = Debug|Win32 {54AA44B9-B07B-49DA-8B1A-05BBFE8AD5D4}.debug|Win32.Build.0 = Debug|Win32
{54AA44B9-B07B-49DA-8B1A-05BBFE8AD5D4}.Release|Win32.ActiveCfg = Release|Win32 {54AA44B9-B07B-49DA-8B1A-05BBFE8AD5D4}.Release|Win32.ActiveCfg = Release|Win32
{54AA44B9-B07B-49DA-8B1A-05BBFE8AD5D4}.Release|Win32.Build.0 = Release|Win32 {54AA44B9-B07B-49DA-8B1A-05BBFE8AD5D4}.Release|Win32.Build.0 = Release|Win32
{54AA44B9-B07B-49DA-8B1A-05BBFE8AD5D4}.wiiuse-debug|Win32.ActiveCfg = Debug|Win32 {54AA44B9-B07B-49DA-8B1A-05BBFE8AD5D4}.wiiuse-debug|Win32.ActiveCfg = Release|Win32
{54AA44B9-B07B-49DA-8B1A-05BBFE8AD5D4}.wiiuse-debug|Win32.Build.0 = Debug|Win32 {54AA44B9-B07B-49DA-8B1A-05BBFE8AD5D4}.wiiuse-debug|Win32.Build.0 = Release|Win32
{B0E92B97-089A-4D5B-BF17-77F1BC5DAEEF}.debug|Win32.ActiveCfg = Debug|Win32 {B0E92B97-089A-4D5B-BF17-77F1BC5DAEEF}.debug|Win32.ActiveCfg = Debug|Win32
{B0E92B97-089A-4D5B-BF17-77F1BC5DAEEF}.debug|Win32.Build.0 = Debug|Win32 {B0E92B97-089A-4D5B-BF17-77F1BC5DAEEF}.debug|Win32.Build.0 = Debug|Win32
{B0E92B97-089A-4D5B-BF17-77F1BC5DAEEF}.Release|Win32.ActiveCfg = Release|Win32 {B0E92B97-089A-4D5B-BF17-77F1BC5DAEEF}.Release|Win32.ActiveCfg = Release|Win32
{B0E92B97-089A-4D5B-BF17-77F1BC5DAEEF}.Release|Win32.Build.0 = Release|Win32 {B0E92B97-089A-4D5B-BF17-77F1BC5DAEEF}.Release|Win32.Build.0 = Release|Win32
{B0E92B97-089A-4D5B-BF17-77F1BC5DAEEF}.wiiuse-debug|Win32.ActiveCfg = Debug|Win32 {B0E92B97-089A-4D5B-BF17-77F1BC5DAEEF}.wiiuse-debug|Win32.ActiveCfg = Release|Win32
{B0E92B97-089A-4D5B-BF17-77F1BC5DAEEF}.wiiuse-debug|Win32.Build.0 = Debug|Win32 {B0E92B97-089A-4D5B-BF17-77F1BC5DAEEF}.wiiuse-debug|Win32.Build.0 = Release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.debug|Win32.ActiveCfg = Static lib - Debug|Win32 {E08E042A-6C45-411B-92BE-3CC31331019F}.debug|Win32.ActiveCfg = Static lib - Debug|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.debug|Win32.Build.0 = Static lib - Debug|Win32 {E08E042A-6C45-411B-92BE-3CC31331019F}.debug|Win32.Build.0 = Static lib - Debug|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.Release|Win32.ActiveCfg = Static lib - Release|Win32 {E08E042A-6C45-411B-92BE-3CC31331019F}.Release|Win32.ActiveCfg = Static lib - Release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.Release|Win32.Build.0 = Static lib - Release|Win32 {E08E042A-6C45-411B-92BE-3CC31331019F}.Release|Win32.Build.0 = Static lib - Release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.wiiuse-debug|Win32.ActiveCfg = SDL-Debug|Win32 {E08E042A-6C45-411B-92BE-3CC31331019F}.wiiuse-debug|Win32.ActiveCfg = Static lib - Release|Win32
{E08E042A-6C45-411B-92BE-3CC31331019F}.wiiuse-debug|Win32.Build.0 = SDL-Debug|Win32 {E08E042A-6C45-411B-92BE-3CC31331019F}.wiiuse-debug|Win32.Build.0 = Static lib - Release|Win32
{FE4FCEBF-B53D-4B8A-81B0-F9AB059C8C83}.debug|Win32.ActiveCfg = Debug|Win32
{FE4FCEBF-B53D-4B8A-81B0-F9AB059C8C83}.Release|Win32.ActiveCfg = Release|Win32
{FE4FCEBF-B53D-4B8A-81B0-F9AB059C8C83}.wiiuse-debug|Win32.ActiveCfg = Debug|Win32
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

View File

@ -299,7 +299,7 @@
Optimization="0" Optimization="0"
WholeProgramOptimization="false" WholeProgramOptimization="false"
AdditionalIncludeDirectories="../../../src;../../../lib/bullet/src;../../../lib/enet/include;../../../dependencies/include;../../../lib/irrlicht/include;../../../lib/;../../../lib/wiiuse/" AdditionalIncludeDirectories="../../../src;../../../lib/bullet/src;../../../lib/enet/include;../../../dependencies/include;../../../lib/irrlicht/include;../../../lib/;../../../lib/wiiuse/"
PreprocessorDefinitions="BT_NO_PROFILE;HAVE_OGGVORBIS;_DEBUG;_CONSOLE;WIN32;NOMINMAX;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;DEBUG;PACKAGE=\&quot;supertuxkart\&quot;;_CRTDBG_MAP_ALLOC;ENABLE_BIDI;ENABLE_WIIUSE;_IRR_STATIC_LIB_" PreprocessorDefinitions="BT_NO_PROFILE;HAVE_OGGVORBIS;_DEBUG;_CONSOLE;WIN32;NOMINMAX;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;DEBUG;PACKAGE=\&quot;supertuxkart\&quot;;_CRTDBG_MAP_ALLOC;ENABLE_BIDI;ENABLE_WIIUSE;_IRR_STATIC_LIB_;WIIUSE_STATIC"
GeneratePreprocessedFile="0" GeneratePreprocessedFile="0"
MinimalRebuild="true" MinimalRebuild="true"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
@ -324,7 +324,7 @@
AdditionalDependencies="opengl32.lib user32.lib gdi32.lib winmm.lib advapi32.lib OpenAL32.lib libogg.lib libvorbis.lib libvorbisfile.lib Irrlicht.lib ws2_32.lib fribidi.lib pthreadVC2.lib libcurl_imp.lib wiiuse.lib" AdditionalDependencies="opengl32.lib user32.lib gdi32.lib winmm.lib advapi32.lib OpenAL32.lib libogg.lib libvorbis.lib libvorbisfile.lib Irrlicht.lib ws2_32.lib fribidi.lib pthreadVC2.lib libcurl_imp.lib wiiuse.lib"
OutputFile="./../../../$(ProjectName)_wiiuse_d.exe" OutputFile="./../../../$(ProjectName)_wiiuse_d.exe"
LinkIncremental="2" LinkIncremental="2"
AdditionalLibraryDirectories="../../../dependencies/lib/;&quot;../../../lib/irrlicht/lib/Win32-visualstudio/&quot;" AdditionalLibraryDirectories="../../../dependencies/lib/;&quot;../../../lib/irrlicht/lib/Win32-visualstudio/&quot;;C:\WinDDK\lib\win7\i386"
IgnoreAllDefaultLibraries="false" IgnoreAllDefaultLibraries="false"
IgnoreDefaultLibraryNames="libcmt.lib" IgnoreDefaultLibraryNames="libcmt.lib"
GenerateDebugInformation="true" GenerateDebugInformation="true"