1 # Target name and AppID
2 SET(this_target InstallerService)
12 FILE(GLOB ${this_target}_SOURCE_FILES src/*.cpp)
14 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE")
17 SET(CMAKE_EXECUTABLE_SUFFIX ".exe")
18 ADD_EXECUTABLE (${this_target} ${${this_target}_SOURCE_FILES})
20 # Set link libraries and link options
21 TARGET_LINK_LIBRARIES(${this_target} -L/usr/lib/osp osp-appfw osp-uifw osp-shell osp-shell-core pthread)
22 TARGET_LINK_LIBRARIES(${this_target} -Xlinker --allow-shlib-undefined -pthread -pie)
24 # Copy info, data, res, and icons directories
25 INSTALL(TARGETS ${this_target} DESTINATION ../usr/apps/${PKG_ID}/bin)
28 INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/InstallerService/res DESTINATION ../usr/apps/${PKG_ID})