2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-02 06:50:26 +01:00
waf/playground/eclipse/c/wscript
Federico Pellegrin 11d5efca68 eclipse: added a playground area for testing the eclipse extra (#1968)
* eclipse: added a playground area for testing the eclipse extra

* eclipse: try to clean up a bit the playground by collapsing some wscripts
2017-05-23 21:23:47 +02:00

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')