build-side of UUID reversion
git-svn-id: svn://localhost/ardour2/branches/3.0@8764 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b6b0d83965
commit
0e32134ed4
|
@ -36,6 +36,8 @@ def configure(conf):
|
||||||
conf.check_tool('compiler_cxx')
|
conf.check_tool('compiler_cxx')
|
||||||
autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
|
autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
|
||||||
autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0')
|
autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0')
|
||||||
|
if sys.platform != 'darwin':
|
||||||
|
autowaf.check_pkg(conf, 'uuid', uselib_store='UUID')
|
||||||
|
|
||||||
conf.check(function_name='getmntent', header_name='mntent.h', define_name='HAVE_GETMNTENT')
|
conf.check(function_name='getmntent', header_name='mntent.h', define_name='HAVE_GETMNTENT')
|
||||||
conf.check(header_name='execinfo.h', define_name='HAVE_EXECINFO')
|
conf.check(header_name='execinfo.h', define_name='HAVE_EXECINFO')
|
||||||
|
@ -48,7 +50,7 @@ def configure(conf):
|
||||||
# Boost headers
|
# Boost headers
|
||||||
autowaf.check_header(conf, 'boost/shared_ptr.hpp')
|
autowaf.check_header(conf, 'boost/shared_ptr.hpp')
|
||||||
autowaf.check_header(conf, 'boost/weak_ptr.hpp')
|
autowaf.check_header(conf, 'boost/weak_ptr.hpp')
|
||||||
autowaf.check_header(conf, 'boost/uuid/uuid.hpp')
|
# autowaf.check_header(conf, 'boost/uuid/uuid.hpp')
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
# Library
|
# Library
|
||||||
|
@ -113,7 +115,7 @@ def build(bld):
|
||||||
obj.includes = ['.']
|
obj.includes = ['.']
|
||||||
obj.name = 'libpbd'
|
obj.name = 'libpbd'
|
||||||
obj.target = 'pbd'
|
obj.target = 'pbd'
|
||||||
obj.uselib = 'GLIBMM SIGCPP XML SNDFILE'
|
obj.uselib = 'GLIBMM SIGCPP XML UUID SNDFILE'
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
TaskGen.task_gen.mappings['.mm'] = TaskGen.task_gen.mappings['.cc']
|
TaskGen.task_gen.mappings['.mm'] = TaskGen.task_gen.mappings['.cc']
|
||||||
obj.source += 'cocoa_open_uri.mm'
|
obj.source += 'cocoa_open_uri.mm'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user