summaryrefslogtreecommitdiff
path: root/mobile/lock-setting/lockscreen-options/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/lock-setting/lockscreen-options/CMakeLists.txt')
-rwxr-xr-xmobile/lock-setting/lockscreen-options/CMakeLists.txt39
1 files changed, 0 insertions, 39 deletions
diff --git a/mobile/lock-setting/lockscreen-options/CMakeLists.txt b/mobile/lock-setting/lockscreen-options/CMakeLists.txt
deleted file mode 100755
index 719f98e..0000000
--- a/mobile/lock-setting/lockscreen-options/CMakeLists.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(ug-lockscreen-options C)
-
-SET(PREFIX ${CMAKE_INSTALL_PREFIX}/ug)
-SET(LIBDIR "${PREFIX}/lib")
-SET(RESDIR "${PREFIX}/res")
-SET(DATADIR "${PREFIX}/data")
-SET(LOCALEDIR "${RESDIR}/locale")
-SET(IMAGEDIR "${RESDIR}/images")
-SET(EDJEDIR "${RESDIR}/edje")
-SET(ETCDIR "${RESDIR}/etc")
-SET(VERSION 0.1.0)
-
-SET(SRCS
- ./src/lockscreen-options.c
- ./src/lockscreen-options-util.c
- ./src/lockscreen-options-main.c
-)
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_lock-screen-options REQUIRED elementary ui-gadget-1 edje evas ail capi-appfw-application)
-
-FOREACH(flag ${pkgs_lock-screen-options_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden -Wall")
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-
-ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
-SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION 0.1.0)
-TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_lock-screen-options_LDFLAGS})
-
-INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIBDIR})