Skip to content

Instantly share code, notes, and snippets.

#! /usr/bin/env python
# encoding: utf-8
import os
from Configure import conf
import Options
APPNAME='args'
VERSION='1.0.0'
def build(bld):
my_includes = [str(bld.env.LIBMTE),
str(bld.env.LIBMICROHTTPD)+'/include',
str(bld.env.LIBZMQ)+'/include']
protocc_full_path = os.path.join(bld.env.PROTOBUFC,"bin","protoc-c")
bld(rule="%s ${SRC} -I../src --c_out=src/" % protocc_full_path, source="src/admin.proto", target=["src/admin.pb-c.c", "src/admin.pb-c.h"])
bld(