Code

Export. Fix PS/EPS export (Bug #698340, PS Level Restriction reversed.
[inkscape.git] / cxxtest / sample / Makefile.msvc
1 #
2 # Makefile for Microsoft Visual C++
3 # Make sure cl.exe is in the PATH (run vcvars.bat) or change CXXC below
4 #
6 # For the Win32 GUI
7 WIN32_FLAGS = user32.lib
9 # For the Qt GUI
10 # QTDIR = c:\qt
11 QT_FLAGS = -I$(QTDIR)/include $(QTDIR)/lib/qt.lib
13 TARGETS = error_printer.exe stdio_printer.exe yes_no_runner.exe file_printer.exe aborter.exe only.exe
14 GUI_TARGETS = win32_runner.exe qt_runner.exe
15 TESTS = *.h
16 GUI_TESTS = gui/GreenYellowRed.h $(TESTS)
17 TESTGEN = perl -w ../cxxtestgen.pl
18 CXXC = cl.exe -GX -W3 -WX -I. -I..
20 all: $(TARGETS)
22 clean:
23         del *~ *.o *.obj 
24         del $(TARGETS) 
25         del $(GUI_TARGETS)
26         del tests.cpp error_printer.cpp stdio_printer.cpp file_printer.cpp aborter.cpp only.cpp
27         del win32_runner.cpp qt_runner.cpp
29 distclean: clean
30         del Makefile
32 run: error_printer.exe
33         error_printer.exe
35 run_win32: win32_runner.exe
36         win32_runner.exe
38 run_qt: qt_runner.exe
39         qt_runner.exe
41 error_printer.cpp: $(TESTS)
42         $(TESTGEN) -o error_printer.cpp --error-printer $(TESTS)
44 stdio_printer.cpp: $(TESTS)
45         $(TESTGEN) -o stdio_printer.cpp --runner=StdioPrinter $(TESTS)
47 file_printer.cpp: file_printer.tpl $(TESTS)
48         $(TESTGEN) -o file_printer.cpp --template=file_printer.tpl $(TESTS)
50 aborter.cpp: aborter.tpl $(TESTS)
51         $(TESTGEN) -o aborter.cpp --template=aborter.tpl $(TESTS)
53 only.cpp: only.tpl $(TESTS)
54         $(TESTGEN) -o only.cpp --template=only.tpl $(TESTS)
56 tests.cpp: $(TESTS)
57         $(TESTGEN) -o tests.cpp $(TESTS)
59 win32_runner.cpp: $(GUI_TESTS)
60         $(TESTGEN) -o win32_runner.cpp --gui=Win32Gui $(GUI_TESTS)
62 qt_runner.cpp: $(GUI_TESTS)
63         $(TESTGEN) -o qt_runner.cpp --gui=QtGui $(GUI_TESTS)
65 error_printer.exe: error_printer.cpp
66         $(CXXC) -o error_printer.exe error_printer.cpp
68 stdio_printer.exe: stdio_printer.cpp
69         $(CXXC) -o stdio_printer.exe stdio_printer.cpp
71 file_printer.exe: file_printer.cpp
72         $(CXXC) -o file_printer.exe file_printer.cpp
74 only.exe: only.cpp
75         $(CXXC) -o only.exe only.cpp
77 aborter.exe: aborter.cpp
78         $(CXXC) -o aborter.exe aborter.cpp
80 yes_no_runner.exe: yes_no_runner.cpp tests.cpp
81         $(CXXC) -o yes_no_runner.exe yes_no_runner.cpp tests.cpp
83 win32_runner.exe: win32_runner.cpp
84         $(CXXC) -o win32_runner.exe win32_runner.cpp $(WIN32_FLAGS)
86 qt_runner.exe: qt_runner.cpp
87         $(CXXC) -o qt_runner.exe qt_runner.cpp $(QT_FLAGS)
89 #
90 # Local Variables:
91 # compile-command: "nmake -fMakefile.msvc"
92 # End:
93 #