Skip to content

Commit 3298ee9

Browse files
author
Koen Deforche
committed
documentation improvements
1 parent d55ec82 commit 3298ee9

35 files changed

+173
-88
lines changed

INSTALL.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,15 @@ <h4>2. Configure the library</h4>
167167
using the interactive program:
168168

169169
<pre>
170-
$ ccmake .
170+
$ ccmake ../
171+
</pre>
172+
or
173+
<pre>
174+
$ cmake-gui ../
171175
</pre>
172176

173-
<p>Variables that you may set to configure Wt's built-in boost finding
177+
<p>The GUI lists all variables that are configurable in Wt's build process.
178+
Variables that you may set to configure Wt's built-in boost finding
174179
method:</p>
175180

176181
<dl>
@@ -186,7 +191,7 @@ <h4>2. Configure the library</h4>
186191
</dl>
187192

188193
Other variables specify several build and configuration aspects of Wt, of which
189-
the most relevant ones are:
194+
the most relevant ones are (there are many more visible in the GUI):
190195

191196
<dl>
192197
<dt><strong>CMAKE_INSTALL_PREFIX</strong></dt>

INSTALL.win32.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,19 @@ <h2>Requirements</h2>
3030
build on the Express Edition, which is free (as in beer) to use.
3131
<li>CMake cross-platform build system (www.cmake.org): cmake-2.6.x,
3232
Windows version (2.8 or newer recommended).</li>
33-
<li>Boost 1.36 (or later).</li>
33+
<li>Boost 1.36 (or later; a recent version is recommended)</li>
3434
</ul>
3535
</p>
3636

3737
<p>Additional and optional requirements for some of the examples
3838
<ul>
3939
<li>For https support: OpenSSL, version 0.9.8d or newer.</li>
4040
<li>To compress traffic: zlib 1.2.3</li>
41-
<li>libmysql and libmysql++-2.x (hangman)</li>
42-
<li><a href="http://libharu.org/">Haru Free PDF Library</a>, which is used to provide support for painting to PDF (WPdfImage).</li>
43-
<li><a href="http://www.graphicsmagick.org/">GraphicsMagick</a>, for supporting painting to raster images (PNG, GIF, ...) (WRasterImage).</li>
41+
<li>Postgres, mysql, firebird client libraries for Dbo database backends</li>
42+
<li><a href="http://libharu.org/">Haru Free PDF Library</a>, which is used to
43+
provide support for rendering PDF (WPdfImage, WPdfRenderer).</li>
44+
<li><a href="http://www.graphicsmagick.org/">GraphicsMagick</a>, for
45+
supporting painting to raster images (PNG, GIF, ...) (WRasterImage).</li>
4446
</ul>
4547
</p>
4648

@@ -92,7 +94,9 @@ <h4>1. Run the example in the MSVC IDE </h4>
9294
on how to obtain and install ExtJs.
9395

9496
<p>
95-
These are all the command-line options that are available:
97+
These are all the command-line options that are available (run the examples
98+
with --help to see the most recent list of available options):
99+
96100
<pre>
97101
General options:
98102
-h [ --help ] produce help message

cmake/WtFindHaru.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ ELSE(WIN32)
8181
PATHS
8282
${HARU_PREFIX}/lib
8383
${USERLIB_PREFIX}/lib
84+
/lib/x86_64-linux-gnu
8485
)
8586

8687
FIND_LIBRARY(Z_LIB
@@ -103,8 +104,10 @@ IF(HARU_LIB AND HARU_INCLUDE_DIR AND HARU_SUPPORT_LIBS_FOUND)
103104
SET(HARU_FOUND TRUE)
104105
SET(HARU_INCLUDE_DIRS ${HARU_INCLUDE_DIR})
105106
SET(HARU_LIBRARIES ${HARU_LIB} ${HARU_SUPPORT_LIBS})
107+
MESSAGE(STATUS "Found libharu libraries")
106108
ELSE(HARU_LIB AND HARU_INCLUDE_DIR AND HARU_SUPPORT_LIBS_FOUND)
107109
SET(HARU_FOUND FALSE)
110+
MESSAGE(STATUS "libharu libraries not found - set HARU_PREFIX")
108111
ENDIF(HARU_LIB AND HARU_INCLUDE_DIR AND HARU_SUPPORT_LIBS_FOUND)
109112

110113

examples/CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ IF(MSVC_VERSION)
168168
ENDIF(MSVC_VERSION GREATER 1600)
169169
ENDIF(MSVC_VERSION)
170170
IF(CMAKE_COMPILER_IS_GNUCXX)
171-
execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion
171+
execute_process(COMMAND ${CMAKE_C_COMPILER} "-dumpversion"
172172
OUTPUT_VARIABLE GCC_VERSION)
173-
IF(${GCC_VERSION} VERSION_GREATER "4.6.0")
173+
IF(${GCC_VERSION} VERSION_GREATER "4.5.99")
174174
SET(HAS_CXX11 ON)
175-
ENDIF(${GCC_VERSION} VERSION_GREATER "4.6.0")
175+
ENDIF(${GCC_VERSION} VERSION_GREATER "4.5.99")
176176
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
177177

178178
IF(HAS_CXX11)
@@ -182,5 +182,3 @@ IF(HAS_CXX11)
182182
ELSE(HAS_CXX11)
183183
MESSAGE("Not building widget gallery; a C++11 compiler is required (gcc > 4.6 or MSVS 2012)")
184184
ENDIF(HAS_CXX11)
185-
186-

examples/widgetgallery/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ ENDIF(NOT WIN32)
3434
WT_ADD_EXAMPLE(widgetgallery.wt
3535
${WIDGETGALLERY_SOURCES}
3636
)
37-
TARGET_LINK_LIBRARIES(widgetgallery.wt wtext)
3837

3938
IF (HAVE_HARU)
4039
INCLUDE_DIRECTORIES(${HARU_INCLUDE_DIRS})

examples/widgetgallery/TreesTables.C

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ Wt::WWidget *TreesTables::tableViews()
107107
return result;
108108
}
109109

110+
#ifndef WT_TARGET_JAVA
111+
#define GIT_REPOSITORY "../../.git"
112+
#else
113+
#define GIT_REPOSITORY "../../.git"
114+
#endif
115+
110116
#ifndef _WIN32
111117
#include "examples/GitModel.cpp"
112118
#include "examples/TreeView.cpp"

examples/widgetgallery/approot/src.xml

Lines changed: 70 additions & 38 deletions
Large diffs are not rendered by default.

examples/widgetgallery/approot/text.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4567,7 +4567,7 @@ the correct page.-->
45674567
</p>
45684568
<p>
45694569
The trailer used in the examples below is
4570-
<a href="http://durian.blender.org/" target="blank">Sintel</a>, &copy;
4570+
<a href="http://durian.blender.org/" target="blank">Sintel</a>, &#169;
45714571
copyright Blender Foundation | durian.blender.org
45724572
</p>
45734573

examples/widgetgallery/examples/CheckBoxInline.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
21
#include <Wt/WCheckBox>
3-
#include <Wt/WTemplate>
2+
#include <Wt/WContainerWidget>
43

54
SAMPLE_BEGIN(CheckBoxInline)
65

examples/widgetgallery/examples/CheckBoxStack.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
21
#include <Wt/WCheckBox>
3-
#include <Wt/WTemplate>
2+
#include <Wt/WContainerWidget>
43

54
SAMPLE_BEGIN(CheckBoxStack)
65

0 commit comments

Comments
 (0)