2 Oct
2005
2 Oct
'05
5:08 p.m.
On 10/2/05, Dan Kegel <daniel.r.kegel(a)gmail.com> wrote:
To compile a test standalone, one should be able to do e.g. cd dlls/msvcrt/tests cl -DSTANDALONE -D_X86_ -I../../../include file.c
D'oh. No, it's not quite that simple to build standalone with cl; you have to avoid using wine's headers, like so: mkdir -p fauxinclude/wine ln -s ../../include/wine/test.h fauxinclude/wine cd dlls/msvcrt/tests cl -DSTANDALONE -D_X86_ -I../../../fauxinclude file.c And that works fine.