File: CMakeLists.txt

package info (click to toggle)
minexpert2 9.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 65,916 kB
  • sloc: cpp: 27,271; javascript: 22,140; xml: 8,066; python: 214; makefile: 91; sh: 86
file content (35 lines) | stat: -rw-r--r-- 1,115 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
message("")
message(STATUS "${BoldGreen}Starting configuring of the devdoc material${ColourReset}")
message("")

# The developer documentation.
if(UNIX AND NOT APPLE)

	# Command:
	# make devdoc
	add_custom_target(devdoc
		COMMAND doxygen msxpertsuite.doxyconf
		WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
		COMMENT "Doxygen-based developer documentation generation")

	# Make sure we use the qtchooser command to run the qhelpgenerator command
	# qtchooser --run-tool=qhelpgenerator -qt=5 -o html/msxpertsuite.qch html/index.qhp

	# Command:
	# make qthelp
	add_custom_target(qthelp
		COMMAND qtchooser --run-tool=qhelpgenerator -qt=5 -o html/msxpertsuite.qch html/index.qhp
		COMMAND touch /tmp/this-is-the-touch
		WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
		COMMENT "Build the Qt Assistant indexed file.")

	# Make sure the qtAssistantHelp target depends on the devdoc target since
	# html/index.qhp is created upon making devdoc.
	add_dependencies(qthelp devdoc)

endif(UNIX AND NOT APPLE)

message("")
message(STATUS "${BoldGreen}Finished configuring of the devdoc material${ColourReset}")
message("")