blob: 4fea142eb21660952b84942ab1587aa2d0de03b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
!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
|