awtk/tools/preview_ui/SConscript
2023-03-02 18:28:06 +08:00

11 lines
311 B
Python

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"])