Tizen 2.0 Release
[framework/system/oma-dm-agent.git] / src / plugins / dm-private / fumo / CMakeLists.txt
1
2 #############################################
3 #
4 # Step 1. Set Variable and Build Dependency
5 #
6
7 # set plguin name
8 SET(PLUGIN_NAME "mo-fumo")
9
10 # set a name for the entire project
11 PROJECT(plugin-${PLUGIN_NAME})
12
13 # checks for build dependency modules : a pkg-config module for CMake
14 INCLUDE(FindPkgConfig)
15 pkg_check_modules(${PLUGIN_NAME} REQUIRED
16                                         sync-agent
17                                         vconf
18                                         libsoup-2.4
19                                         dlog
20                                         libwbxml2
21                                         tapi                                    
22                                         capi-system-info
23                                         capi-telephony-sim
24                                         )
25
26 #############################################
27 #
28 # Step 2. Set Compile Environment
29 #
30
31 # set extra cflags from build dependency
32 SET(PLUGIN_CFLAGS "${mo-fumo_CFLAGS}")
33
34 #############################################
35 #
36 # Step 3. Set Link Environment
37 #
38
39 # link a target to given libraries from pkg-config.
40 SET(PLUGIN_LDFLAGS "${mo-fumo_LDFLAGS}")
41
42 #############################################
43 #
44 # Step 4. Install packages
45 #
46
47 include(${CMAKE_CURRENT_SOURCE_DIR}/../../CMakeLists.sub)