Bug correction for Windows x64 compilation code.

There seems to be an issue when creating the def file, so this was
removed. Also an absolute path which was included by accident was
removed.
This commit is contained in:
Demetrios Eliades
2015-07-04 15:18:55 +03:00
parent cdbd08acca
commit ce633b61bd

View File

@@ -9,7 +9,6 @@ echo %SDK_PATH%
CALL "%SDK_PATH%bin\"SetEnv.cmd /x64 /release CALL "%SDK_PATH%bin\"SetEnv.cmd /x64 /release
rem : set path for source EPANET files rem : set path for source EPANET files
SET SRC_PATH="D:\Projects\EPANET\Open Source\Code\owa\EPANET\src"
cd ..\..\src cd ..\..\src
set SRC_PATH=%CD% set SRC_PATH=%CD%
@@ -18,7 +17,7 @@ del %SRC_PATH%\*.exe
rem : do the magic ... rem : do the magic ...
rem : create EPANET2.DLL rem : create EPANET2.DLL
cl -o epanet2.dll epanet.c hash.c hydraul.c inpfile.c input1.c input2.c input3.c mempool.c output.c quality.c report.c rules.c smatrix.c /I ..\include /I ..\run /link /DLL /def:..\build\winsdk\epanet2.def /MAP cl -o epanet2.dll epanet.c hash.c hydraul.c inpfile.c input1.c input2.c input3.c mempool.c output.c quality.c report.c rules.c smatrix.c /I ..\include /I ..\run /link /DLL
rem : create EPANET2.EXE rem : create EPANET2.EXE
cl -o epanet2.exe epanet.c ..\run\main.c hash.c hydraul.c inpfile.c input1.c input2.c input3.c mempool.c output.c quality.c report.c rules.c smatrix.c /I ..\include /I ..\run /I ..\src /link cl -o epanet2.exe epanet.c ..\run\main.c hash.c hydraul.c inpfile.c input1.c input2.c input3.c mempool.c output.c quality.c report.c rules.c smatrix.c /I ..\include /I ..\run /I ..\src /link