File: CMakeLists.txt

package info (click to toggle)
psi-plugins 1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,368 kB
  • sloc: cpp: 42,063; xml: 714; ansic: 84; makefile: 61; sh: 12
file content (60 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
cmake_minimum_required(VERSION 3.1.0)

#set( deprecated_list
#	captchaformsplugin
#	gmailserviceplugin
#)

set( plugins_list
	attentionplugin
	autoreplyplugin
	birthdayreminderplugin
	chessplugin
	cleanerplugin
	conferenceloggerplugin
	contentdownloaderplugin
	enummessagesplugin
	extendedmenuplugin
	extendedoptionsplugin
	gnupgplugin
	gomokugameplugin
	historykeeperplugin
	httpuploadplugin
	icqdieplugin
	imageplugin
	imagepreviewplugin
	jabberdiskplugin
	juickplugin
	messagefilterplugin
	otrplugin
	pepchangenotifyplugin
	qipxstatusesplugin
	screenshotplugin
	skinsplugin
	stopspamplugin
	storagenotesplugin
	translateplugin
	videostatusplugin
	watcherplugin
)

if( NOT MSVC )
	list(APPEND plugins_list
		clientswitcherplugin
	)
endif()

if( "${BUILD_PLUGINS}" STREQUAL "ALL" )
	set ( plugins ${plugins_list} )
else()
	set ( plugins "${BUILD_PLUGINS}" )
endif()

foreach(plugin ${plugins_list})
	foreach(subdir ${plugins})
		if( ${plugin} STREQUAL ${subdir} )
			message("Parse subdirectory: ./${plugin}")
			add_subdirectory("./${plugin}")
		endif()
	endforeach()
endforeach()