File: CMakeLists.txt

package info (click to toggle)
pcl 1.11.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 142,936 kB
  • sloc: cpp: 512,326; xml: 28,792; ansic: 13,656; python: 526; lisp: 93; makefile: 74; sh: 27
file content (19 lines) | stat: -rw-r--r-- 738 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
if(NOT SPHINX_FOUND)
  return()
endif()

add_custom_target(tutorials ALL
                  COMMAND "${SPHINX_EXECUTABLE}"
	                  -b html
	                  -d "${SPHINX_CACHE_DIR}"
	                  -Dversion="${PCL_VERSION_PRETTY}"
	                  -Drelease="${PCL_VERSION_PRETTY}"
	                  "${CMAKE_CURRENT_SOURCE_DIR}/content" html)
add_dependencies(tutorials doc)
set_target_properties(tutorials PROPERTIES FOLDER "Documentation (Tutorials)")
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html"
        DESTINATION "${DOC_INSTALL_DIR}/tutorials"
        COMPONENT doc)
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/content/sources"
        DESTINATION "${DOC_INSTALL_DIR}/tutorials"
        COMPONENT doc)