| 1 |
# -*- Makefile -*- |
| 2 |
|
| 3 |
# |
| 4 |
# Build this sample with the Windows DDK (XP or later) |
| 5 |
# |
| 6 |
SUITESDIR=.. |
| 7 |
CXXTESTDIR=../.. |
| 8 |
|
| 9 |
# |
| 10 |
# Build a user-mode application |
| 11 |
# |
| 12 |
TARGETNAME=RunTests |
| 13 |
TARGETPATH=. |
| 14 |
TARGETTYPE=PROGRAM |
| 15 |
|
| 16 |
# |
| 17 |
# Make it a console-mode app |
| 18 |
# |
| 19 |
UMTYPE=console |
| 20 |
|
| 21 |
# |
| 22 |
# Add CxxTest and tests directory to include path |
| 23 |
# |
| 24 |
INCLUDES=$(SUITESDIR);$(CXXTESTDIR) |
| 25 |
|
| 26 |
# |
| 27 |
# Enable exception handling and standard library |
| 28 |
# |
| 29 |
USE_NATIVE_EH=1 |
| 30 |
LINKER_FLAGS=$(LINKER_FLAGS) -IGNORE:4099 |
| 31 |
386_WARNING_LEVEL=-W3 -WX -wd4290 |
| 32 |
|
| 33 |
TARGETLIBS=\ |
| 34 |
$(CRT_LIB_PATH)\libcp.lib \ |
| 35 |
$(CRT_LIB_PATH)\libc.lib |
| 36 |
|
| 37 |
# |
| 38 |
# Only one source file -- the generated test runner |
| 39 |
# |
| 40 |
SOURCES=RunTests.cpp |
| 41 |
|
| 42 |
# |
| 43 |
# This line tells the build utility to process Makefile.inc |
| 44 |
# |
| 45 |
NTTARGETFILE0=RunTests.cpp |
| 46 |
|