2019-03-19 23:17:46 +01:00
|
|
|
#! /usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
# mittorn, 2018
|
|
|
|
|
|
|
|
from waflib import Logs
|
|
|
|
import os
|
|
|
|
|
|
|
|
top = '.'
|
|
|
|
|
|
|
|
def options(opt):
|
|
|
|
# stub
|
|
|
|
return
|
|
|
|
|
|
|
|
def configure(conf):
|
2019-05-28 03:12:02 +02:00
|
|
|
# stub
|
|
|
|
return
|
2019-03-19 23:17:46 +01:00
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
source = bld.path.ant_glob(['*.c'])
|
2019-03-20 00:40:47 +01:00
|
|
|
libs = []
|
2019-03-19 23:17:46 +01:00
|
|
|
includes = [ '.', '../common', '../engine' ]
|
|
|
|
|
|
|
|
bld.stlib(
|
|
|
|
source = source,
|
2019-03-24 23:25:44 +01:00
|
|
|
target = 'public',
|
2019-03-19 23:17:46 +01:00
|
|
|
features = 'c',
|
|
|
|
includes = includes,
|
|
|
|
use = libs,
|
|
|
|
subsystem = bld.env.MSVC_SUBSYSTEM
|
|
|
|
)
|