File: CMakeLists.txt

package info (click to toggle)
svgpp 1.3.0%2Bdfsg1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,548 kB
  • sloc: cpp: 30,523; makefile: 165; python: 73; xml: 48; sh: 36
file content (39 lines) | stat: -rw-r--r-- 668 bytes parent folder | download | duplicates (3)
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
cmake_minimum_required (VERSION 2.6)

project(Documentation)

add_custom_target(
  Documentation ALL 
  SOURCES 
    advanced.rst
    basic_shapes.rst 
    color.rst 
    document_traversal.rst
    error.rst 
    faq.rst
    help.rst
    index.rst 
    installation.rst
    iri.rst 
    length.rst 
    lesson01.rst 
    license.rst
    markers.rst 
    overview.rst 
    path.rst 
    reference.rst
    text.rst
    transform.rst 
    value.rst 
    value_parser.rst 
    viewport.rst 
    conf.py 
)

if (WIN32)
  add_custom_command(TARGET Documentation
    POST_BUILD
    COMMAND make.bat html
    WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
  )
endif (WIN32)