5 include(EWebKitHelpers)
7 find_package(PNG REQUIRED)
15 ### browserCore library
16 ### current platform CMake desn't support clean o build
20 BasicUI/MenuButton.cpp
23 Logger/LoggerTools.cpp
26 ServiceManager/Debug/BrowserAssert.cpp
27 ServiceManager/Debug/Type.cpp
28 ServiceManager/ServiceFactory.cpp
29 ServiceManager/ServiceLib.cpp
30 ServiceManager/ServiceLoader.cpp
31 ServiceManager/ServiceManager.cpp
32 AbstractWebEngine/TabId.cpp
33 AbstractWebEngine/TabThumbCache.cpp
34 AbstractWebEngine/WebConfirmation.cpp
36 Tools/BrowserImage.cpp
38 Tools/BookmarkItem.cpp
52 AbstractInterfaces/AbstractServiceDefinition.h
53 AbstractInterfaces/AbstractUIComponent.h
54 AbstractInterfaces/AbstractFavoriteService.h
55 AbstractWebengine/AbstractWebengine.h
56 BasicUI/AbstractMainWindow.h
59 Logger/AbstractLogger.h
62 ServiceManager/Debug/BrowserAssert.h
63 ServiceManager/Debug/Lifecycle.h
64 ServiceManager/Debug/Type.h
65 ServiceManager/ServiceLib.h
66 ServiceManager/ServiceLoader.h
67 ServiceManager/ServiceFactory.h
68 ServiceManager/AbstractService.h
69 ServiceManager/ServiceManager.h
70 ServiceManager/service_macros.h
81 set(${browserCore_SRCS} ${browserCore_SRCS}
85 configure_file(Config/ConfigValues.h.in Config/ConfigValues.h @ONLY)
86 include_directories(${CMAKE_CURRENT_BINARY_DIR}/Config)
89 add_library(browserCore SHARED ${browserCore_SRCS})
91 add_library(browserCore STATIC ${browserCore_SRCS})
94 target_link_libraries(browserCore dl)
95 target_link_libraries(browserCore ${Boost_LIBRARIES})
96 target_link_libraries(browserCore ${EFL_LDFLAGS})
97 target_link_libraries(browserCore ${PNG_LIBRARIES})
98 target_link_libraries(browserCore ${EWEBKIT2_LDFLAGS})
101 target_link_libraries(browserCore ${tizen_pkgs_LDFLAGS})
104 install(TARGETS browserCore
105 LIBRARY DESTINATION lib
106 ARCHIVE DESTINATION lib)
107 ### end browserCore library
111 set(BIN_NAME "browser")
112 add_executable(${BIN_NAME} main.cpp)
113 add_dependencies(${BIN_NAME} browserCore)
114 target_link_libraries(${BIN_NAME} browserCore)
115 target_link_libraries(${BIN_NAME} ${EFL_LDFLAGS})
116 target_link_libraries(${BIN_NAME} ${Boost_LIBRARIES})
120 target_link_libraries(${BIN_NAME} ${tizen_pkgs_LDFLAGS})
123 install(TARGETS ${BIN_NAME} RUNTIME DESTINATION bin)