-
Notifications
You must be signed in to change notification settings - Fork 0
/
makeP.bat
35 lines (26 loc) · 1.13 KB
/
makeP.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
REM echo Visual C++ product directory could not be found.
rem echo Set nttools to Visual C++ product directory.
rem echo Set LIB and INCLUDE appropriately.
rem set nttools=
rem set LIB=
rem set INCLUDE=
if defined ProgramFiles(x86) (
ECHO "This is a 64-bit OS."
SET "PF=%ProgramFiles(x86)%"
) else (
ECHO "This is a 32-bit OS."
SET "PF=%ProgramFiles%"
)
for %%f in ("%PF%\Bentley\MicroStation V8i (SELECTseries)\Microstation") do set MS=%%~sf
rem set MS=%PF%\Bentley\MicroStation V8i (SELECTseries)\Microstation
MSMDE=%MS%
set BMAKE_OPT=-I%MS%\mdl\include -I%MS%\jmdl\include
set PATH=;%MS%;%MS%\mdl\bin;%MS%\jmdl\bin;%PATH%
set CLASSPATH=.;%MS%\jmdl\lib\rt.jar;%MS%\jmdl\lib\jmdlsdk.jar;%MS%\jmdl\lib\swingall.jar;%MS%\jmdl\lib\bentley.jar;%MS%\jmdl;%CLASSPATH%
set MLINK_STDLIB=%MS%\mdl\library\builtin.dlo %MS%\mdl\library\dgnfileio.dlo %MS%\mdl\library\toolsubs.dlo
rem C:
rem cd \Programme\Bentley\Program\MicroStation\mdl\examples\PLTPNT\
#set PolicyFileMapMki=$(MSMDE)mdl/include/MdlSdkPolicyFileNames.mki
#set PolicyFileNamesMki=$(MSMDE)mdl/include/MdlSdkPolicyFileNames.mki
BMAKE PLTPNT.mke