eb88010eb8bd16f43cf8c7c4d5fe9e6e119d5aad
[platform/framework/native/appfw.git] / src / CMakeLists.txt
1
2 INCLUDE(FindPkgConfig)
3 pkg_check_modules(pkgs REQUIRED
4         alarm-service
5         aul
6         appsvc
7         bundle
8         chromium
9         dbus-1
10         dbus-glib-1
11         devman
12         dlog
13         dukgenerator
14         ecore
15         glib-2.0
16         haptic
17         heynoti
18         icu-i18n
19         libpcre
20         libsoup-2.4
21         libxml-2.0
22         message-port
23         minizip
24         notification
25         pmapi
26         pkgmgr
27         pkgmgr-info
28         sqlite3
29         uuid
30         vconf
31         zlib
32         tapi
33         capi-appfw-application
34         capi-content-mime-type
35         capi-network-serial
36         capi-system-runtime-info
37         capi-system-device
38         capi-system-power
39         capi-system-system-settings
40         capi-system-info
41         security-server
42 )
43
44 FOREACH(flag ${pkgs_CFLAGS})
45         SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag} -Wall -Wno-unused")
46 ENDFOREACH(flag)
47
48
49 ## Add SubModules
50 ADD_SUBDIRECTORY(newlib-compat)
51 ADD_SUBDIRECTORY(app)
52 ADD_SUBDIRECTORY(io)
53 ADD_SUBDIRECTORY(base)
54 ADD_SUBDIRECTORY(locales)
55 ADD_SUBDIRECTORY(security)
56 ADD_SUBDIRECTORY(system)
57 ADD_SUBDIRECTORY(text)
58 ADD_SUBDIRECTORY(appfw)
59 ADD_SUBDIRECTORY(osp-string)
60 ADD_SUBDIRECTORY(server osp-appfw-server)
61 ADD_SUBDIRECTORY(system-server osp-system-server)