[Scummvm-devel] MSVC9 -Project files

Daniel Franzini daniel.franzini at gmail.com
Fri Apr 3 00:31:57 CEST 2009


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

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

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


"Let us change our traditional attitude to the construction of
programs. Instead of imagining that our main task is to instruct a
computer what to do, let us concentrate rather on explaining to human
beings what we want a computer to do." (Donald Knuth)

"Yes, technogeeks can be funny, even if only to each other."

"Man is driven to create; I know I really love to create things. And
while I'm not good at painting, drawing, or music, I can write
software." (Yukihiro Matsumoto, a.k.a. ``Matz'')

More information about the Scummvm-devel mailing list