add first source and waf build script
This commit is contained in:
1 parent
6da834d6f9
commit
8d6729841e
3 files changed
+51
No files matched your search
@@ -0,0 +1,25 @@
|
||||
def options(opt):
|
||||
opt.load("compiler_c")
|
||||
opt.load("vala")
|
||||
|
||||
def configure(conf):
|
||||
conf.load("compiler_c")
|
||||
conf.load("vala")
|
||||
conf.check_cfg(
|
||||
package = "glib-2.0",
|
||||
uselib_store = "GLIB",
|
||||
mandatory = 1,
|
||||
args = "--cflags --libs")
|
||||
conf.check_cfg(
|
||||
package = "gtk+-3.0",
|
||||
uselib_store = "GTK",
|
||||
mandatory = 1,
|
||||
args = "--cflags --libs")
|
||||
|
||||
def build(bld):
|
||||
bld.program(
|
||||
packages = "gtk+-3.0",
|
||||
target = "vala-file-chooser",
|
||||
uselib = "GTK GLIB",
|
||||
source = bld.path.ant_glob("src/**/*.vala")
|
||||
)
|
||||
Reference in new issue
Block a user