예제 #1
0
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
Lesser General Public License for more details.
"""
prefix = ""
valac = "valac"
valaflags = ""
cc = "gcc"
cflags = "-g ./build/icon.res -Wl,-subsystem,windows "
ldflags = ""
library_cflags = "-Wl,-subsystem,windows "
library_ldflags = ""
library = "libbirdfont.dll"

import configfile

configfile.write_config(prefix)
configfile.write_compile_parameters(".\\\\", "build", "gcc", "gee-1.0")

import build
from translations import compile_translations

from run import run

compile_translations()
run("windres ./resources/win32/icon.rc -O coff -o ./build/icon.res")
build.libbirdfont(prefix, cc, cflags, library_ldflags, valac, valaflags,
                  library)
build.birdfont_export(prefix, cc, cflags, ldflags, valac, valaflags, library)

print("Done")
예제 #2
0
This library is distributed in the hope that it will be useful, but 
WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
Lesser General Public License for more details.
"""
prefix = ""
valac = "valac"
valaflags = ""
cc = "gcc"
cflags = "-g ./build/icon.res -Wl,-subsystem,windows "
ldflags = ""
library_cflags = "-Wl,-subsystem,windows "
library_ldflags= "";
library = "libbirdfont.dll"

import configfile
configfile.write_config (prefix)
configfile.write_compile_parameters (".\\\\", "build", "gcc", "gee-1.0")

import build
from translations import compile_translations

from run import run

compile_translations()
run("windres ./resources/win32/icon.rc -O coff -o ./build/icon.res")
build.libbirdfont(prefix, cc, cflags, library_ldflags, valac, valaflags, library)
build.birdfont_export(prefix, cc, cflags, ldflags, valac, valaflags, library)

print ("Done")
예제 #3
0
This library is distributed in the hope that it will be useful, but 
WITHOUT ANY WARRANTY; without even the implied warranty of 
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
Lesser General Public License for more details.
"""
prefix = ""
valac = "valac"
valaflags = ""
cc = "gcc"
cflags = "-Wl,-subsystem,windows "
ldflags = ""
library_ldflags= "";

import configfile
configfile.write_config (prefix)
configfile.write_compile_parameters (".\\\\", "build", "gcc", "gee-0.8", "False")

import build
from translations import compile_translations

from run import run

compile_translations()
build.libbirdgems(prefix, cc, cflags, library_ldflags, valac, valaflags, "libbirdgems.dll")
build.libbirdfont(prefix, cc, cflags, library_ldflags, valac, valaflags, "libbirdfont.dll")

run ("cp build/bin/libbirdfont.dll ./")
run ("gcc -Wl,-subsystem,windows -Wl,--output-def,build/bin/libbirdfont.def,--out-implib -shared -Wl,-soname,libbirdfont.dll libbirdfont.dll")
run ("rm libbirdfont.dll")

#FIMXE