You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
579 B

!ifndef Config
Config=Debug
!endif
O=..\..\bin\$(Config)
!message Building ===== $(Config) =====
program=testbench.exe
INCLUDE=$(INCLUDE);../src
!if "$(Config)"=="Debug"
OPTIONS=/Od
!else
OPTIONS=/Ox
!endif
OPTIONS=$(OPTIONS) /Zi /I$(BOOST) /DBOOST_RESULT_OF_USE_DECLTYPE
runtests : "$O/$(program)"
"$O/$(program)"
all : "$O/$(program)"
$O :
mkdir $O
"$O/$(program)" : testbench.cpp testbench.hpp ../src/cpplinq/*.hpp $O
$(CPP) $(OPTIONS) /EHsc /Zi /Fe"$@" /Fo$O/ testbench.cpp
clean :
del /Q $O\*.exe
del /Q $O\*.pdb
del /Q $O\*.obj
del /Q $O\*.ilk