diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -165,8 +165,8 @@ def configure(conf): def build(bld): # C/C++ Headers includedir = '${INCLUDEDIR}/sord-%s/sord' % SORD_MAJOR_VERSION - bld.install_files(includedir, bld.path.ant_glob('sord/*.h')) - bld.install_files(includedir, bld.path.ant_glob('sord/*.hpp')) + bld.install_files(includedir, bld.path.ant_glob('include/sord/*.h')) + bld.install_files(includedir, bld.path.ant_glob('include/sord/*.hpp')) # Pkgconfig file autowaf.build_pc(bld, 'SORD', SORD_VERSION, SORD_MAJOR_VERSION, [], @@ -187,8 +187,8 @@ def build(bld): if bld.env.BUILD_SHARED: obj = bld(features = 'c cshlib', source = source, - includes = ['.', './src'], - export_includes = ['.'], + includes = ['include', './src'], + export_includes = ['include'], name = 'libsord', target = 'sord-%s' % SORD_MAJOR_VERSION, vnum = SORD_VERSION, @@ -202,8 +202,8 @@ def build(bld): if bld.env.BUILD_STATIC: obj = bld(features = 'c cstlib', source = source, - includes = ['.', './src'], - export_includes = ['.'], + includes = ['include', './src'], + export_includes = ['include'], name = 'libsord_static', target = 'sord-%s' % SORD_MAJOR_VERSION, vnum = SORD_VERSION, @@ -223,7 +223,7 @@ def build(bld): # Profiled static library for test coverage obj = bld(features = 'c cstlib', source = source, - includes = ['.', './src'], + includes = ['include', './src'], name = 'libsord_profiled', target = 'sord_profiled', install_path = '', @@ -236,7 +236,7 @@ def build(bld): # Unit test program obj = bld(features = 'c cprogram', source = 'src/sord_test.c', - includes = ['.', './src'], + includes = ['include', './src'], use = 'libsord_profiled', lib = test_libs, target = 'sord_test', @@ -249,7 +249,7 @@ def build(bld): # Static profiled sordi for tests obj = bld(features = 'c cprogram', source = 'src/sordi.c', - includes = ['.', './src'], + includes = ['include', './src'], use = 'libsord_profiled', lib = test_libs, target = 'sordi_static', @@ -263,7 +263,7 @@ def build(bld): if bld.env.COMPILER_CXX: obj = bld(features = 'cxx cxxprogram', source = 'src/sordmm_test.cpp', - includes = ['.', './src'], + includes = ['include', './src'], use = 'libsord_profiled', lib = test_libs, target = 'sordmm_test', @@ -281,7 +281,7 @@ def build(bld): for i in utils: obj = bld(features = 'c cprogram', source = 'src/%s.c' % i, - includes = ['.', './src'], + includes = ['include', './src'], use = 'libsord', lib = libs, uselib = 'SERD', |