File: CMakeLists.txt

package info (click to toggle)
qutecom 2.2~rc3.hg396~dfsg1-6
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 74,344 kB
  • ctags: 68,272
  • sloc: ansic: 511,216; cpp: 101,521; sh: 7,820; python: 3,655; makefile: 3,029; xml: 949; objc: 623; cs: 209; perl: 199; tcl: 96; asm: 57; php: 28
file content (56 lines) | stat: -rw-r--r-- 1,349 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
include(CMakeLists-owbuild.txt)

cmake_minimum_required(VERSION 2.4.6)

project(wengophone)

# Global variables
set(APPLICATION_NAME QuteCom  CACHE STRING "Name of application")
set(APPLICATION_VERSION "2.2" CACHE STRING "Version of application")

# Split APPLICATION_VERSION into separate vars:
# If APPLICATION_VERSION is x.y.z, then APPLICATION_VERSION_1 will be x,
# APPLICATION_VERSION_2 will be y and so on.
set(tmp "${APPLICATION_VERSION}.0.0.0")
set(tmp_rx "([0-9]+)\\.([0-9]+)\\.([0-9]+)\\.([0-9]+).*")
string(REGEX REPLACE ${tmp_rx} "\\1" APPLICATION_VERSION_1 "${tmp}")
string(REGEX REPLACE ${tmp_rx} "\\2" APPLICATION_VERSION_2 "${tmp}")
string(REGEX REPLACE ${tmp_rx} "\\3" APPLICATION_VERSION_3 "${tmp}")
string(REGEX REPLACE ${tmp_rx} "\\4" APPLICATION_VERSION_4 "${tmp}")

# Add options values
include(DefineWengoOptions.cmake)
include(DefineInstallationPaths.cmake)
include(DefineCPackDefaults.cmake)

subdirs(
	libs/3rdparty
)

if (WIN32)
	subdirs(
		libs/3rdparty/portaudio
	)
endif (WIN32)

subdirs(
	libs/owutil
	libs/qtutil
	libs/timer
	libs/pixertool
	libs/webcam
	wifo
	libs/wenbox
	libs/owbrowser
	libs/trayicon
	libs/softupdater
	libs/sound
	libs/imwrapper
#	libs/imwrapper/src/gaim
        libs/imwrapper/src/purple
	libs/sipwrapper
	libs/sipwrapper/src/phapi
	libs/imwrapper/src/multiim
	wengophone
        crashreport
)