Windows: Compile geany_private.rc into Geany.exe for version data and icon
This commit is contained in:
parent
36f01551b2
commit
f032067443
5
wscript
5
wscript
@ -140,6 +140,8 @@ geany_sources = set([
|
|||||||
'src/templates.c', 'src/toolbar.c', 'src/tools.c', 'src/sidebar.c',
|
'src/templates.c', 'src/toolbar.c', 'src/tools.c', 'src/sidebar.c',
|
||||||
'src/ui_utils.c', 'src/utils.c'])
|
'src/ui_utils.c', 'src/utils.c'])
|
||||||
|
|
||||||
|
geany_bin_sources = set(['src/main.c'])
|
||||||
|
|
||||||
geany_icons = {
|
geany_icons = {
|
||||||
'hicolor/16x16/apps': ['16x16/classviewer-class.png',
|
'hicolor/16x16/apps': ['16x16/classviewer-class.png',
|
||||||
'16x16/classviewer-macro.png',
|
'16x16/classviewer-macro.png',
|
||||||
@ -456,6 +458,7 @@ def build(bld):
|
|||||||
if is_win32:
|
if is_win32:
|
||||||
geany_sources.add('src/win32.c')
|
geany_sources.add('src/win32.c')
|
||||||
geany_sources.add('geany_private.rc')
|
geany_sources.add('geany_private.rc')
|
||||||
|
geany_bin_sources.add('geany_private.rc')
|
||||||
|
|
||||||
def gen_signallist(task):
|
def gen_signallist(task):
|
||||||
from xml.etree import ElementTree
|
from xml.etree import ElementTree
|
||||||
@ -502,7 +505,7 @@ def build(bld):
|
|||||||
features = ['c', 'cxx'],
|
features = ['c', 'cxx'],
|
||||||
name = 'geany_bin',
|
name = 'geany_bin',
|
||||||
target = 'geany',
|
target = 'geany',
|
||||||
source = ['src/main.c'],
|
source = geany_bin_sources,
|
||||||
includes = ['.', 'scintilla/include', 'tagmanager/src'],
|
includes = ['.', 'scintilla/include', 'tagmanager/src'],
|
||||||
defines = ['G_LOG_DOMAIN="Geany"', 'GEANY_PRIVATE'],
|
defines = ['G_LOG_DOMAIN="Geany"', 'GEANY_PRIVATE'],
|
||||||
uselib = base_uselibs + ['geanyexport'],
|
uselib = base_uselibs + ['geanyexport'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user