added .chm support for Unix (Markus Sinner)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2003-10-07 19:47:02 +00:00
parent d7787243db
commit c839485c8e
7 changed files with 28 additions and 0 deletions

View File

@ -173,6 +173,7 @@ compiled .lib files and setup.h under the lib/ toplevel directory.
<option name="TOOLCHAIN_NAME"/>
<option name="EXTRALIBS"/>
<option name="EXTRALIBS_XML"/>
<option name="EXTRALIBS_HTML"/>
<option name="EXTRALIBS_ODBC"/>
<option name="EXTRALIBS_GUI"/>
<option name="EXTRALIBS_OPENGL"/>
@ -210,6 +211,7 @@ it if SHARED=1 unless you know what you are doing.
<set var="EXTRACFLAGS"/>
<set var="EXTRALIBS"/>
<set var="EXTRALIBS_XML"/>
<set var="EXTRALIBS_HTML"/>
<set var="EXTRALIBS_ODBC"/>
<set var="EXTRALIBS_GUI"/>
<set var="EXTRALIBS_OPENGL">

View File

@ -2044,6 +2044,12 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<if cond="TOOLKIT=='MSW'">
src/msw/helpbest.cpp
</if>
<if cond="PLATFORM_UNIX=='1'">
src/html/chm.cpp
</if>
<if cond="PLATFORM_MACOSX=='1'">
src/html/chm.cpp
</if>
</set>
<set var="HTML_SRC" hints="files">
$(HTML_SRC_PLATFORM)

View File

@ -17,6 +17,7 @@
<define>WXMAKINGDLL</define>
<sources>$(MONOLIB_SRC)</sources>
<ldlibs>$(EXTRALIBS_XML)</ldlibs>
<ldlibs>$(EXTRALIBS_HTML)</ldlibs>
<ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
<msvc-headers>$(ALL_HEADERS)</msvc-headers>
</dll>

View File

@ -148,6 +148,7 @@
<sources>$(HTML_SRC)</sources>
<library>coredll</library>
<library>basedll</library>
<ldlibs>$(EXTRALIBS_HTML)</ldlibs>
<msvc-headers>$(HTML_HDR)</msvc-headers>
</dll>

View File

@ -41,6 +41,7 @@ LIBS_GUI = ['core', 'adv', 'html', 'gl', 'dbgrid']
EXTRALIBS = {
'gl' : '$(EXTRALIBS_OPENGL)',
'xml' : '$(EXTRALIBS_XML)',
'html' : '$(EXTRALIBS_HTML)',
'odbc' : '$(EXTRALIBS_ODBC)',
}

View File

@ -403,6 +403,19 @@
# endif
#endif /* !defined(wxUSE_HTML) */
#ifndef wxUSE_LIBMSPACK
# ifndef __UNIX__
/* set to 0 on platforms that don't have libmspack */
# define wxUSE_LIBMSPACK 0
# else
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_LIBMSPACK must be defined."
# else
# define wxUSE_LIBMSPACK 0
# endif
# endif
#endif /* !defined(wxUSE_LIBMSPACK) */
#ifndef wxUSE_ICO_CUR
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_ICO_CUR must be defined."

View File

@ -784,6 +784,10 @@
* Use MS HTML Help controller (win32)
*/
#define wxUSE_MS_HTML_HELP 0
/*
* Use MS HTML Help via libmspack (Unix)
*/
#define wxUSE_LIBMSPACK 0
/*
* Use iostream.h rather than iostream