-
Notifications
You must be signed in to change notification settings - Fork 0
/
makeP_VS2012.bat
39 lines (27 loc) · 1.21 KB
/
makeP_VS2012.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
36
37
38
39
@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%"
)
rem for %%f in ("%PF%\Bentley\MicroStation V8i (SELECTseries)\Microstation") do set MS=%%~sf\
rem set MS=%PF%\Bentley\MicroStation V8i (SELECTseries)\Microstation
set 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%
rem 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\
rem set PolicyFileMapMki=$(MSMDE)/mdl/include/MdlSdkPolicyFileNames.mki
rem set PolicyFileNamesMki=$(MSMDE)/mdl/include/MdlSdkPolicyFileNames.mki
rem -dDLM_NO_NTBSADDR
BMAKE -a -dDLM_NO_SIGN +dBUILD_USING_VS2012 PLTPNT.mke