Commit 7b883f63395e8c714d4253ddcd969d434d72a040

Authored by Perry Werneck
1 parent b7f6660f
Exists in master and in 1 other branch develop

Finalizing MSVC based build.

Showing 3 changed files with 11 additions and 6 deletions   Show diff stats
build.bat 0 → 100644
@@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
  1 +@echo off
  2 +nmake /f win\Makefile.msc
clean.bat 0 → 100644
@@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
  1 +@echo off
  2 +nmake /f win\Makefile.msc clean
win/Makefile.msc
@@ -69,13 +69,13 @@ OBJ_FILES= \ @@ -69,13 +69,13 @@ OBJ_FILES= \
69 69
70 .cc.obj: 70 .cc.obj:
71 @echo Compiling... 71 @echo Compiling...
72 - $(CPP) \ 72 + @$(CPP) \
73 /c \ 73 /c \
74 - /DPACKAGE_NAME=ipc3270 \ 74 + /DPACKAGE_NAME=\"ipc3270\" \
75 /DPRODUCT_NAME=$(PRODUCT_NAME) \ 75 /DPRODUCT_NAME=$(PRODUCT_NAME) \
76 /DLIB3270_NAME=$(LIB3270_NAME) \ 76 /DLIB3270_NAME=$(LIB3270_NAME) \
77 - /DDEBUG=1 \  
78 - /I"C:\msys64\project\pw3270\ipc\client\src\include" \ 77 + /DNDEBUG=1 \
  78 + /I".\client\src\include" \
79 /I"$(PW3270_SDK_PATH)\include" \ 79 /I"$(PW3270_SDK_PATH)\include" \
80 /EHsc \ 80 /EHsc \
81 /Fo"$@" \ 81 /Fo"$@" \
@@ -85,7 +85,7 @@ testprogram.exe: \ @@ -85,7 +85,7 @@ testprogram.exe: \
85 client\src\testprogram\testprogram.obj \ 85 client\src\testprogram\testprogram.obj \
86 ipc3270.dll 86 ipc3270.dll
87 @echo Build exe file.... 87 @echo Build exe file....
88 - link \ 88 + @link \
89 /nologo \ 89 /nologo \
90 /OUT:"$@" \ 90 /OUT:"$@" \
91 client\src\testprogram\testprogram.obj 91 client\src\testprogram\testprogram.obj
@@ -93,7 +93,7 @@ testprogram.exe: \ @@ -93,7 +93,7 @@ testprogram.exe: \
93 install: \ 93 install: \
94 $(OBJ_FILES) 94 $(OBJ_FILES)
95 @echo Building library... 95 @echo Building library...
96 - lib \ 96 + @lib \
97 /NOLOGO \ 97 /NOLOGO \
98 /OUT:"$(PW3270_SDK_PATH)\lib\ipc3270.lib" \ 98 /OUT:"$(PW3270_SDK_PATH)\lib\ipc3270.lib" \
99 $(OBJ_FILES) 99 $(OBJ_FILES)
@@ -127,4 +127,5 @@ clean: @@ -127,4 +127,5 @@ clean:
127 ipc3270.lib \ 127 ipc3270.lib \
128 ipc3270.dll \ 128 ipc3270.dll \
129 $(OBJ_FILES) \ 129 $(OBJ_FILES) \
  130 + client\src\core\windows\dynamic\init.obj \
130 testprogram.* 131 testprogram.*