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)
|