Adding an icon to nxmhandler so that it looks pretty in firefox

This commit is contained in:
Tom Tanner
2015-03-28 10:39:40 +00:00
parent a1fdb54471
commit d6edcf4fa0
2 changed files with 7 additions and 9 deletions
+6 -8
View File
@@ -19,17 +19,15 @@ env.AppendUnique(LIBS = 'shell32')
runner = env.File(os.path.join('..', '..', 'pythonRunner', 'pythonRunner.dll'))
env.AppendUnique(RCFLAGS = [
'/dSCONS_VARIANT',
'/i"%s"' % runner.dir
])
runner_env = env.Clone()
runner_env.AppendUnique(CPPDEFINES = 'SCONS_BUILD')
runner_env.AppendUnique(CPPPATH = runner.dir)
rc = runner_env.RES('embedrunner.rc')
# Make sure we have the proper dependencies so it gets built
env.Depends('embedrunner.res', runner)
runner_env.Depends(rc, runner)
# There's a whole load of unused C++ files in here.
lib = env.SharedLibrary('proxyPython',
[ 'proxypython.cpp' ] + env.RES(env.Glob('*.rc')))
lib = env.SharedLibrary('proxyPython', [ 'proxypython.cpp' ] + rc)
env.InstallModule(lib)
+1 -1
View File
@@ -1,6 +1,6 @@
#include "resource.h"
#ifdef SCONS_VARIANT
#ifdef SCONS_BUILD
IDR_LOADER_DLL BINARY MOVEABLE PURE pythonRunner.dll
#else
#ifdef _DEBUG