File: html.cmake

package info (click to toggle)
wxpython4.0 4.2.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 221,752 kB
  • sloc: cpp: 962,555; python: 230,573; ansic: 170,731; makefile: 51,756; sh: 9,342; perl: 1,564; javascript: 584; php: 326; xml: 200
file content (41 lines) | stat: -rw-r--r-- 1,493 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#############################################################################
# Name:        build/cmake/samples/html.cmake
# Purpose:     CMake script to build html samples
# Author:      Tobias Taschner
# Created:     2016-10-22
# Copyright:   (c) 2016 wxWidgets development team
# Licence:     wxWindows licence
#############################################################################

set(wxSAMPLE_FOLDER html)
set(wxSAMPLE_SUBDIR html/)

wx_add_sample(about DATA data/about.htm data/logo.png data/bg.svg LIBRARIES wxhtml)
wx_list_add_prefix(HELP_DATA_FILES helpfiles/
    Index.hhk
    another.hhc
    another.hhp
    another.htm
    book1.htm
    book2.htm
    contents.hhc
    main.htm
    page2-b.htm
    testing.hhp
    )
wx_add_sample(help DATA ${HELP_DATA_FILES} LIBRARIES wxhtml NAME htmlhelp DEPENDS wxUSE_HELP)
wx_add_sample(helpview DATA test.zip LIBRARIES wxhtml DEPENDS wxUSE_HELP)
wx_add_sample(printing DATA logo6.gif test.htm LIBRARIES wxhtml NAME htmlprinting
    DEPENDS wxUSE_PRINTING_ARCHITECTURE)
wx_add_sample(test
    DATA
        imagemap.png pic.png pic2.bmp i18n.gif
        imagemap.htm tables.htm test.htm listtest.htm 8859_2.htm cp1250.htm
        regres.htm foo.png subsup.html
    LIBRARIES wxnet wxhtml NAME htmltest)
wx_add_sample(virtual DATA start.htm LIBRARIES wxhtml)
wx_add_sample(widget DATA start.htm LIBRARIES wxhtml)
wx_add_sample(zip DATA pages.zip start.htm LIBRARIES wxhtml DEPENDS wxUSE_FS_ZIP)

set(wxSAMPLE_SUBDIR)
set(wxSAMPLE_FOLDER)