summaryrefslogtreecommitdiff
path: root/mobile_src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'mobile_src/CMakeLists.txt')
-rwxr-xr-xmobile_src/CMakeLists.txt69
1 files changed, 69 insertions, 0 deletions
diff --git a/mobile_src/CMakeLists.txt b/mobile_src/CMakeLists.txt
new file mode 100755
index 0000000..9afa6a3
--- /dev/null
+++ b/mobile_src/CMakeLists.txt
@@ -0,0 +1,69 @@
+# -----------------------------------------------------------------------------
+# Common Module
+# -----------------------------------------------------------------------------
+SET(COMMON_TARGET_NAME "wrt-plugins-tizen-common")
+SET(COMMON_DESTINATION_NAME "tizen-tizen")
+
+SET(CMAKE_INSTALL_RPATH
+ ${CMAKE_INSTALL_RPATH}
+ ${CMAKE_INSTALL_PREFIX}/${DESTINATION_LIB_PREFIX}/${COMMON_DESTINATION_NAME}
+)
+
+configure_and_install_pkg(wrt-plugins-tizen-common.pc)
+add_subdir(Common)
+
+SET(LIBS_COMMON
+ ${LIBS_COMMON}
+ ${COMMON_TARGET_NAME}
+)
+
+add_subdir(Common/StandaloneConsole)
+
+IF(ENABLE_TIME_TRACER)
+add_subdir(Common/TimeTracer)
+
+SET(LIBS_COMMON
+ ${LIBS_COMMON}
+ "timetracer"
+)
+
+ENDIF(ENABLE_TIME_TRACER)
+
+SET(LIBS_TEST
+ ${LIBS_COMMON}
+ "standaloneconsole"
+)
+
+# -----------------------------------------------------------------------------
+# Plugin Modules
+# -----------------------------------------------------------------------------
+
+add_plugin(
+ Tizen
+ TimeUtil
+ Content
+ Calendar
+ Contact
+ DataControl
+ Bluetooth
+ Application
+ Messaging
+ Callhistory
+ Systeminfo
+ NFC
+ Filesystem
+ Alarm
+ Power
+ Notification
+ Download
+ NetworkBearerSelection
+ Push
+ SystemSetting
+ MessagePort
+ Package
+ Bookmark
+ SecureElement
+ DataSync
+ WebSetting
+ Sensor
+)