X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b8ccf332184543defe484acd79ad0f3d38f798f..ce00f59b5b169752d2f05ce3bb1a88ddc1b38b4c:/tests/makefile.bcc?ds=sidebyside diff --git a/tests/makefile.bcc b/tests/makefile.bcc index bfc3d4729f..f3637caa94 100644 --- a/tests/makefile.bcc +++ b/tests/makefile.bcc @@ -53,6 +53,8 @@ TEST_OBJECTS = \ $(OBJS)\test_stopwatch.obj \ $(OBJS)\test_timertest.obj \ $(OBJS)\test_exec.obj \ + $(OBJS)\test_dir.obj \ + $(OBJS)\test_filefn.obj \ $(OBJS)\test_filetest.obj \ $(OBJS)\test_filekind.obj \ $(OBJS)\test_filenametest.obj \ @@ -61,13 +63,20 @@ TEST_OBJECTS = \ $(OBJS)\test_formatconvertertest.obj \ $(OBJS)\test_fswatchertest.obj \ $(OBJS)\test_hashes.obj \ + $(OBJS)\test_output.obj \ + $(OBJS)\test_input.obj \ $(OBJS)\test_intltest.obj \ $(OBJS)\test_lists.obj \ $(OBJS)\test_logtest.obj \ $(OBJS)\test_longlongtest.obj \ $(OBJS)\test_convautotest.obj \ $(OBJS)\test_mbconvtest.obj \ + $(OBJS)\test_dynamiclib.obj \ + $(OBJS)\test_environ.obj \ + $(OBJS)\test_metatest.obj \ $(OBJS)\test_misctests.obj \ + $(OBJS)\test_module.obj \ + $(OBJS)\test_pathlist.obj \ $(OBJS)\test_typeinfotest.obj \ $(OBJS)\test_ipc.obj \ $(OBJS)\test_socket.obj \ @@ -120,7 +129,9 @@ TEST_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ $(CXXFLAGS) TEST_GUI_OBJECTS = \ $(OBJS)\test_gui_dummy.obj \ + $(OBJS)\test_gui_asserthelper.obj \ $(OBJS)\test_gui_test.obj \ + $(OBJS)\test_gui_testableframe.obj \ $(OBJS)\test_gui_rect.obj \ $(OBJS)\test_gui_size.obj \ $(OBJS)\test_gui_point.obj \ @@ -129,15 +140,47 @@ TEST_GUI_OBJECTS = \ $(OBJS)\test_gui_ellipsization.obj \ $(OBJS)\test_gui_measuring.obj \ $(OBJS)\test_gui_config.obj \ + $(OBJS)\test_gui_bitmapcomboboxtest.obj \ + $(OBJS)\test_gui_bitmaptogglebuttontest.obj \ + $(OBJS)\test_gui_bookctrlbasetest.obj \ + $(OBJS)\test_gui_buttontest.obj \ + $(OBJS)\test_gui_checkboxtest.obj \ + $(OBJS)\test_gui_checklistboxtest.obj \ + $(OBJS)\test_gui_choicebooktest.obj \ + $(OBJS)\test_gui_choicetest.obj \ $(OBJS)\test_gui_comboboxtest.obj \ + $(OBJS)\test_gui_frametest.obj \ + $(OBJS)\test_gui_gaugetest.obj \ + $(OBJS)\test_gui_gridtest.obj \ $(OBJS)\test_gui_headerctrltest.obj \ + $(OBJS)\test_gui_hyperlinkctrltest.obj \ + $(OBJS)\test_gui_itemcontainertest.obj \ $(OBJS)\test_gui_label.obj \ + $(OBJS)\test_gui_listbasetest.obj \ + $(OBJS)\test_gui_listbooktest.obj \ + $(OBJS)\test_gui_listboxtest.obj \ $(OBJS)\test_gui_listctrltest.obj \ + $(OBJS)\test_gui_listviewtest.obj \ + $(OBJS)\test_gui_notebooktest.obj \ + $(OBJS)\test_gui_pickerbasetest.obj \ + $(OBJS)\test_gui_pickertest.obj \ + $(OBJS)\test_gui_radioboxtest.obj \ + $(OBJS)\test_gui_radiobuttontest.obj \ + $(OBJS)\test_gui_rearrangelisttest.obj \ + $(OBJS)\test_gui_richtextctrltest.obj \ + $(OBJS)\test_gui_slidertest.obj \ + $(OBJS)\test_gui_spinctrldbltest.obj \ + $(OBJS)\test_gui_spinctrltest.obj \ $(OBJS)\test_gui_textctrltest.obj \ $(OBJS)\test_gui_textentrytest.obj \ + $(OBJS)\test_gui_togglebuttontest.obj \ + $(OBJS)\test_gui_toolbooktest.obj \ + $(OBJS)\test_gui_treebooktest.obj \ $(OBJS)\test_gui_treectrltest.obj \ + $(OBJS)\test_gui_windowtest.obj \ $(OBJS)\test_gui_clone.obj \ $(OBJS)\test_gui_propagation.obj \ + $(OBJS)\test_gui_keyboard.obj \ $(OBJS)\test_gui_fonttest.obj \ $(OBJS)\test_gui_image.obj \ $(OBJS)\test_gui_rawbmp.obj \ @@ -219,6 +262,10 @@ ____CAIRO_INCLUDEDIR_FILENAMES_3_p = -i$(CAIRO_ROOT)\include\cairo !if "$(SHARED)" == "1" __DLLFLAG_p_3 = -dWXUSINGDLL !endif +!if "$(MONOLITHIC)" == "0" +__WXLIB_RICHTEXT_p = \ + wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_richtext.lib +!endif !if "$(MONOLITHIC)" == "0" && "$(USE_MEDIA)" == "1" __WXLIB_MEDIA_p = \ wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_media.lib @@ -383,7 +430,7 @@ $(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS) !if "$(USE_GUI)" == "1" $(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) -ap $(____CAIRO_LIBDIR_FILENAMES) $(LDFLAGS) @&&| - c0x32.obj $(TEST_GUI_OBJECTS),$@,, $(__WXLIB_MEDIA_p) $(__WXLIB_XRC_p) $(__WXLIB_XML_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__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 $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\test_gui_sample.res + c0x32.obj $(TEST_GUI_OBJECTS),$@,, $(__WXLIB_RICHTEXT_p) $(__WXLIB_MEDIA_p) $(__WXLIB_XRC_p) $(__WXLIB_XML_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_NET_p) $(__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 $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__CAIRO_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_0).lib,, $(OBJS)\test_gui_sample.res | !endif @@ -446,6 +493,12 @@ $(OBJS)\test_timertest.obj: .\events\timertest.cpp $(OBJS)\test_exec.obj: .\exec\exec.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\exec\exec.cpp +$(OBJS)\test_dir.obj: .\file\dir.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\file\dir.cpp + +$(OBJS)\test_filefn.obj: .\file\filefn.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\file\filefn.cpp + $(OBJS)\test_filetest.obj: .\file\filetest.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\file\filetest.cpp @@ -470,6 +523,12 @@ $(OBJS)\test_fswatchertest.obj: .\fswatcher\fswatchertest.cpp $(OBJS)\test_hashes.obj: .\hashes\hashes.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\hashes\hashes.cpp +$(OBJS)\test_output.obj: .\interactive\output.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\interactive\output.cpp + +$(OBJS)\test_input.obj: .\interactive\input.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\interactive\input.cpp + $(OBJS)\test_intltest.obj: .\intl\intltest.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\intl\intltest.cpp @@ -488,9 +547,24 @@ $(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp $(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\mbconv\mbconvtest.cpp +$(OBJS)\test_dynamiclib.obj: .\misc\dynamiclib.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\dynamiclib.cpp + +$(OBJS)\test_environ.obj: .\misc\environ.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\environ.cpp + +$(OBJS)\test_metatest.obj: .\misc\metatest.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\metatest.cpp + $(OBJS)\test_misctests.obj: .\misc\misctests.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\misctests.cpp +$(OBJS)\test_module.obj: .\misc\module.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\module.cpp + +$(OBJS)\test_pathlist.obj: .\misc\pathlist.cpp + $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\pathlist.cpp + $(OBJS)\test_typeinfotest.obj: .\misc\typeinfotest.cpp $(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) .\misc\typeinfotest.cpp @@ -623,9 +697,15 @@ $(OBJS)\test_gui_sample.res: .\..\samples\sample.rc $(OBJS)\test_gui_dummy.obj: .\dummy.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) -H .\dummy.cpp +$(OBJS)\test_gui_asserthelper.obj: .\asserthelper.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\asserthelper.cpp + $(OBJS)\test_gui_test.obj: .\test.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\test.cpp +$(OBJS)\test_gui_testableframe.obj: .\testableframe.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\testableframe.cpp + $(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\geometry\rect.cpp @@ -650,33 +730,129 @@ $(OBJS)\test_gui_measuring.obj: .\graphics\measuring.cpp $(OBJS)\test_gui_config.obj: .\config\config.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\config\config.cpp +$(OBJS)\test_gui_bitmapcomboboxtest.obj: .\controls\bitmapcomboboxtest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\bitmapcomboboxtest.cpp + +$(OBJS)\test_gui_bitmaptogglebuttontest.obj: .\controls\bitmaptogglebuttontest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\bitmaptogglebuttontest.cpp + +$(OBJS)\test_gui_bookctrlbasetest.obj: .\controls\bookctrlbasetest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\bookctrlbasetest.cpp + +$(OBJS)\test_gui_buttontest.obj: .\controls\buttontest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\buttontest.cpp + +$(OBJS)\test_gui_checkboxtest.obj: .\controls\checkboxtest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\checkboxtest.cpp + +$(OBJS)\test_gui_checklistboxtest.obj: .\controls\checklistboxtest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\checklistboxtest.cpp + +$(OBJS)\test_gui_choicebooktest.obj: .\controls\choicebooktest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\choicebooktest.cpp + +$(OBJS)\test_gui_choicetest.obj: .\controls\choicetest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\choicetest.cpp + $(OBJS)\test_gui_comboboxtest.obj: .\controls\comboboxtest.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\comboboxtest.cpp +$(OBJS)\test_gui_frametest.obj: .\controls\frametest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\frametest.cpp + +$(OBJS)\test_gui_gaugetest.obj: .\controls\gaugetest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\gaugetest.cpp + +$(OBJS)\test_gui_gridtest.obj: .\controls\gridtest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\gridtest.cpp + $(OBJS)\test_gui_headerctrltest.obj: .\controls\headerctrltest.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\headerctrltest.cpp +$(OBJS)\test_gui_hyperlinkctrltest.obj: .\controls\hyperlinkctrltest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\hyperlinkctrltest.cpp + +$(OBJS)\test_gui_itemcontainertest.obj: .\controls\itemcontainertest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\itemcontainertest.cpp + $(OBJS)\test_gui_label.obj: .\controls\label.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\label.cpp +$(OBJS)\test_gui_listbasetest.obj: .\controls\listbasetest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\listbasetest.cpp + +$(OBJS)\test_gui_listbooktest.obj: .\controls\listbooktest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\listbooktest.cpp + +$(OBJS)\test_gui_listboxtest.obj: .\controls\listboxtest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\listboxtest.cpp + $(OBJS)\test_gui_listctrltest.obj: .\controls\listctrltest.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\listctrltest.cpp +$(OBJS)\test_gui_listviewtest.obj: .\controls\listviewtest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\listviewtest.cpp + +$(OBJS)\test_gui_notebooktest.obj: .\controls\notebooktest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\notebooktest.cpp + +$(OBJS)\test_gui_pickerbasetest.obj: .\controls\pickerbasetest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\pickerbasetest.cpp + +$(OBJS)\test_gui_pickertest.obj: .\controls\pickertest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\pickertest.cpp + +$(OBJS)\test_gui_radioboxtest.obj: .\controls\radioboxtest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\radioboxtest.cpp + +$(OBJS)\test_gui_radiobuttontest.obj: .\controls\radiobuttontest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\radiobuttontest.cpp + +$(OBJS)\test_gui_rearrangelisttest.obj: .\controls\rearrangelisttest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\rearrangelisttest.cpp + +$(OBJS)\test_gui_richtextctrltest.obj: .\controls\richtextctrltest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\richtextctrltest.cpp + +$(OBJS)\test_gui_slidertest.obj: .\controls\slidertest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\slidertest.cpp + +$(OBJS)\test_gui_spinctrldbltest.obj: .\controls\spinctrldbltest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\spinctrldbltest.cpp + +$(OBJS)\test_gui_spinctrltest.obj: .\controls\spinctrltest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\spinctrltest.cpp + $(OBJS)\test_gui_textctrltest.obj: .\controls\textctrltest.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\textctrltest.cpp $(OBJS)\test_gui_textentrytest.obj: .\controls\textentrytest.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\textentrytest.cpp +$(OBJS)\test_gui_togglebuttontest.obj: .\controls\togglebuttontest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\togglebuttontest.cpp + +$(OBJS)\test_gui_toolbooktest.obj: .\controls\toolbooktest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\toolbooktest.cpp + +$(OBJS)\test_gui_treebooktest.obj: .\controls\treebooktest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\treebooktest.cpp + $(OBJS)\test_gui_treectrltest.obj: .\controls\treectrltest.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\treectrltest.cpp +$(OBJS)\test_gui_windowtest.obj: .\controls\windowtest.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\controls\windowtest.cpp + $(OBJS)\test_gui_clone.obj: .\events\clone.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\events\clone.cpp $(OBJS)\test_gui_propagation.obj: .\events\propagation.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\events\propagation.cpp +$(OBJS)\test_gui_keyboard.obj: .\events\keyboard.cpp + $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\events\keyboard.cpp + $(OBJS)\test_gui_fonttest.obj: .\font\fonttest.cpp $(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) .\font\fonttest.cpp