waf/playground/protoc/wscript

19 lines
308 B
Plaintext
Raw Normal View History

2012-09-27 21:08:26 +02:00
#! /usr/bin/env python
top = '.'
out = 'build'
def options(opt):
opt.load('compiler_cxx')
def configure(conf):
conf.load('compiler_cxx protoc')
def build(bld):
bld(
features = 'cxx cxxshlib',
source = ['inc/message_inc.proto','inc/message.proto'],
2012-09-27 21:08:26 +02:00
target = 'somelib',
includes = ['inc'])
2012-09-27 21:08:26 +02:00