Line | |
---|
1 | @echo off |
---|
2 | echo Building libhoard.dll and libhoard.lib (ignore linker warnings). |
---|
3 | : We need to execute this if we change libhoard.cpp. |
---|
4 | @echo off |
---|
5 | cl /Iheaplayers /Iheaplayers/util /c /Zi /DNDEBUG /MD /Ox /Zp8 /Oy libhoard.cpp |
---|
6 | nm -g libhoard.obj > @@@.@@@ 2>NUL |
---|
7 | grep ' T ?' @@@.@@@ > @@@.@@1 2>NUL |
---|
8 | grep ' T \_' @@@.@@@ > @@@.@@2 2>NUL |
---|
9 | echo EXPORTS > libhoard.def |
---|
10 | sed 's/.* T //' @@@.@@1 | grep -v DllMain >> libhoard.def 2>NUL |
---|
11 | sed 's/.* T \_//' @@@.@@2 | grep -v DllMain >> libhoard.def 2>NUL |
---|
12 | erase @@@.@@@ |
---|
13 | erase @@@.@@1 |
---|
14 | erase @@@.@@2 |
---|
15 | cl /Iheaplayers /Iheaplayers/util /c /MD /DNDEBUG /Ox /Zp8 /Oy libhoard.cpp |
---|
16 | cl /Zi /LD libhoard.obj /o libhoard.dll /Ox /link /def:libhoard.def /force:multiple /subsystem:console /entry:_DllMainCRTStartup@12 |
---|
17 | |
---|
Note: See
TracBrowser
for help on using the repository browser.