summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: ec2ce4e93e989e53a81d9539e56ed697754d7877 (plain)
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
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")


SET(ENGINE_PKGCONFIGS
	capi-network-wifi-manager
	network)

SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wmissing-declarations")

IF(TIZEN_TETHERING_ENABLE)
	ADD_DEFINITIONS(-DTIZEN_TETHERING_ENABLE)
	SET(TETHERING_REQUIRED_PKGS "capi-network-tethering")
ENDIF(TIZEN_TETHERING_ENABLE)
IF(MODEL_BUILD_FEATURE_WLAN_CONCURRENT_MODE)
	ADD_DEFINITIONS(-DMODEL_BUILD_FEATURE_WLAN_CONCURRENT_MODE)
ENDIF(MODEL_BUILD_FEATURE_WLAN_CONCURRENT_MODE)
IF(TIZEN_EMULATOR)
	ADD_DEFINITIONS(-DTIZEN_EMULATOR)
ENDIF(TIZEN_EMULATOR)

INCLUDE(FindPkgConfig)
pkg_check_modules(pkgs REQUIRED
	ecore
	ecore-imf
	ecore-input
	appcore-efl
	elementary
	capi-ui-efl-util
	glib-2.0
	ui-gadget-1
	capi-network-connection
	capi-network-wifi-manager
	sensor
	openssl
	cert-svc-vcore
	efl-extension
	aul
#syspopup
#syspopup-caller
	feedback
#setting-common-lite-internal
	${TETHERING_REQUIRED_PKGS}
#engine pkgconfigs
	${ENGINE_PKGCONFIGS})

ADD_SUBDIRECTORY(sources/wearable)