applied path 906264: test program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
47
Makefile.in
47
Makefile.in
@@ -58,7 +58,7 @@ HOST_SUFFIX = @HOST_SUFFIX@
|
|||||||
### Variables: ###
|
### Variables: ###
|
||||||
|
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
WX_VERSION = 2.5.1
|
WX_VERSION = 2.5.2
|
||||||
LIBDIRNAME = $(top_builddir)lib
|
LIBDIRNAME = $(top_builddir)lib
|
||||||
WXREGEX_CFLAGS = $(CPPFLAGS) $(CFLAGS)
|
WXREGEX_CFLAGS = $(CPPFLAGS) $(CFLAGS)
|
||||||
WXREGEX_OBJECTS = \
|
WXREGEX_OBJECTS = \
|
||||||
@@ -1002,9 +1002,9 @@ LOCALE_LINGUAS = ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk zh zh_
|
|||||||
@COND_UNICODE_1@WXUNICODEFLAG = u
|
@COND_UNICODE_1@WXUNICODEFLAG = u
|
||||||
@COND_WXUNIV_1@WXUNIVNAME = univ
|
@COND_WXUNIV_1@WXUNIVNAME = univ
|
||||||
@COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIX = wx_base$(WXBASEPORT)
|
@COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIX = wx_base$(WXBASEPORT)
|
||||||
@COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIX = wxbase$(WXBASEPORT)251
|
@COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIX = wxbase$(WXBASEPORT)252
|
||||||
@COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME)
|
@COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME)
|
||||||
@COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = wx$(PORTNAME)$(WXUNIVNAME)251
|
@COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = wx$(PORTNAME)$(WXUNIVNAME)252
|
||||||
@COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG = -2.5
|
@COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG = -2.5
|
||||||
@COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG =
|
@COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG =
|
||||||
COND_WXUSE_REGEX_BUILTIN___wxregex___depname = \
|
COND_WXUSE_REGEX_BUILTIN___wxregex___depname = \
|
||||||
@@ -1043,8 +1043,8 @@ COND_WXUSE_REGEX_BUILTIN___wxregex___depname = \
|
|||||||
@COND_WXUSE_EXPAT_BUILTIN@ $(LIBDIRNAME)/$(LIBPREFIX)wxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX).a
|
@COND_WXUSE_EXPAT_BUILTIN@ $(LIBDIRNAME)/$(LIBPREFIX)wxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX).a
|
||||||
@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@__install_wxexpat___depname \
|
@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@__install_wxexpat___depname \
|
||||||
@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@ = install_wxexpat
|
@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@ = install_wxexpat
|
||||||
@COND_PLATFORM_UNIX_0@PLUGIN_VERSION0 = 251
|
@COND_PLATFORM_UNIX_0@PLUGIN_VERSION0 = 252
|
||||||
@COND_PLATFORM_UNIX_1@PLUGIN_VERSION0 = 2.5.1
|
@COND_PLATFORM_UNIX_1@PLUGIN_VERSION0 = 2.5.2
|
||||||
@COND_PLATFORM_UNIX_0@PLUGVERDELIM =
|
@COND_PLATFORM_UNIX_0@PLUGVERDELIM =
|
||||||
@COND_PLATFORM_UNIX_1@PLUGVERDELIM = -
|
@COND_PLATFORM_UNIX_1@PLUGVERDELIM = -
|
||||||
@COND_BUILD_DEBUG_UNICODE_0@PLUGINSUFFIX = _d
|
@COND_BUILD_DEBUG_UNICODE_0@PLUGINSUFFIX = _d
|
||||||
@@ -1414,6 +1414,7 @@ COND_TOOLKIT_MOTIF_GUI_HDR = \
|
|||||||
wx/motif/cursor.h \
|
wx/motif/cursor.h \
|
||||||
wx/motif/dataform.h \
|
wx/motif/dataform.h \
|
||||||
wx/motif/dataobj.h \
|
wx/motif/dataobj.h \
|
||||||
|
wx/motif/dataobj2.h \
|
||||||
wx/motif/dc.h \
|
wx/motif/dc.h \
|
||||||
wx/motif/dcclient.h \
|
wx/motif/dcclient.h \
|
||||||
wx/motif/dcmemory.h \
|
wx/motif/dcmemory.h \
|
||||||
@@ -5476,9 +5477,9 @@ COND_WITH_PLUGIN_SDL_1___sound_sdl___depname = \
|
|||||||
@COND_WITH_PLUGIN_SDL_1@__install_sound_sdl___depname = install_sound_sdl
|
@COND_WITH_PLUGIN_SDL_1@__install_sound_sdl___depname = install_sound_sdl
|
||||||
@COND_USE_GUI_1@__install_afm___depname = install-afm
|
@COND_USE_GUI_1@__install_afm___depname = install-afm
|
||||||
@COND_USE_GUI_1@__install_gsafm___depname = install-gsafm
|
@COND_USE_GUI_1@__install_gsafm___depname = install-gsafm
|
||||||
@COND_TOOLKIT_MAC@__macos_res___depname = lib/libwx_$(TOOLCHAIN_NAME).1.r
|
@COND_TOOLKIT_MAC@__macos_res___depname = lib/libwx_$(TOOLCHAIN_NAME).2.r
|
||||||
@COND_TOOLKIT_MAC@__macos_res_install___depname = macos-res-install
|
@COND_TOOLKIT_MAC@__macos_res_install___depname = macos-res-install
|
||||||
@COND_TOOLKIT_COCOA@__cocoa_res___depname = lib/libwx_$(TOOLCHAIN_NAME).1.r
|
@COND_TOOLKIT_COCOA@__cocoa_res___depname = lib/libwx_$(TOOLCHAIN_NAME).2.r
|
||||||
@COND_TOOLKIT_COCOA@__cocoa_res_install___depname = cocoa-res-install
|
@COND_TOOLKIT_COCOA@__cocoa_res_install___depname = cocoa-res-install
|
||||||
@COND_TOOLKIT_COCOA@__LOWLEVEL_SRC_OBJECTS =
|
@COND_TOOLKIT_COCOA@__LOWLEVEL_SRC_OBJECTS =
|
||||||
COND_TOOLKIT_GTK___LOWLEVEL_SRC_OBJECTS = \
|
COND_TOOLKIT_GTK___LOWLEVEL_SRC_OBJECTS = \
|
||||||
@@ -6180,13 +6181,13 @@ COND_TOOLKIT_X11___LOWLEVEL_SRC_OBJECTS_9 = \
|
|||||||
corelib_utilsx.o \
|
corelib_utilsx.o \
|
||||||
corelib_window.o
|
corelib_window.o
|
||||||
@COND_TOOLKIT_X11@__LOWLEVEL_SRC_OBJECTS_9 = $(COND_TOOLKIT_X11___LOWLEVEL_SRC_OBJECTS_9)
|
@COND_TOOLKIT_X11@__LOWLEVEL_SRC_OBJECTS_9 = $(COND_TOOLKIT_X11___LOWLEVEL_SRC_OBJECTS_9)
|
||||||
@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@dll___targetsuf2 = .$(SO_SUFFIX).1
|
@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@dll___targetsuf2 = .$(SO_SUFFIX).2
|
||||||
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@dll___targetsuf2 = .1.$(SO_SUFFIX)
|
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@dll___targetsuf2 = .2.$(SO_SUFFIX)
|
||||||
@COND_USE_SOVERSION_0@dll___targetsuf2 = .$(SO_SUFFIX)
|
@COND_USE_SOVERSION_0@dll___targetsuf2 = .$(SO_SUFFIX)
|
||||||
@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@dll___targetsuf3 \
|
@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@dll___targetsuf3 \
|
||||||
@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).1.0.0
|
@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@ = .$(SO_SUFFIX).2.0.0
|
||||||
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@dll___targetsuf3 \
|
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@dll___targetsuf3 \
|
||||||
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .1.0.0.$(SO_SUFFIX)
|
@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .2.0.0.$(SO_SUFFIX)
|
||||||
@COND_USE_SOVERSION_0@dll___targetsuf3 = .$(SO_SUFFIX)
|
@COND_USE_SOVERSION_0@dll___targetsuf3 = .$(SO_SUFFIX)
|
||||||
@COND_PLATFORM_MACOSX_1@dll___macver = \
|
@COND_PLATFORM_MACOSX_1@dll___macver = \
|
||||||
@COND_PLATFORM_MACOSX_1@ -compatibility_version $(WX_VERSION) \
|
@COND_PLATFORM_MACOSX_1@ -compatibility_version $(WX_VERSION) \
|
||||||
@@ -6316,8 +6317,8 @@ clean:
|
|||||||
rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gl-2.5$(HOST_SUFFIX).a
|
rm -f $(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gl-2.5$(HOST_SUFFIX).a
|
||||||
rm -f $(DLLPREFIX_MODULE)sound_sdl$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
|
rm -f $(DLLPREFIX_MODULE)sound_sdl$(PLUGINSUFFIX)$(PLUGVERDELIM)$(PLUGIN_VERSION0)$(WXCOMPILER).$(SO_SUFFIX_MODULE)
|
||||||
(cd samples && $(MAKE) clean)
|
(cd samples && $(MAKE) clean)
|
||||||
rm -f lib/libwx_$(TOOLCHAIN_NAME).1.rsrc lib/libwx_$(TOOLCHAIN_NAME).1.r
|
rm -f lib/libwx_$(TOOLCHAIN_NAME).2.rsrc lib/libwx_$(TOOLCHAIN_NAME).2.r
|
||||||
rm -f lib/libwx_$(TOOLCHAIN_NAME).1.rsrc lib/libwx_$(TOOLCHAIN_NAME).1.r
|
rm -f lib/libwx_$(TOOLCHAIN_NAME).2.rsrc lib/libwx_$(TOOLCHAIN_NAME).2.r
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
|
rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
|
||||||
@@ -6678,21 +6679,21 @@ locale_install:
|
|||||||
fi ; \
|
fi ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
@COND_TOOLKIT_MAC@lib/libwx_$(TOOLCHAIN_NAME).1.r:
|
@COND_TOOLKIT_MAC@lib/libwx_$(TOOLCHAIN_NAME).2.r:
|
||||||
@COND_TOOLKIT_MAC@ $(RESCOMP) -d __UNIX__ -useDF $(top_srcdir)/src/mac/apprsrc.r $(top_srcdir)/src/mac/carbrsrc.r $(top_srcdir)/src/mac/corersrc.r -o lib/libwx_$(TOOLCHAIN_NAME).1.rsrc
|
@COND_TOOLKIT_MAC@ $(RESCOMP) -d __UNIX__ -useDF $(top_srcdir)/src/mac/apprsrc.r $(top_srcdir)/src/mac/carbrsrc.r $(top_srcdir)/src/mac/corersrc.r -o lib/libwx_$(TOOLCHAIN_NAME).2.rsrc
|
||||||
@COND_TOOLKIT_MAC@ $(DEREZ) lib/libwx_$(TOOLCHAIN_NAME).1.rsrc Carbon.r -useDF >lib/libwx_$(TOOLCHAIN_NAME).1.r
|
@COND_TOOLKIT_MAC@ $(DEREZ) lib/libwx_$(TOOLCHAIN_NAME).2.rsrc Carbon.r -useDF >lib/libwx_$(TOOLCHAIN_NAME).2.r
|
||||||
|
|
||||||
@COND_TOOLKIT_MAC@macos-res-install: $(__macos_res___depname)
|
@COND_TOOLKIT_MAC@macos-res-install: $(__macos_res___depname)
|
||||||
@COND_TOOLKIT_MAC@ $(INSTALL_DATA) lib/libwx_$(TOOLCHAIN_NAME).1.r $(libdir)
|
@COND_TOOLKIT_MAC@ $(INSTALL_DATA) lib/libwx_$(TOOLCHAIN_NAME).2.r $(libdir)
|
||||||
@COND_TOOLKIT_MAC@ $(INSTALL_DATA) lib/libwx_$(TOOLCHAIN_NAME).1.rsrc $(libdir)
|
@COND_TOOLKIT_MAC@ $(INSTALL_DATA) lib/libwx_$(TOOLCHAIN_NAME).2.rsrc $(libdir)
|
||||||
|
|
||||||
@COND_TOOLKIT_COCOA@lib/libwx_$(TOOLCHAIN_NAME).1.r:
|
@COND_TOOLKIT_COCOA@lib/libwx_$(TOOLCHAIN_NAME).2.r:
|
||||||
@COND_TOOLKIT_COCOA@ $(RESCOMP) -d __UNIX__ -useDF $(top_srcdir)/src/cocoa/dummy.r -o lib/libwx_$(TOOLCHAIN_NAME).1.rsrc
|
@COND_TOOLKIT_COCOA@ $(RESCOMP) -d __UNIX__ -useDF $(top_srcdir)/src/cocoa/dummy.r -o lib/libwx_$(TOOLCHAIN_NAME).2.rsrc
|
||||||
@COND_TOOLKIT_COCOA@ $(DEREZ) lib/libwx_$(TOOLCHAIN_NAME).1.rsrc -useDF >lib/libwx_$(TOOLCHAIN_NAME).1.r
|
@COND_TOOLKIT_COCOA@ $(DEREZ) lib/libwx_$(TOOLCHAIN_NAME).2.rsrc -useDF >lib/libwx_$(TOOLCHAIN_NAME).2.r
|
||||||
|
|
||||||
@COND_TOOLKIT_COCOA@cocoa-res-install: $(__macos_res___depname)
|
@COND_TOOLKIT_COCOA@cocoa-res-install: $(__macos_res___depname)
|
||||||
@COND_TOOLKIT_COCOA@ $(INSTALL_DATA) lib/libwx_$(TOOLCHAIN_NAME).1.r $(libdir)
|
@COND_TOOLKIT_COCOA@ $(INSTALL_DATA) lib/libwx_$(TOOLCHAIN_NAME).2.r $(libdir)
|
||||||
@COND_TOOLKIT_COCOA@ $(INSTALL_DATA) lib/libwx_$(TOOLCHAIN_NAME).1.rsrc $(libdir)
|
@COND_TOOLKIT_COCOA@ $(INSTALL_DATA) lib/libwx_$(TOOLCHAIN_NAME).2.rsrc $(libdir)
|
||||||
|
|
||||||
wxregex_regcomp.o: $(srcdir)/src/regex/regcomp.c
|
wxregex_regcomp.o: $(srcdir)/src/regex/regcomp.c
|
||||||
$(CCC) -c -o $@ $(WXREGEX_CFLAGS) $<
|
$(CCC) -c -o $@ $(WXREGEX_CFLAGS) $<
|
||||||
|
83
aclocal.m4
vendored
83
aclocal.m4
vendored
@@ -1091,7 +1091,7 @@ AC_DEFUN(PKG_CHECK_MODULES, [
|
|||||||
dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
||||||
dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
|
dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AM_PATH_SDL,
|
AC_DEFUN([AM_PATH_SDL],
|
||||||
[dnl
|
[dnl
|
||||||
dnl Get the cflags and libraries from the sdl-config script
|
dnl Get the cflags and libraries from the sdl-config script
|
||||||
dnl
|
dnl
|
||||||
@@ -2015,3 +2015,84 @@ AC_DEFUN(AC_BAKEFILE,
|
|||||||
builtin(include, autoconf_inc.m4)
|
builtin(include, autoconf_inc.m4)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl AM_PATH_CPPUNIT([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
||||||
|
dnl
|
||||||
|
AC_DEFUN(AM_PATH_CPPUNIT,
|
||||||
|
[
|
||||||
|
|
||||||
|
AC_ARG_WITH(cppunit-prefix,[ --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)],
|
||||||
|
cppunit_config_prefix="$withval", cppunit_config_prefix="")
|
||||||
|
AC_ARG_WITH(cppunit-exec-prefix,[ --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)],
|
||||||
|
cppunit_config_exec_prefix="$withval", cppunit_config_exec_prefix="")
|
||||||
|
|
||||||
|
if test x$cppunit_config_exec_prefix != x ; then
|
||||||
|
cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
|
||||||
|
if test x${CPPUNIT_CONFIG+set} != xset ; then
|
||||||
|
CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if test x$cppunit_config_prefix != x ; then
|
||||||
|
cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
|
||||||
|
if test x${CPPUNIT_CONFIG+set} != xset ; then
|
||||||
|
CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_PATH_PROG(CPPUNIT_CONFIG, cppunit-config, no)
|
||||||
|
cppunit_version_min=$1
|
||||||
|
|
||||||
|
AC_MSG_CHECKING(for Cppunit - version >= $cppunit_version_min)
|
||||||
|
no_cppunit=""
|
||||||
|
if test "$CPPUNIT_CONFIG" = "no" ; then
|
||||||
|
no_cppunit=yes
|
||||||
|
else
|
||||||
|
CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
|
||||||
|
CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
|
||||||
|
cppunit_version=`$CPPUNIT_CONFIG --version`
|
||||||
|
|
||||||
|
cppunit_major_version=`echo $cppunit_version | \
|
||||||
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||||
|
cppunit_minor_version=`echo $cppunit_version | \
|
||||||
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||||
|
cppunit_micro_version=`echo $cppunit_version | \
|
||||||
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||||
|
|
||||||
|
cppunit_major_min=`echo $cppunit_version_min | \
|
||||||
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||||
|
cppunit_minor_min=`echo $cppunit_version_min | \
|
||||||
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||||
|
cppunit_micro_min=`echo $cppunit_version_min | \
|
||||||
|
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||||
|
|
||||||
|
cppunit_version_proper=`expr \
|
||||||
|
$cppunit_major_version \> $cppunit_major_min \| \
|
||||||
|
$cppunit_major_version \= $cppunit_major_min \& \
|
||||||
|
$cppunit_minor_version \> $cppunit_minor_min \| \
|
||||||
|
$cppunit_major_version \= $cppunit_major_min \& \
|
||||||
|
$cppunit_minor_version \= $cppunit_minor_min \& \
|
||||||
|
$cppunit_micro_version \>= $cppunit_micro_min `
|
||||||
|
|
||||||
|
if test "$cppunit_version_proper" = "1" ; then
|
||||||
|
AC_MSG_RESULT([$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version])
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
no_cppunit=yes
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$no_cppunit" = x ; then
|
||||||
|
ifelse([$2], , :, [$2])
|
||||||
|
else
|
||||||
|
CPPUNIT_CFLAGS=""
|
||||||
|
CPPUNIT_LIBS=""
|
||||||
|
ifelse([$3], , :, [$3])
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_SUBST(CPPUNIT_CFLAGS)
|
||||||
|
AC_SUBST(CPPUNIT_LIBS)
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -44,6 +44,7 @@
|
|||||||
../../contrib/samples/*/*.bkl
|
../../contrib/samples/*/*.bkl
|
||||||
../../contrib/samples/*/*/*.bkl
|
../../contrib/samples/*/*/*.bkl
|
||||||
../../contrib/utils/*/*.bkl
|
../../contrib/utils/*/*.bkl
|
||||||
|
../../tests/*.bkl
|
||||||
</input>
|
</input>
|
||||||
|
|
||||||
<!-- List of output formats to generate: -->
|
<!-- List of output formats to generate: -->
|
||||||
|
@@ -62,6 +62,11 @@
|
|||||||
</if>
|
</if>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<template id="wx_test_console" template="wx_sample_console">
|
||||||
|
<cppflags>$(CPPUNIT_CFLAGS)</cppflags>
|
||||||
|
<ldflags>$(CPPUNIT_LIBS)</ldflags>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
|
||||||
<!-- =============================================================== -->
|
<!-- =============================================================== -->
|
||||||
<!-- Support for samples data files: -->
|
<!-- Support for samples data files: -->
|
||||||
|
@@ -178,6 +178,23 @@ compiled .lib files and setup.h under the lib/ toplevel directory.
|
|||||||
</description>
|
</description>
|
||||||
</option>
|
</option>
|
||||||
|
|
||||||
|
<!-- unit tests support: -->
|
||||||
|
<option name="CPPUNIT_CFLAGS">
|
||||||
|
<default-value></default-value>
|
||||||
|
<description>
|
||||||
|
Compiler flags needed to compile test suite in tests directory. If you want
|
||||||
|
to run the tests, set it so that the compiler can find CppUnit headers.
|
||||||
|
</description>
|
||||||
|
</option>
|
||||||
|
|
||||||
|
<option name="CPPUNIT_LIBS">
|
||||||
|
<default-value></default-value>
|
||||||
|
<description>
|
||||||
|
Linker flags needed to link test suite in tests directory. If you want
|
||||||
|
to run the tests, include CppUnit library here.
|
||||||
|
</description>
|
||||||
|
</option>
|
||||||
|
|
||||||
|
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
<!-- Autoconf -->
|
<!-- Autoconf -->
|
||||||
|
@@ -5956,6 +5956,8 @@ AC_SUBST(TOOLKIT_VERSION)
|
|||||||
AC_SUBST(SAMPLES_RPATH_FLAG)
|
AC_SUBST(SAMPLES_RPATH_FLAG)
|
||||||
AC_SUBST(SAMPLES_RPATH_POSTLINK)
|
AC_SUBST(SAMPLES_RPATH_POSTLINK)
|
||||||
AC_SUBST(HOST_SUFFIX)
|
AC_SUBST(HOST_SUFFIX)
|
||||||
|
AC_SUBST(CPPUNIT_CFLAGS)
|
||||||
|
AC_SUBST(CPPUNIT_LIBS)
|
||||||
|
|
||||||
AC_BAKEFILE
|
AC_BAKEFILE
|
||||||
|
|
||||||
@@ -6168,6 +6170,8 @@ else dnl we build wxBase only
|
|||||||
dnl there are no wxBase programs in contrib nor demos
|
dnl there are no wxBase programs in contrib nor demos
|
||||||
SUBDIRS="samples utils"
|
SUBDIRS="samples utils"
|
||||||
fi
|
fi
|
||||||
|
dnl Add tests to the list of subdirs if cppunit 1.8.0+ is detected
|
||||||
|
AM_PATH_CPPUNIT(1.8.0, SUBDIRS="$SUBDIRS tests")
|
||||||
|
|
||||||
for subdir in `echo $SUBDIRS`; do
|
for subdir in `echo $SUBDIRS`; do
|
||||||
if test -d ${srcdir}/${subdir} ; then
|
if test -d ${srcdir}/${subdir} ; then
|
||||||
@@ -6189,11 +6193,13 @@ for subdir in `echo $SUBDIRS`; do
|
|||||||
dnl wxBase
|
dnl wxBase
|
||||||
if test ${subdir} = "samples"; then
|
if test ${subdir} = "samples"; then
|
||||||
makefiles="samples/Makefile.in samples/console/Makefile.in"
|
makefiles="samples/Makefile.in samples/console/Makefile.in"
|
||||||
else dnl utils
|
elif test ${subdir} = "utils"; then
|
||||||
makefiles="utils/HelpGen/Makefile.in \
|
makefiles="utils/HelpGen/Makefile.in \
|
||||||
utils/HelpGen/src/Makefile.in \
|
utils/HelpGen/src/Makefile.in \
|
||||||
utils/tex2rtf/Makefile.in \
|
utils/tex2rtf/Makefile.in \
|
||||||
utils/tex2rtf/src/Makefile.in"
|
utils/tex2rtf/src/Makefile.in"
|
||||||
|
else dnl assume that everything compiles for tests
|
||||||
|
makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Unit tests for wxWindows are written using small cppunit framework. To compile
|
Unit tests for wxWindows are written using small cppunit framework. To compile
|
||||||
(but not to run) them you need to have it installed. Hence the first part of
|
(but not to run) them you need to have it installed. Hence the first part of
|
||||||
this note exlpains how to do it while the second one explains how to write the
|
this note explains how to do it while the second one explains how to write the
|
||||||
test.
|
test.
|
||||||
|
|
||||||
I. CppUnit Installation
|
I. CppUnit Installation
|
||||||
@@ -27,15 +27,61 @@ II. Writing tests with CppUnit
|
|||||||
|
|
||||||
1. Create a new directory tests/foo
|
1. Create a new directory tests/foo
|
||||||
|
|
||||||
2. Write the main.cpp file for the test program copying, if you want,
|
2. Write a cpp file for the test copying, if you want,
|
||||||
from one of the existing tests. The things to look for:
|
from one of the existing tests. The things to look for:
|
||||||
a) #include "wx/cppunit.h" instead of directly including CppUnit headers
|
a) #include "wx/cppunit.h" instead of directly including CppUnit headers
|
||||||
b) don't put too many things in one test case nor in one method of a test
|
b) don't put too many things in one test case nor in one method of a test
|
||||||
case as it makes understanding what exactly failed harder later
|
case as it makes understanding what exactly failed harder later
|
||||||
|
c) 'register' your tests as follows so that the test program will find and
|
||||||
|
execute them:
|
||||||
|
|
||||||
|
// register in the unnamed registry so that these tests are run by default
|
||||||
|
CPPUNIT_TEST_SUITE_REGISTRATION(MBConvTestCase);
|
||||||
|
|
||||||
|
// also include in it's own registry so that these tests can be run alone
|
||||||
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(MBConvTestCase, "MBConvTestCase");
|
||||||
|
|
||||||
Read CppUnit documentation for more.
|
Read CppUnit documentation for more.
|
||||||
|
|
||||||
3. Write a bakefile for the new test (again, copy an existing one...)
|
3. add a '<sources>' tag for your source file to tests/test.bkl
|
||||||
|
|
||||||
|
|
||||||
|
III. Running the tests
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
1. Regenerate the make/project files from test.bkl using bakefile_gen, e.g.:
|
||||||
|
cd build/bakefile
|
||||||
|
bakefile_gen ../../tests/test.bkl
|
||||||
|
and if you're on a unix system re-run configure.
|
||||||
|
|
||||||
|
2. Build the test program using one of the make/project files in the tests
|
||||||
|
subdirectory.
|
||||||
|
|
||||||
|
3. Run the test program with no arguments to run the default set of tests
|
||||||
|
(which are all those registered with CPPUNIT_TEST_SUITE_REGISTRATION).
|
||||||
|
Or to list the tests without running them:
|
||||||
|
test -l
|
||||||
|
|
||||||
|
4. Tests that have been registered under a name using
|
||||||
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION can also be run separately. For
|
||||||
|
example:
|
||||||
|
test MBConvTestCase
|
||||||
|
or to list the tests:
|
||||||
|
test -l MBConvTestCase
|
||||||
|
|
||||||
|
|
||||||
|
IV. Notes
|
||||||
|
---------
|
||||||
|
|
||||||
|
1. You can register your tests (or a subset of them) just under a name, and not
|
||||||
|
in the unnamed registry if you don't want them to be executed by default.
|
||||||
|
|
||||||
|
2. If you are going to register your tests both in the unnamed registry and
|
||||||
|
under a name, then use the name that the tests have in the 'test -l'
|
||||||
|
listing (which is often the name of the TestCase class). Then the top
|
||||||
|
level names in a 'test -l' listing can be a hint as to the name those
|
||||||
|
tests have been registered under.
|
||||||
|
|
||||||
|
|
||||||
=== EOF ===
|
=== EOF ===
|
||||||
|
|
||||||
|
113
tests/Makefile.in
Normal file
113
tests/Makefile.in
Normal file
@@ -0,0 +1,113 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# This makefile was generated by
|
||||||
|
# Bakefile 0.1.3 (http://bakefile.sourceforge.net)
|
||||||
|
# Do not modify, all changes will be overwritten!
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
@MAKE_SET@
|
||||||
|
|
||||||
|
prefix = @prefix@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
SETFILE = @SETFILE@
|
||||||
|
srcdir = @srcdir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
top_builddir = @top_builddir@
|
||||||
|
CXX = @CXX@
|
||||||
|
CXXFLAGS = @CXXFLAGS@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@
|
||||||
|
CPPUNIT_LIBS = @CPPUNIT_LIBS@
|
||||||
|
TOOLKIT = @TOOLKIT@
|
||||||
|
TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
|
||||||
|
TOOLKIT_VERSION = @TOOLKIT_VERSION@
|
||||||
|
EXTRALIBS = @EXTRALIBS@
|
||||||
|
HOST_SUFFIX = @HOST_SUFFIX@
|
||||||
|
SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
|
||||||
|
SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
|
||||||
|
|
||||||
|
### Variables: ###
|
||||||
|
|
||||||
|
DESTDIR =
|
||||||
|
LIBDIRNAME = $(top_builddir)lib
|
||||||
|
TEST_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
|
||||||
|
$(__DLLFLAG_p) $(CPPUNIT_CFLAGS) $(CPPFLAGS) $(CXXFLAGS)
|
||||||
|
TEST_OBJECTS = \
|
||||||
|
test_test.o \
|
||||||
|
test_main.o
|
||||||
|
|
||||||
|
### Conditionally set variables: ###
|
||||||
|
|
||||||
|
@COND_DEPS_TRACKING_0@CXXC = $(CXX)
|
||||||
|
@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
|
||||||
|
@COND_USE_GUI_0@PORTNAME = base
|
||||||
|
@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
|
||||||
|
@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
|
||||||
|
@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
|
||||||
|
@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
|
||||||
|
@COND_UNICODE_1@WXUNICODEFLAG = u
|
||||||
|
@COND_WXUNIV_1@WXUNIVNAME = univ
|
||||||
|
@COND_PLATFORM_MAC_1@__test___mac_setfilecmd = \
|
||||||
|
@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL test$(EXEEXT)
|
||||||
|
@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
||||||
|
@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
|
||||||
|
@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
|
||||||
|
@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
|
||||||
|
COND_MONOLITHIC_1___WXLIB_MONO_p = \
|
||||||
|
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
|
||||||
|
@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
|
||||||
|
@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
|
||||||
|
@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
|
||||||
|
@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||||
|
@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
|
||||||
|
@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
|
||||||
|
@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||||
|
@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
|
||||||
|
@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
|
||||||
|
@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||||
|
@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
|
||||||
|
@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||||
|
@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
|
||||||
|
@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||||
|
@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
|
||||||
|
@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||||
|
@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
|
||||||
|
@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||||
|
|
||||||
|
### Targets: ###
|
||||||
|
|
||||||
|
all: test$(EXEEXT)
|
||||||
|
|
||||||
|
install: all
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
|
||||||
|
install-strip: install
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf ./.deps ./.pch
|
||||||
|
rm -f ./*.o
|
||||||
|
rm -f test$(EXEEXT)
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
|
||||||
|
|
||||||
|
test$(EXEEXT): $(TEST_OBJECTS)
|
||||||
|
$(CXX) -o $@ $(TEST_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(SAMPLES_RPATH_FLAG) $(CPPUNIT_LIBS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS)
|
||||||
|
|
||||||
|
$(__test___mac_setfilecmd) $(SAMPLES_RPATH_POSTLINK)
|
||||||
|
|
||||||
|
test_test.o: $(srcdir)/test.cpp
|
||||||
|
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
|
||||||
|
|
||||||
|
test_main.o: $(srcdir)/mbconv/main.cpp
|
||||||
|
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
|
||||||
|
|
||||||
|
|
||||||
|
# Include dependency info, if present:
|
||||||
|
@IF_GNU_MAKE@-include .deps/*.d
|
||||||
|
|
||||||
|
.PHONY: all install uninstall clean distclean
|
158
tests/makefile.bcc
Normal file
158
tests/makefile.bcc
Normal file
@@ -0,0 +1,158 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# This makefile was generated by
|
||||||
|
# Bakefile 0.1.3 (http://bakefile.sourceforge.net)
|
||||||
|
# Do not modify, all changes will be overwritten!
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
|
.autodepend
|
||||||
|
|
||||||
|
!ifndef BCCDIR
|
||||||
|
!ifndef MAKEDIR
|
||||||
|
!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
|
||||||
|
!endif
|
||||||
|
BCCDIR = $(MAKEDIR)\..
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!include ../build/msw/config.bcc
|
||||||
|
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Do not modify the rest of this file!
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
### Variables: ###
|
||||||
|
|
||||||
|
OBJS = \
|
||||||
|
bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
|
||||||
|
SETUPHDIR = \
|
||||||
|
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||||
|
TEST_CXXFLAGS = $(__RUNTIME_LIBS_6) -I$(BCCDIR)\include $(__DEBUGINFO) \
|
||||||
|
$(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
|
||||||
|
$(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\include -I$(SETUPHDIR) -I. \
|
||||||
|
$(__DLLFLAG_p) $(CPPUNIT_CFLAGS) $(CPPFLAGS) $(CXXFLAGS)
|
||||||
|
TEST_OBJECTS = \
|
||||||
|
$(OBJS)\test_test.obj \
|
||||||
|
$(OBJS)\test_main.obj
|
||||||
|
|
||||||
|
### Conditionally set variables: ###
|
||||||
|
|
||||||
|
!if "$(USE_GUI)" == "0"
|
||||||
|
PORTNAME = base
|
||||||
|
!endif
|
||||||
|
!if "$(USE_GUI)" == "1"
|
||||||
|
PORTNAME = msw
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||||
|
WXDEBUGFLAG = d
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_FLAG)" == "1"
|
||||||
|
WXDEBUGFLAG = d
|
||||||
|
!endif
|
||||||
|
!if "$(UNICODE)" == "1"
|
||||||
|
WXUNICODEFLAG = u
|
||||||
|
!endif
|
||||||
|
!if "$(WXUNIV)" == "1"
|
||||||
|
WXUNIVNAME = univ
|
||||||
|
!endif
|
||||||
|
!if "$(SHARED)" == "1"
|
||||||
|
WXDLLFLAG = dll
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "debug"
|
||||||
|
__OPTIMIZEFLAG_2 = -Od
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "release"
|
||||||
|
__OPTIMIZEFLAG_2 = -O2
|
||||||
|
!endif
|
||||||
|
!if "$(RUNTIME_LIBS)" == "dynamic"
|
||||||
|
__RUNTIME_LIBS_6 = -tWR
|
||||||
|
!endif
|
||||||
|
!if "$(RUNTIME_LIBS)" == "static"
|
||||||
|
__RUNTIME_LIBS_6 =
|
||||||
|
!endif
|
||||||
|
!if "$(RUNTIME_LIBS)" == "dynamic"
|
||||||
|
__RUNTIME_LIBS_7 = i
|
||||||
|
!endif
|
||||||
|
!if "$(RUNTIME_LIBS)" == "static"
|
||||||
|
__RUNTIME_LIBS_7 =
|
||||||
|
!endif
|
||||||
|
!if "$(WXUNIV)" == "1"
|
||||||
|
__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||||
|
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_FLAG)" == "1"
|
||||||
|
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||||
|
!endif
|
||||||
|
!if "$(UNICODE)" == "1"
|
||||||
|
__UNICODE_DEFINE_p = -D_UNICODE
|
||||||
|
!endif
|
||||||
|
!if "$(SHARED)" == "1"
|
||||||
|
__DLLFLAG_p = -DWXUSINGDLL
|
||||||
|
!endif
|
||||||
|
!if "$(MONOLITHIC)" == "0"
|
||||||
|
__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
!if "$(MONOLITHIC)" == "1"
|
||||||
|
__WXLIB_MONO_p = \
|
||||||
|
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
!if "$(USE_GUI)" == "1"
|
||||||
|
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
!if "$(USE_GUI)" == "1"
|
||||||
|
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
!if "$(USE_GUI)" == "1"
|
||||||
|
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
!if "$(MSLU)" == "1"
|
||||||
|
__UNICOWS_LIB_p = unicows.lib
|
||||||
|
!endif
|
||||||
|
!if "$(SHARED)" == "0"
|
||||||
|
LIBDIRNAME = .\..\lib\bcc_lib$(CFG)
|
||||||
|
!endif
|
||||||
|
!if "$(SHARED)" == "1"
|
||||||
|
LIBDIRNAME = .\..\lib\bcc_dll$(CFG)
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||||
|
__DEBUGINFO = -v
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||||
|
__DEBUGINFO = -v-
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_INFO)" == "0"
|
||||||
|
__DEBUGINFO = -v-
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_INFO)" == "1"
|
||||||
|
__DEBUGINFO = -v
|
||||||
|
!endif
|
||||||
|
|
||||||
|
|
||||||
|
all: $(OBJS)
|
||||||
|
$(OBJS):
|
||||||
|
-if not exist $(OBJS) mkdir $(OBJS)
|
||||||
|
|
||||||
|
### Targets: ###
|
||||||
|
|
||||||
|
all: $(OBJS)\test.exe
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
|
||||||
|
-if exist $(OBJS)\*.res del $(OBJS)\*.res
|
||||||
|
-if exist $(OBJS)\test.exe del $(OBJS)\test.exe
|
||||||
|
-if exist $(OBJS)\test.tds del $(OBJS)\test.tds
|
||||||
|
-if exist $(OBJS)\test.ilc del $(OBJS)\test.ilc
|
||||||
|
-if exist $(OBJS)\test.ild del $(OBJS)\test.ild
|
||||||
|
-if exist $(OBJS)\test.ilf del $(OBJS)\test.ilf
|
||||||
|
-if exist $(OBJS)\test.ils del $(OBJS)\test.ils
|
||||||
|
|
||||||
|
$(OBJS)\test.exe: $(TEST_OBJECTS)
|
||||||
|
ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) @&&|
|
||||||
|
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,,
|
||||||
|
|
|
||||||
|
|
||||||
|
$(OBJS)\test_test.obj: .\test.cpp
|
||||||
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
||||||
|
|
||||||
|
$(OBJS)\test_main.obj: .\mbconv\main.cpp
|
||||||
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
154
tests/makefile.gcc
Normal file
154
tests/makefile.gcc
Normal file
@@ -0,0 +1,154 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# This makefile was generated by
|
||||||
|
# Bakefile 0.1.3 (http://bakefile.sourceforge.net)
|
||||||
|
# Do not modify, all changes will be overwritten!
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
|
include ../build/msw/config.gcc
|
||||||
|
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Do not modify the rest of this file!
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
### Variables: ###
|
||||||
|
|
||||||
|
OBJS = \
|
||||||
|
gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
|
||||||
|
SETUPHDIR = \
|
||||||
|
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||||
|
TEST_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) -DHAVE_W32API_H \
|
||||||
|
-D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
|
||||||
|
-I.\..\include -I$(SETUPHDIR) -Wall -I. $(__DLLFLAG_p) $(CPPUNIT_CFLAGS) \
|
||||||
|
$(__EXCEPTIONSFLAG_4) $(__EXCEPTIONSFLAG_5) $(CPPFLAGS) $(CXXFLAGS)
|
||||||
|
TEST_OBJECTS = \
|
||||||
|
$(OBJS)\test_test.o \
|
||||||
|
$(OBJS)\test_main.o
|
||||||
|
|
||||||
|
### Conditionally set variables: ###
|
||||||
|
|
||||||
|
ifeq ($(GCC_VERSION),2.95)
|
||||||
|
GCCFLAGS = -fvtable-thunks
|
||||||
|
endif
|
||||||
|
ifeq ($(USE_GUI),0)
|
||||||
|
PORTNAME = base
|
||||||
|
endif
|
||||||
|
ifeq ($(USE_GUI),1)
|
||||||
|
PORTNAME = msw
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD),debug)
|
||||||
|
ifeq ($(DEBUG_FLAG),default)
|
||||||
|
WXDEBUGFLAG = d
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(DEBUG_FLAG),1)
|
||||||
|
WXDEBUGFLAG = d
|
||||||
|
endif
|
||||||
|
ifeq ($(UNICODE),1)
|
||||||
|
WXUNICODEFLAG = u
|
||||||
|
endif
|
||||||
|
ifeq ($(WXUNIV),1)
|
||||||
|
WXUNIVNAME = univ
|
||||||
|
endif
|
||||||
|
ifeq ($(SHARED),1)
|
||||||
|
WXDLLFLAG = dll
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD),debug)
|
||||||
|
__OPTIMIZEFLAG_2 = -O0
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD),release)
|
||||||
|
__OPTIMIZEFLAG_2 = -O2
|
||||||
|
endif
|
||||||
|
ifeq ($(USE_EXCEPTIONS),0)
|
||||||
|
__EXCEPTIONSFLAG_4 = -fno-rtti
|
||||||
|
endif
|
||||||
|
ifeq ($(USE_EXCEPTIONS),1)
|
||||||
|
__EXCEPTIONSFLAG_4 =
|
||||||
|
endif
|
||||||
|
ifeq ($(USE_EXCEPTIONS),0)
|
||||||
|
__EXCEPTIONSFLAG_5 = -fno-exceptions
|
||||||
|
endif
|
||||||
|
ifeq ($(USE_EXCEPTIONS),1)
|
||||||
|
__EXCEPTIONSFLAG_5 =
|
||||||
|
endif
|
||||||
|
ifeq ($(WXUNIV),1)
|
||||||
|
__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD),debug)
|
||||||
|
ifeq ($(DEBUG_FLAG),default)
|
||||||
|
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(DEBUG_FLAG),1)
|
||||||
|
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||||
|
endif
|
||||||
|
ifeq ($(UNICODE),1)
|
||||||
|
__UNICODE_DEFINE_p = -D_UNICODE
|
||||||
|
endif
|
||||||
|
ifeq ($(SHARED),1)
|
||||||
|
__DLLFLAG_p = -DWXUSINGDLL
|
||||||
|
endif
|
||||||
|
ifeq ($(MONOLITHIC),0)
|
||||||
|
__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||||
|
endif
|
||||||
|
ifeq ($(MONOLITHIC),1)
|
||||||
|
__WXLIB_MONO_p = \
|
||||||
|
-lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||||
|
endif
|
||||||
|
ifeq ($(USE_GUI),1)
|
||||||
|
__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
|
||||||
|
endif
|
||||||
|
ifeq ($(USE_GUI),1)
|
||||||
|
__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
|
||||||
|
endif
|
||||||
|
ifeq ($(USE_GUI),1)
|
||||||
|
__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
|
||||||
|
endif
|
||||||
|
ifeq ($(MSLU),1)
|
||||||
|
__UNICOWS_LIB_p = -lunicows
|
||||||
|
endif
|
||||||
|
ifeq ($(SHARED),0)
|
||||||
|
LIBDIRNAME = .\..\lib\gcc_lib$(CFG)
|
||||||
|
endif
|
||||||
|
ifeq ($(SHARED),1)
|
||||||
|
LIBDIRNAME = .\..\lib\gcc_dll$(CFG)
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD),debug)
|
||||||
|
ifeq ($(DEBUG_INFO),default)
|
||||||
|
__DEBUGINFO = -g
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(BUILD),release)
|
||||||
|
ifeq ($(DEBUG_INFO),default)
|
||||||
|
__DEBUGINFO =
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
ifeq ($(DEBUG_INFO),0)
|
||||||
|
__DEBUGINFO =
|
||||||
|
endif
|
||||||
|
ifeq ($(DEBUG_INFO),1)
|
||||||
|
__DEBUGINFO = -g
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
all: $(OBJS)
|
||||||
|
$(OBJS):
|
||||||
|
-if not exist $(OBJS) mkdir $(OBJS)
|
||||||
|
|
||||||
|
### Targets: ###
|
||||||
|
|
||||||
|
all: $(OBJS)\test.exe
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-if exist $(OBJS)\*.o del $(OBJS)\*.o
|
||||||
|
-if exist $(OBJS)\test.exe del $(OBJS)\test.exe
|
||||||
|
|
||||||
|
$(OBJS)\test.exe: $(TEST_OBJECTS)
|
||||||
|
$(CXX) -o $@ $(TEST_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
|
||||||
|
|
||||||
|
$(OBJS)\test_test.o: ./test.cpp
|
||||||
|
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
|
||||||
|
|
||||||
|
$(OBJS)\test_main.o: ./mbconv/main.cpp
|
||||||
|
$(CXX) -c -o $@ $(TEST_CXXFLAGS) $<
|
||||||
|
|
||||||
|
.PHONY: all clean
|
214
tests/makefile.vc
Normal file
214
tests/makefile.vc
Normal file
@@ -0,0 +1,214 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# This makefile was generated by
|
||||||
|
# Bakefile 0.1.3 (http://bakefile.sourceforge.net)
|
||||||
|
# Do not modify, all changes will be overwritten!
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
|
!include <../build/msw/config.vc>
|
||||||
|
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Do not modify the rest of this file!
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
### Variables: ###
|
||||||
|
|
||||||
|
OBJS = \
|
||||||
|
vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
|
||||||
|
SETUPHDIR = \
|
||||||
|
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||||
|
TEST_CXXFLAGS = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \
|
||||||
|
$(__DEBUGINFO_0) /Fd$(OBJS)\test.pdb $(____DEBUGRUNTIME_2_p) \
|
||||||
|
$(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
|
||||||
|
$(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\include /I$(SETUPHDIR) /W4 \
|
||||||
|
/I. $(__DLLFLAG_p) /D_CONSOLE $(CPPUNIT_CFLAGS) $(__EXCEPTIONSFLAG_8) \
|
||||||
|
$(__EXCEPTIONSFLAG_9) $(CPPFLAGS) $(CXXFLAGS)
|
||||||
|
TEST_OBJECTS = \
|
||||||
|
$(OBJS)\test_test.obj \
|
||||||
|
$(OBJS)\test_main.obj
|
||||||
|
|
||||||
|
### Conditionally set variables: ###
|
||||||
|
|
||||||
|
!if "$(USE_GUI)" == "0"
|
||||||
|
PORTNAME = base
|
||||||
|
!endif
|
||||||
|
!if "$(USE_GUI)" == "1"
|
||||||
|
PORTNAME = msw
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||||
|
WXDEBUGFLAG = d
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_FLAG)" == "1"
|
||||||
|
WXDEBUGFLAG = d
|
||||||
|
!endif
|
||||||
|
!if "$(UNICODE)" == "1"
|
||||||
|
WXUNICODEFLAG = u
|
||||||
|
!endif
|
||||||
|
!if "$(WXUNIV)" == "1"
|
||||||
|
WXUNIVNAME = univ
|
||||||
|
!endif
|
||||||
|
!if "$(SHARED)" == "1"
|
||||||
|
WXDLLFLAG = dll
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||||
|
__DEBUGINFO_0 = /Zi
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||||
|
__DEBUGINFO_0 =
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_INFO)" == "0"
|
||||||
|
__DEBUGINFO_0 =
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_INFO)" == "1"
|
||||||
|
__DEBUGINFO_0 = /Zi
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||||
|
__DEBUGINFO_1 = /DEBUG
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||||
|
__DEBUGINFO_1 =
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_INFO)" == "0"
|
||||||
|
__DEBUGINFO_1 =
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_INFO)" == "1"
|
||||||
|
__DEBUGINFO_1 = /DEBUG
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||||
|
____DEBUGRUNTIME_2_p =
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
|
||||||
|
____DEBUGRUNTIME_2_p = /D_DEBUG
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_RUNTIME_LIBS)" == "default"
|
||||||
|
____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||||
|
____DEBUGINFO_2_p = /D_DEBUG
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||||
|
____DEBUGINFO_2_p =
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_INFO)" == "0"
|
||||||
|
____DEBUGINFO_2_p =
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_INFO)" == "1"
|
||||||
|
____DEBUGINFO_2_p = /D_DEBUG
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||||
|
__DEBUGRUNTIME_3 =
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
|
||||||
|
__DEBUGRUNTIME_3 = d
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_RUNTIME_LIBS)" == "default"
|
||||||
|
__DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||||
|
__DEBUGINFO_3 = d
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||||
|
__DEBUGINFO_3 =
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_INFO)" == "0"
|
||||||
|
__DEBUGINFO_3 =
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_INFO)" == "1"
|
||||||
|
__DEBUGINFO_3 = d
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "debug"
|
||||||
|
__OPTIMIZEFLAG_4 = /Od
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "release"
|
||||||
|
__OPTIMIZEFLAG_4 = /O2
|
||||||
|
!endif
|
||||||
|
!if "$(RUNTIME_LIBS)" == "dynamic"
|
||||||
|
__RUNTIME_LIBS_7 = D
|
||||||
|
!endif
|
||||||
|
!if "$(RUNTIME_LIBS)" == "static"
|
||||||
|
__RUNTIME_LIBS_7 = T
|
||||||
|
!endif
|
||||||
|
!if "$(USE_EXCEPTIONS)" == "0"
|
||||||
|
__EXCEPTIONSFLAG_8 =
|
||||||
|
!endif
|
||||||
|
!if "$(USE_EXCEPTIONS)" == "1"
|
||||||
|
__EXCEPTIONSFLAG_8 = /GR
|
||||||
|
!endif
|
||||||
|
!if "$(USE_EXCEPTIONS)" == "0"
|
||||||
|
__EXCEPTIONSFLAG_9 =
|
||||||
|
!endif
|
||||||
|
!if "$(USE_EXCEPTIONS)" == "1"
|
||||||
|
__EXCEPTIONSFLAG_9 = /GX
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||||
|
__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
|
||||||
|
__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
|
||||||
|
!endif
|
||||||
|
!if "$(WXUNIV)" == "1"
|
||||||
|
__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
|
||||||
|
!endif
|
||||||
|
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||||
|
__DEBUG_DEFINE_p = /D__WXDEBUG__
|
||||||
|
!endif
|
||||||
|
!if "$(DEBUG_FLAG)" == "1"
|
||||||
|
__DEBUG_DEFINE_p = /D__WXDEBUG__
|
||||||
|
!endif
|
||||||
|
!if "$(UNICODE)" == "1"
|
||||||
|
__UNICODE_DEFINE_p = /D_UNICODE
|
||||||
|
!endif
|
||||||
|
!if "$(SHARED)" == "1"
|
||||||
|
__DLLFLAG_p = /DWXUSINGDLL
|
||||||
|
!endif
|
||||||
|
!if "$(MONOLITHIC)" == "0"
|
||||||
|
__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
!if "$(MONOLITHIC)" == "1"
|
||||||
|
__WXLIB_MONO_p = \
|
||||||
|
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
!if "$(USE_GUI)" == "1"
|
||||||
|
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
!if "$(USE_GUI)" == "1"
|
||||||
|
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
!if "$(USE_GUI)" == "1"
|
||||||
|
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
!if "$(MSLU)" == "1"
|
||||||
|
__UNICOWS_LIB_p = unicows.lib
|
||||||
|
!endif
|
||||||
|
!if "$(SHARED)" == "0"
|
||||||
|
LIBDIRNAME = .\..\lib\vc_lib$(CFG)
|
||||||
|
!endif
|
||||||
|
!if "$(SHARED)" == "1"
|
||||||
|
LIBDIRNAME = .\..\lib\vc_dll$(CFG)
|
||||||
|
!endif
|
||||||
|
|
||||||
|
|
||||||
|
all: $(OBJS)
|
||||||
|
$(OBJS):
|
||||||
|
-if not exist $(OBJS) mkdir $(OBJS)
|
||||||
|
|
||||||
|
### Targets: ###
|
||||||
|
|
||||||
|
all: $(OBJS)\test.exe
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
|
||||||
|
-if exist $(OBJS)\*.res del $(OBJS)\*.res
|
||||||
|
-if exist $(OBJS)\test.exe del $(OBJS)\test.exe
|
||||||
|
-if exist $(OBJS)\test.ilk del $(OBJS)\test.ilk
|
||||||
|
-if exist $(OBJS)\test.pdb del $(OBJS)\test.pdb
|
||||||
|
|
||||||
|
$(OBJS)\test.exe: $(TEST_OBJECTS)
|
||||||
|
link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(CPPUNIT_LIBS) @<<
|
||||||
|
$(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) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib
|
||||||
|
<<
|
||||||
|
|
||||||
|
$(OBJS)\test_test.obj: .\test.cpp
|
||||||
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
||||||
|
|
||||||
|
$(OBJS)\test_main.obj: .\mbconv\main.cpp
|
||||||
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
208
tests/makefile.wat
Normal file
208
tests/makefile.wat
Normal file
@@ -0,0 +1,208 @@
|
|||||||
|
# =========================================================================
|
||||||
|
# This makefile was generated by
|
||||||
|
# Bakefile 0.1.3 (http://bakefile.sourceforge.net)
|
||||||
|
# Do not modify, all changes will be overwritten!
|
||||||
|
# =========================================================================
|
||||||
|
|
||||||
|
!include ../build/msw/config.wat
|
||||||
|
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# Do not modify the rest of this file!
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Speed up compilation a bit:
|
||||||
|
!ifdef __LOADDLL__
|
||||||
|
! loaddll wcc wccd
|
||||||
|
! loaddll wccaxp wccdaxp
|
||||||
|
! loaddll wcc386 wccd386
|
||||||
|
! loaddll wpp wppdi86
|
||||||
|
! loaddll wppaxp wppdaxp
|
||||||
|
! loaddll wpp386 wppd386
|
||||||
|
! loaddll wlink wlink
|
||||||
|
! loaddll wlib wlibd
|
||||||
|
!endif
|
||||||
|
|
||||||
|
# We need these variables in some bakefile-made rules:
|
||||||
|
WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
|
||||||
|
|
||||||
|
### Conditionally set variables: ###
|
||||||
|
|
||||||
|
PORTNAME =
|
||||||
|
!ifeq USE_GUI 0
|
||||||
|
PORTNAME = base
|
||||||
|
!endif
|
||||||
|
!ifeq USE_GUI 1
|
||||||
|
PORTNAME = msw
|
||||||
|
!endif
|
||||||
|
WXDEBUGFLAG =
|
||||||
|
!ifeq BUILD debug
|
||||||
|
!ifeq DEBUG_FLAG default
|
||||||
|
WXDEBUGFLAG = d
|
||||||
|
!endif
|
||||||
|
!endif
|
||||||
|
!ifeq DEBUG_FLAG 1
|
||||||
|
WXDEBUGFLAG = d
|
||||||
|
!endif
|
||||||
|
WXUNICODEFLAG =
|
||||||
|
!ifeq UNICODE 1
|
||||||
|
WXUNICODEFLAG = u
|
||||||
|
!endif
|
||||||
|
WXUNIVNAME =
|
||||||
|
!ifeq WXUNIV 1
|
||||||
|
WXUNIVNAME = univ
|
||||||
|
!endif
|
||||||
|
WXDLLFLAG =
|
||||||
|
!ifeq SHARED 1
|
||||||
|
WXDLLFLAG = dll
|
||||||
|
!endif
|
||||||
|
__DEBUGINFO_0 =
|
||||||
|
!ifeq BUILD debug
|
||||||
|
!ifeq DEBUG_INFO default
|
||||||
|
__DEBUGINFO_0 = -d2
|
||||||
|
!endif
|
||||||
|
!endif
|
||||||
|
!ifeq BUILD release
|
||||||
|
!ifeq DEBUG_INFO default
|
||||||
|
__DEBUGINFO_0 = -d0
|
||||||
|
!endif
|
||||||
|
!endif
|
||||||
|
!ifeq DEBUG_INFO 0
|
||||||
|
__DEBUGINFO_0 = -d0
|
||||||
|
!endif
|
||||||
|
!ifeq DEBUG_INFO 1
|
||||||
|
__DEBUGINFO_0 = -d2
|
||||||
|
!endif
|
||||||
|
__DEBUGINFO_1 =
|
||||||
|
!ifeq BUILD debug
|
||||||
|
!ifeq DEBUG_INFO default
|
||||||
|
__DEBUGINFO_1 = debug all
|
||||||
|
!endif
|
||||||
|
!endif
|
||||||
|
!ifeq BUILD release
|
||||||
|
!ifeq DEBUG_INFO default
|
||||||
|
__DEBUGINFO_1 =
|
||||||
|
!endif
|
||||||
|
!endif
|
||||||
|
!ifeq DEBUG_INFO 0
|
||||||
|
__DEBUGINFO_1 =
|
||||||
|
!endif
|
||||||
|
!ifeq DEBUG_INFO 1
|
||||||
|
__DEBUGINFO_1 = debug all
|
||||||
|
!endif
|
||||||
|
__OPTIMIZEFLAG_2 =
|
||||||
|
!ifeq BUILD debug
|
||||||
|
__OPTIMIZEFLAG_2 = -od
|
||||||
|
!endif
|
||||||
|
!ifeq BUILD release
|
||||||
|
__OPTIMIZEFLAG_2 = -ot -ox
|
||||||
|
!endif
|
||||||
|
__RUNTIME_LIBS_5 =
|
||||||
|
!ifeq RUNTIME_LIBS dynamic
|
||||||
|
__RUNTIME_LIBS_5 = -br
|
||||||
|
!endif
|
||||||
|
!ifeq RUNTIME_LIBS static
|
||||||
|
__RUNTIME_LIBS_5 =
|
||||||
|
!endif
|
||||||
|
__EXCEPTIONSFLAG_7 =
|
||||||
|
!ifeq USE_EXCEPTIONS 0
|
||||||
|
__EXCEPTIONSFLAG_7 =
|
||||||
|
!endif
|
||||||
|
!ifeq USE_EXCEPTIONS 1
|
||||||
|
__EXCEPTIONSFLAG_7 = -xs
|
||||||
|
!endif
|
||||||
|
__WXUNIV_DEFINE_p =
|
||||||
|
!ifeq WXUNIV 1
|
||||||
|
__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
|
||||||
|
!endif
|
||||||
|
__DEBUG_DEFINE_p =
|
||||||
|
!ifeq BUILD debug
|
||||||
|
!ifeq DEBUG_FLAG default
|
||||||
|
__DEBUG_DEFINE_p = -d__WXDEBUG__
|
||||||
|
!endif
|
||||||
|
!endif
|
||||||
|
!ifeq DEBUG_FLAG 1
|
||||||
|
__DEBUG_DEFINE_p = -d__WXDEBUG__
|
||||||
|
!endif
|
||||||
|
__UNICODE_DEFINE_p =
|
||||||
|
!ifeq UNICODE 1
|
||||||
|
__UNICODE_DEFINE_p = -d_UNICODE
|
||||||
|
!endif
|
||||||
|
__DLLFLAG_p =
|
||||||
|
!ifeq SHARED 1
|
||||||
|
__DLLFLAG_p = -dWXUSINGDLL
|
||||||
|
!endif
|
||||||
|
__WXLIB_BASE_p =
|
||||||
|
!ifeq MONOLITHIC 0
|
||||||
|
__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
__WXLIB_MONO_p =
|
||||||
|
!ifeq MONOLITHIC 1
|
||||||
|
__WXLIB_MONO_p = &
|
||||||
|
wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
__LIB_TIFF_p =
|
||||||
|
!ifeq USE_GUI 1
|
||||||
|
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
__LIB_JPEG_p =
|
||||||
|
!ifeq USE_GUI 1
|
||||||
|
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
__LIB_PNG_p =
|
||||||
|
!ifeq USE_GUI 1
|
||||||
|
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
||||||
|
!endif
|
||||||
|
LIBDIRNAME =
|
||||||
|
!ifeq SHARED 0
|
||||||
|
LIBDIRNAME = .\..\lib\wat_lib$(CFG)
|
||||||
|
!endif
|
||||||
|
!ifeq SHARED 1
|
||||||
|
LIBDIRNAME = .\..\lib\wat_dll$(CFG)
|
||||||
|
!endif
|
||||||
|
|
||||||
|
### Variables: ###
|
||||||
|
|
||||||
|
OBJS = &
|
||||||
|
wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
|
||||||
|
SETUPHDIR = &
|
||||||
|
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||||
|
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)
|
||||||
|
TEST_OBJECTS = &
|
||||||
|
$(OBJS)\test_test.obj &
|
||||||
|
$(OBJS)\test_main.obj
|
||||||
|
|
||||||
|
|
||||||
|
all : $(OBJS)
|
||||||
|
$(OBJS) :
|
||||||
|
-if not exist $(OBJS) mkdir $(OBJS)
|
||||||
|
|
||||||
|
### Targets: ###
|
||||||
|
|
||||||
|
all : .SYMBOLIC $(OBJS)\test.exe
|
||||||
|
|
||||||
|
clean : .SYMBOLIC
|
||||||
|
-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
|
||||||
|
-if exist $(OBJS)\*.res del $(OBJS)\*.res
|
||||||
|
-if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
|
||||||
|
-if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
|
||||||
|
-if exist $(OBJS)\test.exe del $(OBJS)\test.exe
|
||||||
|
|
||||||
|
$(OBJS)\test.exe : $(TEST_OBJECTS)
|
||||||
|
@%create $(OBJS)\test.lbc
|
||||||
|
@%append $(OBJS)\test.lbc option quiet
|
||||||
|
@%append $(OBJS)\test.lbc name $^@
|
||||||
|
@%append $(OBJS)\test.lbc option caseexact
|
||||||
|
@%append $(OBJS)\test.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt ref 'main_' $(CPPUNIT_LIBS)
|
||||||
|
@for %i in ($(TEST_OBJECTS)) do @%append $(OBJS)\test.lbc file %i
|
||||||
|
@for %i in ( $(__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 kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib) do @%append $(OBJS)\test.lbc library %i
|
||||||
|
@%append $(OBJS)\test.lbc
|
||||||
|
wlink @$(OBJS)\test.lbc
|
||||||
|
|
||||||
|
$(OBJS)\test_test.obj : .AUTODEPEND .\test.cpp
|
||||||
|
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
|
||||||
|
|
||||||
|
$(OBJS)\test_main.obj : .AUTODEPEND .\mbconv\main.cpp
|
||||||
|
$(CXX) -zq -fo=$^@ $(TEST_CXXFLAGS) $<
|
17
tests/test.bkl
Normal file
17
tests/test.bkl
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!-- $id$ -->
|
||||||
|
|
||||||
|
<makefile>
|
||||||
|
|
||||||
|
<include file="../build/bakefiles/common_samples.bkl"/>
|
||||||
|
|
||||||
|
<exe id="test" template="wx_test_console"
|
||||||
|
template_append="wx_append_base">
|
||||||
|
<sources>
|
||||||
|
test.cpp
|
||||||
|
mbconv/main.cpp
|
||||||
|
</sources>
|
||||||
|
<wx-lib>base</wx-lib>
|
||||||
|
</exe>
|
||||||
|
|
||||||
|
</makefile>
|
136
tests/test.cpp
Normal file
136
tests/test.cpp
Normal file
@@ -0,0 +1,136 @@
|
|||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Name: test.cpp
|
||||||
|
// Purpose: Test program for wxWidgets
|
||||||
|
// Author: Mike Wetherell
|
||||||
|
// RCS-ID: $Id$
|
||||||
|
// Copyright: (c) 2004 Mike Wetherell
|
||||||
|
// Licence: wxWidgets licence
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
|
#pragma implementation
|
||||||
|
#pragma interface
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// For compilers that support precompilation, includes "wx/wx.h".
|
||||||
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
#pragma hdrstop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// for all others, include the necessary headers
|
||||||
|
#ifndef WX_PRECOMP
|
||||||
|
#include "wx/wx.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "wx/cmdline.h"
|
||||||
|
#include "wx/cppunit.h"
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
using namespace CppUnit;
|
||||||
|
|
||||||
|
// The application class
|
||||||
|
//
|
||||||
|
class TestApp : public wxAppConsole
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
TestApp();
|
||||||
|
|
||||||
|
// standard overrides
|
||||||
|
void OnInitCmdLine(wxCmdLineParser& parser);
|
||||||
|
bool OnCmdLineParsed(wxCmdLineParser& parser);
|
||||||
|
bool OnInit();
|
||||||
|
int OnRun();
|
||||||
|
|
||||||
|
private:
|
||||||
|
void List(Test *test, int depth = 0) const;
|
||||||
|
|
||||||
|
// command lines options/parameters
|
||||||
|
bool m_list;
|
||||||
|
string m_registry;
|
||||||
|
};
|
||||||
|
|
||||||
|
IMPLEMENT_APP_CONSOLE(TestApp)
|
||||||
|
|
||||||
|
TestApp::TestApp()
|
||||||
|
: m_list(false)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// Init
|
||||||
|
//
|
||||||
|
bool TestApp::OnInit()
|
||||||
|
{
|
||||||
|
cout << "Test program for wxWidgets\n"
|
||||||
|
<< "build: " << WX_BUILD_OPTIONS_SIGNATURE << endl;
|
||||||
|
return wxAppConsole::OnInit();
|
||||||
|
};
|
||||||
|
|
||||||
|
// The table of command line options
|
||||||
|
//
|
||||||
|
void TestApp::OnInitCmdLine(wxCmdLineParser& parser)
|
||||||
|
{
|
||||||
|
wxAppConsole::OnInitCmdLine(parser);
|
||||||
|
|
||||||
|
static const wxCmdLineEntryDesc cmdLineDesc[] = {
|
||||||
|
{ wxCMD_LINE_SWITCH, _T("l"), _T("list"),
|
||||||
|
_T("list the tests, do not run them"),
|
||||||
|
wxCMD_LINE_VAL_NONE, 0 },
|
||||||
|
{ wxCMD_LINE_PARAM, 0, 0, _T("REGISTRY"), wxCMD_LINE_VAL_STRING,
|
||||||
|
wxCMD_LINE_PARAM_OPTIONAL },
|
||||||
|
{ wxCMD_LINE_NONE , 0, 0, 0, wxCMD_LINE_VAL_NONE, 0 }
|
||||||
|
};
|
||||||
|
|
||||||
|
parser.SetDesc(cmdLineDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Handle command line options
|
||||||
|
//
|
||||||
|
bool TestApp::OnCmdLineParsed(wxCmdLineParser& parser)
|
||||||
|
{
|
||||||
|
if (parser.GetParamCount() > 0)
|
||||||
|
m_registry = parser.GetParam(0).mb_str();
|
||||||
|
|
||||||
|
m_list = parser.Found(_T("list"));
|
||||||
|
|
||||||
|
return wxAppConsole::OnCmdLineParsed(parser);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Run
|
||||||
|
//
|
||||||
|
int TestApp::OnRun()
|
||||||
|
{
|
||||||
|
Test *test = m_registry.empty()?
|
||||||
|
TestFactoryRegistry::getRegistry().makeTest() :
|
||||||
|
TestFactoryRegistry::getRegistry(m_registry).makeTest();
|
||||||
|
|
||||||
|
if (m_list) {
|
||||||
|
List(test);
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
} else {
|
||||||
|
TextUi::TestRunner runner;
|
||||||
|
runner.addTest(test);
|
||||||
|
return runner.run("", false, true, false) ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// List the tests
|
||||||
|
//
|
||||||
|
void TestApp::List(Test *test, int depth /*=0*/) const
|
||||||
|
{
|
||||||
|
cout << string(depth * 2, ' ') << test->getName() << "\n";
|
||||||
|
|
||||||
|
TestSuite *suite = dynamic_cast<TestSuite*>(test);
|
||||||
|
|
||||||
|
if (suite) {
|
||||||
|
typedef const std::vector<Test*> Tests;
|
||||||
|
typedef Tests::const_iterator Iter;
|
||||||
|
|
||||||
|
Tests& tests = suite->getTests();
|
||||||
|
|
||||||
|
for (Iter it = tests.begin(); it != tests.end(); ++it)
|
||||||
|
List(*it, depth + 1);
|
||||||
|
}
|
||||||
|
}
|
447
tests/test.dsp
Normal file
447
tests/test.dsp
Normal file
@@ -0,0 +1,447 @@
|
|||||||
|
# Microsoft Developer Studio Project File - Name="test" - Package Owner=<4>
|
||||||
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
|
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||||
|
|
||||||
|
CFG=test - Win32 Debug
|
||||||
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
|
!MESSAGE use the Export Makefile command and run
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test.mak".
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE You can specify a configuration when running NMAKE
|
||||||
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE NMAKE /f "test.mak" CFG="test - Win32 Debug"
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE Possible choices for configuration are:
|
||||||
|
!MESSAGE
|
||||||
|
!MESSAGE "test - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 DLL Universal Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 DLL Universal Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 DLL Unicode Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 DLL Unicode Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 DLL Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 DLL Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 Universal Unicode Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 Universal Unicode Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 Universal Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 Universal Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 Unicode Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 Unicode Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE "test - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||||
|
!MESSAGE
|
||||||
|
|
||||||
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
|
# PROP Scc_ProjName ""
|
||||||
|
# PROP Scc_LocalPath ""
|
||||||
|
CPP=cl.exe
|
||||||
|
RSC=rc.exe
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "test - Win32 DLL Universal Unicode Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "vc_mswunivudll"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswunivudll\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "vc_mswunivudll"
|
||||||
|
# PROP Intermediate_Dir "vc_mswunivudll\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswunivudll\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswunivu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswunivudll\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswunivu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_dll\mswunivu" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_dll\mswunivu" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivudll\test.exe" /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivudll\test.exe" /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 DLL Universal Unicode Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "vc_mswunivuddll"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswunivuddll\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "vc_mswunivuddll"
|
||||||
|
# PROP Intermediate_Dir "vc_mswunivuddll\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivuddll\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswunivud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivuddll\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswunivud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_dll\mswunivud" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_dll\mswunivud" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivuddll\test.exe" /debug /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivuddll\test.exe" /debug /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 DLL Universal Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "vc_mswunivdll"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswunivdll\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "vc_mswunivdll"
|
||||||
|
# PROP Intermediate_Dir "vc_mswunivdll\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswunivdll\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswuniv" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswunivdll\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswuniv" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\include" /i ".\..\lib\vc_dll\mswuniv" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\include" /i ".\..\lib\vc_dll\mswuniv" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivdll\test.exe" /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivdll\test.exe" /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 DLL Universal Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "vc_mswunivddll"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswunivddll\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "vc_mswunivddll"
|
||||||
|
# PROP Intermediate_Dir "vc_mswunivddll\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivddll\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswunivd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivddll\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswunivd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\include" /i ".\..\lib\vc_dll\mswunivd" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\include" /i ".\..\lib\vc_dll\mswunivd" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivddll\test.exe" /debug /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivddll\test.exe" /debug /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 DLL Unicode Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "vc_mswudll"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswudll\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "vc_mswudll"
|
||||||
|
# PROP Intermediate_Dir "vc_mswudll\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswudll\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswudll\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_dll\mswu" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "__WXMSW__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_dll\mswu" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswudll\test.exe" /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswudll\test.exe" /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 DLL Unicode Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "vc_mswuddll"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswuddll\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "vc_mswuddll"
|
||||||
|
# PROP Intermediate_Dir "vc_mswuddll\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswuddll\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswuddll\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_dll\mswud" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_dll\mswud" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswuddll\test.exe" /debug /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswuddll\test.exe" /debug /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 DLL Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "vc_mswdll"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswdll\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "vc_mswdll"
|
||||||
|
# PROP Intermediate_Dir "vc_mswdll\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswdll\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\msw" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswdll\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\msw" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "__WXMSW__" /i ".\..\include" /i ".\..\lib\vc_dll\msw" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "__WXMSW__" /i ".\..\include" /i ".\..\lib\vc_dll\msw" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswdll\test.exe" /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswdll\test.exe" /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 DLL Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "vc_mswddll"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswddll\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "vc_mswddll"
|
||||||
|
# PROP Intermediate_Dir "vc_mswddll\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswddll\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswddll\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_dll\mswd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\include" /i ".\..\lib\vc_dll\mswd" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\include" /i ".\..\lib\vc_dll\mswd" /i "." /d "WXUSINGDLL" /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswddll\test.exe" /debug /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswddll\test.exe" /debug /libpath:".\..\lib\vc_dll" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 Universal Unicode Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "vc_mswunivu"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswunivu\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "vc_mswunivu"
|
||||||
|
# PROP Intermediate_Dir "vc_mswunivu\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswunivu\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswunivu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswunivu\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswunivu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_lib\mswunivu" /i "." /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_lib\mswunivu" /i "." /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivu\test.exe" /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivu\test.exe" /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 Universal Unicode Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "vc_mswunivud"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswunivud\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "vc_mswunivud"
|
||||||
|
# PROP Intermediate_Dir "vc_mswunivud\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivud\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswunivud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivud\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswunivud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_lib\mswunivud" /i "." /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_lib\mswunivud" /i "." /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivud\test.exe" /debug /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivud\test.exe" /debug /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 Universal Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "vc_mswuniv"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswuniv\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "vc_mswuniv"
|
||||||
|
# PROP Intermediate_Dir "vc_mswuniv\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswuniv\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswuniv" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswuniv\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswuniv" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\include" /i ".\..\lib\vc_lib\mswuniv" /i "." /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\include" /i ".\..\lib\vc_lib\mswuniv" /i "." /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswuniv\test.exe" /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswuniv\test.exe" /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 Universal Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "vc_mswunivd"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswunivd\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "vc_mswunivd"
|
||||||
|
# PROP Intermediate_Dir "vc_mswunivd\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivd\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswunivd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswunivd\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswunivd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\include" /i ".\..\lib\vc_lib\mswunivd" /i "." /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\include" /i ".\..\lib\vc_lib\mswunivd" /i "." /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivd\test.exe" /debug /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivd\test.exe" /debug /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 Unicode Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "vc_mswu"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswu\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "vc_mswu"
|
||||||
|
# PROP Intermediate_Dir "vc_mswu\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_mswu\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_mswu\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswu" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "__WXMSW__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_lib\mswu" /i "." /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "__WXMSW__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_lib\mswu" /i "." /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswu\test.exe" /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswu\test.exe" /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 Unicode Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "vc_mswud"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswud\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "vc_mswud"
|
||||||
|
# PROP Intermediate_Dir "vc_mswud\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswud\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswud\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswud" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_lib\mswud" /i "." /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\include" /i ".\..\lib\vc_lib\mswud" /i "." /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswud\test.exe" /debug /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswud\test.exe" /debug /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 Release"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 0
|
||||||
|
# PROP BASE Output_Dir "vc_msw"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_msw\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 0
|
||||||
|
# PROP Output_Dir "vc_msw"
|
||||||
|
# PROP Intermediate_Dir "vc_msw\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MD /Fdvc_msw\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\msw" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MD /Fdvc_msw\test.pdb /O1 /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\msw" /W4 /I "." /D "WIN32" /D "__WXMSW__" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "__WXMSW__" /i ".\..\include" /i ".\..\lib\vc_lib\msw" /i "." /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "__WXMSW__" /i ".\..\include" /i ".\..\lib\vc_lib\msw" /i "." /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_msw\test.exe" /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_msw\test.exe" /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "test - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP BASE Use_MFC 0
|
||||||
|
# PROP BASE Use_Debug_Libraries 1
|
||||||
|
# PROP BASE Output_Dir "vc_mswd"
|
||||||
|
# PROP BASE Intermediate_Dir "vc_mswd\test"
|
||||||
|
# PROP BASE Target_Dir ""
|
||||||
|
# PROP Use_MFC 0
|
||||||
|
# PROP Use_Debug_Libraries 1
|
||||||
|
# PROP Output_Dir "vc_mswd"
|
||||||
|
# PROP Intermediate_Dir "vc_mswd\test"
|
||||||
|
# PROP Target_Dir ""
|
||||||
|
# ADD BASE CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswd\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_CONSOLE" /c
|
||||||
|
# ADD CPP /nologo /FD /GR /GX /MDd /Zi /Gm /GZ /Fdvc_mswd\test.pdb /Od /GR /GX /I ".\..\include" /I ".\..\lib\vc_lib\mswd" /W4 /I "." /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_CONSOLE" /c
|
||||||
|
# ADD BASE RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\include" /i ".\..\lib\vc_lib\mswd" /i "." /d _CONSOLE
|
||||||
|
# ADD RSC /l 0x405 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\include" /i ".\..\lib\vc_lib\mswd" /i "." /d _CONSOLE
|
||||||
|
BSC32=bscmake.exe
|
||||||
|
# ADD BASE BSC32 /nologo
|
||||||
|
# ADD BSC32 /nologo
|
||||||
|
LINK32=link.exe
|
||||||
|
# ADD BASE LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswd\test.exe" /debug /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
# ADD LINK32 wxbase25d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswd\test.exe" /debug /libpath:".\..\lib\vc_lib" /subsystem:console
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# Begin Target
|
||||||
|
|
||||||
|
# Name "test - Win32 DLL Universal Unicode Release"
|
||||||
|
# Name "test - Win32 DLL Universal Unicode Debug"
|
||||||
|
# Name "test - Win32 DLL Universal Release"
|
||||||
|
# Name "test - Win32 DLL Universal Debug"
|
||||||
|
# Name "test - Win32 DLL Unicode Release"
|
||||||
|
# Name "test - Win32 DLL Unicode Debug"
|
||||||
|
# Name "test - Win32 DLL Release"
|
||||||
|
# Name "test - Win32 DLL Debug"
|
||||||
|
# Name "test - Win32 Universal Unicode Release"
|
||||||
|
# Name "test - Win32 Universal Unicode Debug"
|
||||||
|
# Name "test - Win32 Universal Release"
|
||||||
|
# Name "test - Win32 Universal Debug"
|
||||||
|
# Name "test - Win32 Unicode Release"
|
||||||
|
# Name "test - Win32 Unicode Debug"
|
||||||
|
# Name "test - Win32 Release"
|
||||||
|
# Name "test - Win32 Debug"
|
||||||
|
# Begin Group "Source Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter ""
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\mbconv\main.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\test.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# End Target
|
||||||
|
# End Project
|
||||||
|
|
31
tests/test.dsw
Normal file
31
tests/test.dsw
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
Microsoft Developer Studio Workspace File, Format Version 6.00
|
||||||
|
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
Project: "test"=test.dsp - Package Owner=<4>
|
||||||
|
|
||||||
|
Package=<5>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
Package=<4>
|
||||||
|
{{{
|
||||||
|
Begin Project Dependency
|
||||||
|
Project_Dep_Name base
|
||||||
|
End Project Dependency
|
||||||
|
}}}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
Project: "base"=..\build\msw\wx_base.dsp - Package Owner=<4>
|
||||||
|
|
||||||
|
Package=<5>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
Package=<4>
|
||||||
|
{{{
|
||||||
|
}}}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
|
Reference in New Issue
Block a user