diff options
Diffstat (limited to 'src/SConscript')
-rw-r--r-- | src/SConscript | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/SConscript b/src/SConscript new file mode 100644 index 0000000..765501b --- /dev/null +++ b/src/SConscript @@ -0,0 +1,17 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +import sys +import os.path + +env = Environment() + +libs = ['boost_python', 'exiv2'] +env.Append(LIBS=libs) + +pythonIncPath = os.path.join(sys.prefix, 'include', 'python' + sys.version[:3]) +env.Append(CPPPATH=[pythonIncPath]) + +cppSources = ['libpyexiv2.cpp', 'libpyexiv2_wrapper.cpp'] + +env.SharedLibrary('libpyexiv2', cppSources) |