aboutsummaryrefslogtreecommitdiffstats
path: root/doc/scriptexamples/tutorial/CMakeLists.txt
blob: 5236ebbc27ffeef5bdc6b0bfe6551e8427cc7faa (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# CMakeLists for doc/scriptexamples/tutorial/

SET(tutorial
	minesweeper1.kvs
	minesweeper2.kvs
	minesweeper3.kvs
	minesweeper4.kvs
	minesweeper5.kvs
	minesweeper6.kvs
	minesweeper7.kvs
)

# Install target
IF(UNIX)
	IF(APPLE)
		INSTALL(FILES ${tutorial} DESTINATION ${CMAKE_INSTALL_PREFIX}/Contents/Resources/doc/scriptexamples/tutorial)
	ELSE()
		# Assume linux
		INSTALL(FILES ${tutorial} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/kvirc/${VERSION_BRANCH}/doc/scriptexamples/tutorial)
	ENDIF()
ELSEIF(WIN32)
	INSTALL(FILES ${tutorial} DESTINATION ${CMAKE_INSTALL_PREFIX}/doc/scriptexamples/tutorial)
ENDIF()