Added bat-file for compile project, modify stdafx.h (ignore the macro __field_ecount_opt if it has already been declared).

git-svn-id: https://pykd.svn.codeplex.com/svn@61460 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\evtanazia_cp 2011-02-14 14:38:15 +00:00
parent fa076cf50a
commit a7bd2fd5e8
2 changed files with 25 additions and 1 deletions

23
pykd/make.bat Normal file
View File

@ -0,0 +1,23 @@
@set CL=/nologo /EHsc /LD /I%BOOST_ROOT% /I%PYTHON_ROOT%\include /I%DBG_SDK_ROOT%\inc
@rc /fo resource.res pykd.rc > nul
@cvtres /out:resource.obj /nologo /machine:x86 resource.res
@cl pykd.cpp ^
dbgcmd.cpp ^
dbgdump.cpp ^
dbgext.cpp ^
dbgmem.cpp ^
dbgmodule.cpp ^
dbgpath.cpp ^
dbgprint.cpp ^
dbgprocess.cpp ^
dbgreg.cpp ^
dbgsession.cpp ^
dbgsym.cpp ^
dbgsystem.cpp ^
dbgtype.cpp ^
stdafx.cpp ^
pykd.def ^
resource.obj ^
%PYTHON_ROOT%\libs\python26.lib ^
%DBG_SDK_ROOT%\lib\i386\dbgeng.lib
@if exist *.obj del *.obj

View File

@ -31,8 +31,9 @@
#ifndef __field_ecount_opt
#define __field_ecount_opt(x) #define __field_ecount_opt(x)
#endif // __field_ecount_opt
#define BOOST_PYTHON_STATIC_LIB #define BOOST_PYTHON_STATIC_LIB