mirror of
https://github.com/unittest-cpp/unittest-cpp
synced 2026-09-27 00:28:49 +03:00
Included the project files as well as the automatically generated makefiles. The library compiles without issues. Borland requires the UnitTest namespace to be defined at the beginning of tests. Added an default to have no support for C++11. Added a Borland to the list of compilers that don't recognize "long long" but use __int64 instead.
25 lines
968 B
Text
25 lines
968 B
Text
#------------------------------------------------------------------------------
|
|
VERSION = BWS.01
|
|
#------------------------------------------------------------------------------
|
|
!ifndef ROOT
|
|
ROOT = $(MAKEDIR)\..
|
|
!endif
|
|
#------------------------------------------------------------------------------
|
|
MAKE = $(ROOT)\bin\make.exe -$(MAKEFLAGS) -f$**
|
|
DCC = $(ROOT)\bin\dcc32.exe $**
|
|
BRCC = $(ROOT)\bin\brcc32.exe $**
|
|
#------------------------------------------------------------------------------
|
|
PROJECTS = UnitTestcppLib.lib UnitTestcppTest.exe
|
|
#------------------------------------------------------------------------------
|
|
default: $(PROJECTS)
|
|
#------------------------------------------------------------------------------
|
|
|
|
UnitTestcppLib.lib: UnitTestcppLib.bpr
|
|
$(ROOT)\bin\bpr2mak -t$(ROOT)\bin\deflib.bmk $**
|
|
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
|
|
|
|
UnitTestcppTest.exe: UnitTestcppTest.bpr
|
|
$(ROOT)\bin\bpr2mak $**
|
|
$(ROOT)\bin\make -$(MAKEFLAGS) -f$*.mak
|
|
|
|
|