[Scummvm-devel] MSVC9 -Project files

Norbert Lange lange at chello.at
Mon Apr 20 00:04:35 CEST 2009


Just a heads-up - I added the Patch today, the projects for 24 Engines are  
simpler now.

Cheers, Norbert

Am 03.04.2009, 00:31 Uhr, schrieb Daniel Franzini  
<daniel.franzini at gmail.com>:

> Hi
> I'm a student applying for GSoC 2009. I would like to make an entire
> new build system (as described in the OpenTasks page in the wiki) for
> ScummVM based on CMake. CMake is able to generate MSVC project files
> for compiling with various MSVC versions, as well as MinGW + MSYS and
> makefiles for Linux. It also can replace the funcionality of
> autotools.
> As far as I know by watching people's comments and by talking directly
> to Max, those project files are outdated and manually updated. I will
> try those myself tonight and report what I discover on this subject.
> Note that I checked out the ScummVM and tools tree recently and I will
> try the files which are in the current tree. If anyone has a new,
> improved project file, feel free to send it so I can test it
> alongside.
> thanks in advance
> On Thu, Apr 2, 2009 at 3:17 PM, Norbert Lange <lange at chello.at> wrote:
>> How are they kept up to date (Im assuming they are just done by hand
>> periodically)?
>> Cause they could use some work, and I did just that... like enabling
>> Flac-support and moving the defines in a global settings file so you  
>> dont
>> need to add/remove preprocessor directives like "USE_FLAC" for every
>> engine/project, and did a similar thing for compiler+linker settings.
>> If theres need or interest I can upload some patches, I`d need to clean
>> the workspace up a bit before that though.
>> Also, a question about the Programmstart, this is how its done currently
>> on Win32:
>> *) #define main as SDL_Main (is it just me or is this buttugly?)
>> [SDL_Main.h#50]
>> *) implement WinMain() to initialise SDL, then call main() (which is a
>> macro to SDL_Main)
>> *) setup linker for a console-app
>> *) and then manually specify WinMain() as entrypoint?
>> whats speaking against the simple way of just adding the needed couple  
>> of
>> lines to initialise SDL in the normal main() routine instead?
>> .
>> #if defined (WIN32)
>>        SDL_SetModuleHandle(GetModuleHandle(NULL));
>> #endif
>> .
>> done that and it compiles, links and runs just fine. This weird
>> main-renaming stuff aint needed IMHO!?! (might be it was needed  
>> sometime)
>> Cheers, Norbert
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Scummvm-devel mailing list
>> Scummvm-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/scummvm-devel

More information about the Scummvm-devel mailing list