3 setup.add_option(:name => "dlib-dir", :type => "path", :optional => false, :description => "Sets the dlib dir")
4 setup.add_option(:name => "yamf-dir", :type => "path", :optional => false, :description => "Sets the yamf dir")
6 setup.find_package("yamf", false, :global => true)
8 setup.generate_pkgconfig(:package_name => "dash", :name => "Dash", :description => "", :version => "0.1alpha", :libdir => nil, :includedir => nil, :libs => "-L${libdir} -ldash", :cflags => "-I${includedir}", :requires => ["yamf"] )
11 def setup_pkgconfig(pkgconfig, args)
12 pkgconfig.add_search_path(args["dlib-dir"]+"/lib/pkgconfig")
13 pkgconfig.add_search_path(args["yamf-dir"]+"/lib/pkgconfig")
16 def setup_test(id, test, args)
19 def setup_config(cfg, args)
20 cfg.add_define("__STDC_CONSTANT_MACROS")
21 cfg.add_qtmodule("xml")
22 cfg.add_qtmodule("svg")