mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
12 lines
370 B
Bash
Executable file
12 lines
370 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
|
|
libname=${OUTPUT_BASE}${LIBEXT}
|
|
|
|
# build library with -release
|
|
$DMD -m${MODEL} -I${EXTRA_FILES} -of${libname} -release -boundscheck=off -lib ${EXTRA_FILES}${SEP}lib846.d
|
|
|
|
# use lib with -debug
|
|
$DMD -m${MODEL} -I${EXTRA_FILES} -of${OUTPUT_BASE}${EXE} -debug ${EXTRA_FILES}${SEP}main846.d ${libname}
|
|
|
|
rm_retry ${OUTPUT_BASE}{${OBJ},${EXE},${LIBEXT}}
|