X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc10103ec8203b5affe1a16b943049a2f27936bd..df135587addaaa316f7ab4606815086ef133e846:/tests/makefile.bcc diff --git a/tests/makefile.bcc b/tests/makefile.bcc index 1aaea9790f..286725c4aa 100644 --- a/tests/makefile.bcc +++ b/tests/makefile.bcc @@ -37,8 +37,12 @@ TEST_OBJECTS = \ $(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 \ @@ -146,7 +150,7 @@ $(OBJS): ### Targets: ### -all: $(OBJS)\test.exe +all: $(OBJS)\test.exe data clean: -if exist $(OBJS)\*.obj del $(OBJS)\*.obj @@ -163,6 +167,10 @@ $(OBJS)\test.exe: $(TEST_OBJECTS) c0x32.obj $(TEST_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, | +data: + if not exist $(OBJS) mkdir $(OBJS) + for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS) + $(OBJS)\test_test.obj: .\test.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $** @@ -184,12 +192,24 @@ $(OBJS)\test_filesys.obj: .\filesys\filesys.cpp $(OBJS)\test_arrays.obj: .\arrays\arrays.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $** +$(OBJS)\test_hashes.obj: .\hashes\hashes.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $** + $(OBJS)\test_longlong.obj: .\longlong\longlong.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $** $(OBJS)\test_strings.obj: .\strings\strings.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $** +$(OBJS)\test_stdstrings.obj: .\strings\stdstrings.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $** + +$(OBJS)\test_unicode.obj: .\strings\unicode.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $** + +$(OBJS)\test_crt.obj: .\strings\crt.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $** + $(OBJS)\test_bstream.obj: .\streams\bstream.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**