Initial commit

This commit is contained in:
2026-02-02 04:50:13 +01:00
commit 5b11698731
22592 changed files with 7677434 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
# Standard DDK Makefile
!include $(NTMAKEENV)\makefile.def

View File

@@ -0,0 +1,15 @@
# -*- Makefile -*-
#
# Tell the DDK how to generate RunTests.cpp from RunTests.tpl and the tests
#
PERL=perl
PYTHON=python
CXXTESTGEN=$(PERL) $(CXXTESTDIR)/cxxtestgen.pl
#CXXTESTGEN=$(PYTHON) $(CXXTESTDIR)/cxxtestgen.py
TEST_SUITES=$(SUITESDIR)/*.h
RunTests.cpp: RunTests.tpl $(TEST_SUITES)
$(CXXTESTGEN) -o $@ --template=RunTests.tpl $(TEST_SUITES)

View File

@@ -0,0 +1,13 @@
// -*- C++ -*-
//
// The DDK doesn't handle <iostream> too well
//
#include <cxxtest/StdioPrinter.h>
int __cdecl main()
{
return CxxTest::StdioPrinter().run();
}
<CxxTest world>

View File

@@ -0,0 +1,45 @@
# -*- Makefile -*-
#
# Build this sample with the Windows DDK (XP or later)
#
SUITESDIR=..
CXXTESTDIR=../..
#
# Build a user-mode application
#
TARGETNAME=RunTests
TARGETPATH=.
TARGETTYPE=PROGRAM
#
# Make it a console-mode app
#
UMTYPE=console
#
# Add CxxTest and tests directory to include path
#
INCLUDES=$(SUITESDIR);$(CXXTESTDIR)
#
# Enable exception handling and standard library
#
USE_NATIVE_EH=1
LINKER_FLAGS=$(LINKER_FLAGS) -IGNORE:4099
386_WARNING_LEVEL=-W3 -WX -wd4290
TARGETLIBS=\
$(CRT_LIB_PATH)\libcp.lib \
$(CRT_LIB_PATH)\libc.lib
#
# Only one source file -- the generated test runner
#
SOURCES=RunTests.cpp
#
# This line tells the build utility to process Makefile.inc
#
NTTARGETFILE0=RunTests.cpp