wscript 443 B

12345678910111213141516
  1. #! /usr/bin/env python
  2. # encoding: utf-8
  3. def options(opt):
  4. # We are using C++
  5. opt.load('compiler_cxx')
  6. def configure(conf):
  7. # We are using C++
  8. conf.load('compiler_cxx')
  9. def build(bld):
  10. bld.shlib(source='exLibC/src/exLibC.cpp', includes='exLibC/src/include', target='exampleLibC', export_includes='exLibC/src/include/')
  11. bld.program(source=bld.path.ant_glob('exProgLinkedC/src/*.cpp'), target='exampleProgLinkedC', use='exampleLibC')