pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] [pingus] push by address@hidden - Include icon in Win32 bui


From: pingus
Subject: [Pingus-CVS] [pingus] push by address@hidden - Include icon in Win32 build, use -mwindows on Win32 to prevent console... on 2011-10-20 19:19 GMT
Date: Thu, 20 Oct 2011 19:24:05 +0000

Revision: 2ab24d5ce56a
Author:   Ingo Ruhnke <address@hidden>
Date:     Thu Oct 20 12:19:12 2011
Log: Include icon in Win32 build, use -mwindows on Win32 to prevent console window from opening

Fixes issue 96

http://code.google.com/p/pingus/source/detail?r=2ab24d5ce56a

Modified:
 /SConscript.win32

=======================================
--- /SConscript.win32   Mon Oct 17 19:21:08 2011
+++ /SConscript.win32   Thu Oct 20 12:19:12 2011
@@ -21,6 +21,7 @@
                               
'/home/ingo/projects/mingw32/run/opt/SDL_image-1.2.10/lib',
                               
'/home/ingo/projects/mingw32/run/opt/SDL_mixer-1.2.11/lib',
'/home/ingo/projects/mingw32/run/opt/gtk/lib' ],
+                  LINKFLAGS = [ '-mwindows' ],
LIBS = [ 'mingw32', 'SDLmain', "SDL", "SDL_mixer", "SDL_image", "boost_signals", "png",
                            'opengl32', 'glu32' ])

@@ -51,8 +52,11 @@
                Glob('src/util/*.cpp') + \
                Glob('src/win32/*.cpp')

+pingus_res = Command('src/win32/pingus.o', 'src/win32/pingus.rc',
+                     'i586-mingw32msvc-windres $SOURCE $TARGET')
+
env.Append(CPPDEFINES = ['WIN32', ('VERSION', '"\\"%s\\""' % package_version)])
 env.Append(CPPPATH=['external/tinygettext'])
-env.Program("pingus", pingus_sources)
+env.Program("pingus", pingus_sources + pingus_res)

 # EOF #



reply via email to

[Prev in Thread] Current Thread [Next in Thread]