awtk/tools/res_gen/SConscript

15 lines
285 B
Python
Raw Normal View History

2018-04-01 08:12:52 +08:00
import os
import sys
env=DefaultEnvironment().Clone()
BIN_DIR=os.environ['BIN_DIR'];
LIB_DIR=os.environ['LIB_DIR'];
env['LIBS'] = ['common'] + env['LIBS']
env['LINKFLAGS'] = env['OS_SUBSYSTEM_CONSOLE'] + env['LINKFLAGS'];
2018-04-01 08:12:52 +08:00
env.Program(os.path.join(BIN_DIR, 'resgen'), ["main.c"])