finished merge of cairocanvas with windows and windows+cc branches

This commit is contained in:
Paul Davis 2014-01-10 17:11:10 -05:00
commit 658bb3ccd4
101 changed files with 4097 additions and 237 deletions

View file

@ -10,6 +10,7 @@ import glob
import os
import subprocess
import sys
import shutil
from waflib import Configure, Context, Logs, Node, Options, Task, Utils
from waflib.TaskGen import feature, before, after
@ -91,6 +92,12 @@ def set_options(opt, debug_by_default=False):
help="LV2 bundles [Default: LIBDIR/lv2]")
g_step = 1
def copyfile (task):
# a cross-platform utility for copying files as part of tasks
src = task.inputs[0].abspath()
tgt = task.outputs[0].abspath()
shutil.copy2 (src, tgt)
def check_header(conf, lang, name, define='', mandatory=True):
"Check for a header"
includes = '' # search default system include paths