• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2
3!ifndef Config
4Config=Debug
5!endif
6
7O=..\..\bin\$(Config)
8
9!message Building ===== $(Config) =====
10
11program=testbench.exe
12INCLUDE=$(INCLUDE);../src
13
14!if "$(Config)"=="Debug"
15OPTIONS=/Od
16!else
17OPTIONS=/Ox
18!endif
19OPTIONS=$(OPTIONS) /Zi /I$(BOOST) /DBOOST_RESULT_OF_USE_DECLTYPE
20
21runtests : "$O/$(program)"
22  "$O/$(program)"
23
24
25all : "$O/$(program)"
26
27$O :
28  mkdir $O
29
30"$O/$(program)" : testbench.cpp testbench.hpp ../src/cpplinq/*.hpp $O
31  $(CPP) $(OPTIONS) /EHsc /Zi /Fe"$@" /Fo$O/ testbench.cpp
32
33clean :
34  del /Q $O\*.exe
35  del /Q $O\*.pdb
36  del /Q $O\*.obj
37  del /Q $O\*.ilk
38