X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4827cbd9236a35e81322c4d054a4d88fa1228055..44dfb5ce92980483d077896c92cc5b388c33cf5e:/tests/makefile.wat?ds=inline diff --git a/tests/makefile.wat b/tests/makefile.wat index 4d92c5ce5c..c86e9acc7c 100644 --- a/tests/makefile.wat +++ b/tests/makefile.wat @@ -1,6 +1,6 @@ # ========================================================================= # This makefile was generated by -# Bakefile 0.1.3 (http://bakefile.sourceforge.net) +# Bakefile 0.1.4 (http://bakefile.sourceforge.net) # Do not modify, all changes will be overwritten! # ========================================================================= @@ -103,6 +103,13 @@ __RUNTIME_LIBS_5 = -br !ifeq RUNTIME_LIBS static __RUNTIME_LIBS_5 = !endif +__EXCEPTIONSFLAG_6 = +!ifeq USE_EXCEPTIONS 0 +__EXCEPTIONSFLAG_6 = +!endif +!ifeq USE_EXCEPTIONS 1 +__EXCEPTIONSFLAG_6 = -xr +!endif __EXCEPTIONSFLAG_7 = !ifeq USE_EXCEPTIONS 0 __EXCEPTIONSFLAG_7 = @@ -169,13 +176,26 @@ SETUPHDIR = & TEST_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) -bm $(__RUNTIME_LIBS_5) & -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) & -i=.\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) $(CPPUNIT_CFLAGS) & - $(__EXCEPTIONSFLAG_7) $(CPPFLAGS) $(CXXFLAGS) + $(__EXCEPTIONSFLAG_6) $(__EXCEPTIONSFLAG_7) $(CPPFLAGS) $(CXXFLAGS) TEST_OBJECTS = & $(OBJS)\test_test.obj & $(OBJS)\test_main.obj & $(OBJS)\test_formatconverter.obj & $(OBJS)\test_regex.obj & - $(OBJS)\test_filesys.obj + $(OBJS)\test_wxregex.obj & + $(OBJS)\test_filesys.obj & + $(OBJS)\test_arrays.obj & + $(OBJS)\test_hashes.obj & + $(OBJS)\test_longlong.obj & + $(OBJS)\test_strings.obj & + $(OBJS)\test_stdstrings.obj & + $(OBJS)\test_unicode.obj & + $(OBJS)\test_crt.obj & + $(OBJS)\test_bstream.obj & + $(OBJS)\test_ffilestream.obj & + $(OBJS)\test_filestream.obj & + $(OBJS)\test_memstream.obj & + $(OBJS)\test_zlibstream.obj all : $(OBJS) @@ -184,7 +204,7 @@ $(OBJS) : ### Targets: ### -all : .SYMBOLIC $(OBJS)\test.exe +all : .SYMBOLIC $(OBJS)\test.exe data clean : .SYMBOLIC -if exist $(OBJS)\*.obj del $(OBJS)\*.obj @@ -204,6 +224,10 @@ $(OBJS)\test.exe : $(TEST_OBJECTS) @%append $(OBJS)\test.lbc wlink @$(OBJS)\test.lbc +data : .SYMBOLIC + if not exist $(OBJS) mkdir $(OBJS) + for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS) + $(OBJS)\test_test.obj : .AUTODEPEND .\test.cpp $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< @@ -216,5 +240,44 @@ $(OBJS)\test_formatconverter.obj : .AUTODEPEND .\formatconverter\formatconverte $(OBJS)\test_regex.obj : .AUTODEPEND .\regex\regex.cpp $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< +$(OBJS)\test_wxregex.obj : .AUTODEPEND .\regex\wxregex.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + $(OBJS)\test_filesys.obj : .AUTODEPEND .\filesys\filesys.cpp $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + +$(OBJS)\test_arrays.obj : .AUTODEPEND .\arrays\arrays.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + +$(OBJS)\test_hashes.obj : .AUTODEPEND .\hashes\hashes.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + +$(OBJS)\test_longlong.obj : .AUTODEPEND .\longlong\longlong.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + +$(OBJS)\test_strings.obj : .AUTODEPEND .\strings\strings.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + +$(OBJS)\test_stdstrings.obj : .AUTODEPEND .\strings\stdstrings.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + +$(OBJS)\test_unicode.obj : .AUTODEPEND .\strings\unicode.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + +$(OBJS)\test_crt.obj : .AUTODEPEND .\strings\crt.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + +$(OBJS)\test_bstream.obj : .AUTODEPEND .\streams\bstream.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + +$(OBJS)\test_ffilestream.obj : .AUTODEPEND .\streams\ffilestream.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + +$(OBJS)\test_filestream.obj : .AUTODEPEND .\streams\filestream.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + +$(OBJS)\test_memstream.obj : .AUTODEPEND .\streams\memstream.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $< + +$(OBJS)\test_zlibstream.obj : .AUTODEPEND .\streams\zlibstream.cpp + $(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<