awtk/tools/preview_ui/SConscript

11 lines
311 B
Python
Raw Normal View History

2023-03-02 18:28:06 +08:00
import os
import sys
env=DefaultEnvironment().Clone()
BIN_DIR=os.environ['BIN_DIR'];
LIB_DIR=os.environ['LIB_DIR'];
env['LIBS'] = os.environ['AWTK_SHARED_LIBS'].split(';')
env['LINKFLAGS'] = env['OS_SUBSYSTEM_WINDOWS'] + env['LINKFLAGS'];
env.Program(os.path.join(BIN_DIR, 'preview_ui'), ["preview_ui.c"])