You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
waf_old/playground/eclipse/c/wscript

17 lines
443 B
Python

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