-
Notifications
You must be signed in to change notification settings - Fork 1
/
make_bcc_dll.bat
executable file
·35 lines (25 loc) · 1.01 KB
/
make_bcc_dll.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
set make=make
REM install necessary makefiles to folders
copy confdir\bcc32static\make.all Makefile
copy confdir\bcc32dll\make.src src\Makefile
copy confdir\bcc32static\make.lst.src src\make.lst
copy confdir\bcc32static\make.pro test\Makefile
copy confdir\bcc32dll\make.lst.test test\make.lst
copy confdir\bcc32static\make.pro demo\Makefile
copy confdir\bcc32dll\make.lst.demo demo\make.lst
REM test for LEDA-5.0 include structure
if not exist %LEDAROOT%\incl\LEDA\system\basic.h goto leda_l_5
echo LEDAFLAGS = $(LEDAFLAGS) -DLEDA_GE_V5 >> test\make.lst
echo LEDAFLAGS = $(LEDAFLAGS) -DLEDA_GE_V5 >> demo\make.lst
echo LEDAFLAGS = $(LEDAFLAGS) -DLEDA_GE_V5 >> src\make.lst
:leda_l_5
REM not check about LEDA 6.0 and library paths
if exist %LEDAROOT%\libGeoW.lib goto leda_l_6
echo LEDALIBS = leda.lib >> test\make.lst
echo LEDALIBS = leda.lib >> demo\make.lst
:leda_l_6
echo LEDALIBS = leda.lib >> test\make.lst
echo LEDALIBS = leda.lib libGeoW.lib >> demo\make.lst
%make%
set make=