[Scummvm-devel] Theora's static library for MSVC in the nightly build
Mathieu BERGOUNIOUX
monsieurouxx at gmail.com
Thu Jan 20 21:10:11 CET 2011
I've edited "engines.mk", "configure" and "plugins.cpp" to disable every
other engines but mine, that has a very simple "module.mk" with pretty much
nothing.
then I've run "create_projet" again.
The command line is now :
/I"C:\Documents and Settings\mathieu\My
Documents\perso\dunerevival\svn\external_libs\msvc\include" /I"..\.."
/I"..\..\engines" /ZI /nologo /W4 /WX- /Od /Oy- /D "WIN32" /D "USE_ZLIB" /D
"USE_MAD" /D "USE_VORBIS" /D "USE_FLAC" /D "USE_PNG" /D "USE_THEORADEC" /D
"USE_SCALERS" /D "USE_HQ_SCALERS" /D "USE_RGB_COLOR" /D "USE_MT32EMU" /D
"USE_NASM" /D "USE_OPENGL" /D "USE_TRANSLATION" /D "USE_DETECTLANG" /D
"ENABLE_SCUMM" /D "ENABLE_SCUMM_7_8" /D "ENABLE_HE" /D "ENABLE_DUNE" /D
"SDL_BACKEND" /Gm /RTC1 /MTd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope
/GR- /Fp"Debug32/scummvm\scummvm.pch" /Fa"Debug32/scummvm\"
/Fo"Debug32/scummvm\" /Fd"Debug32/scummvm\vc100.pdb" /Gd /wd"4068" /wd"4100"
/wd"4103" /wd"4127" /wd"4244" /wd"4250" /wd"4310" /wd"4351" /wd"4512"
/wd"4702" /wd"4706" /wd"4800" /wd"4996" /wd"6204" /wd"6211" /wd"6385"
/wd"6386" /analyze- /errorReport:queue
It can be seen inside VC2010 in Project Properties-->Configuration
Properties-->C/C++-->Command line.
As you can see, it still has "/D 'ENABLE_THEORADEC'".
When I go to Project Properties-->Configuration
Properties-->C/C++-->Preprocessor and try to edit "Preprocessor
definitions", those switches appear grayed out, and are labelled "inherited
values".
I don't know from what they are inherited, and where I can disable
ENABLE_THEORADEC.
2011/1/20 Mathieu BERGOUNIOUX <monsieurouxx at gmail.com>
> > But in any case you will need libtheora only in case you enable sword25
> > engine which is not enabled by default.
>
> After running create_project "USE_THEORADEC" is enabled for both Visual
> Studio 2010 and Code::blocks, even when generating only the Stable engines.
>
> 2011/1/20 Eugene Sandulenko <sev at scummvm.org>
>
> On Thu, 20 Jan 2011 18:30:24 +0000
>> Mathieu BERGOUNIOUX <monsieurouxx at gmail.com> wrote:
>>
>> > Hello again,
>> >
>> > This continues this forum thread :
>> >
>> http://forums.scummvm.org/viewtopic.php?t=9829&sid=4017b194bd31e3d718e458019648d704
>> > Sev asked me to move on to the mailing list.
>> >
>> > So, the question remains the same:
>> > >>> At the moment, does one need to build the libtheora.lib file
>> > >>> ourselves?
>> > Not that I'm too lazy to do it, but I'm not very comfortable with
>> > linking.
>> Well, nobody prepared the build yet, so probably yes, unless there are
>> pre-built packages for your toolchain.
>>
>> But in any case you will need libtheora only in case you enable sword25
>> engine which is not enabled by default.
>>
>>
>> Eugene
>>
>
>
>
> --
> Dites-le avec un smiley :-)
>
>
--
Dites-le avec un smiley :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20110120/a8892b2b/attachment.html>
More information about the Scummvm-devel
mailing list