Files
bacnet_stack/bacnet-stack/build.sh
T
skarg c9d152bf15 Merged revision(s) 3044 from branches/releases/bacnet-stack-0-8-0:
Added BACnet/IPv6 datalink layer and example BACnet/IPv4 to BACnet/IPv6 router.
BVLC6 layer is working on Linux port without BBMD features yet. Win32 is implemented, untested.
Tested during BACnet North American Plugfest 2016.
........
2016-10-01 20:23:03 +00:00

24 lines
703 B
Bash
Executable File

#!/bin/sh
# Build script for MinGW
echo "Build with MinGW and MSYS: mingw.sourceforge.net"
# set PATH=C:\MinGW\msys\1.0\bin;C:\MinGW\bin
# assumes rm, cp, size are already in path
CC=gcc
AR=ar
MAKE=make
export CC AR MAKE
make BACNET_PORT=win32 BUILD=release clean all > /dev/null
# Build for MinGW debug
# make BACNET_PORT=win32 BUILD=debug clean all
# Build for MinGW MS/TP
# make BACNET_PORT=win32 BACDL_DEFINE=-DBACDL_MSTP=1 clean all
# make BACNET_PORT=win32 BACDL_DEFINE=-DBACDL_BIP6=1 clean all
# make BACDL_DEFINE=-DBACDL_BIP6=1 BUILD=debug clean all
# On Linux, install mingw32 and use this:
# make BACNET_PORT=win32 CC=i586-mingw32msvc-gcc AR=i586-mingw32msvc-ar clean all
echo "Complete!"