File tree Expand file tree Collapse file tree 3 files changed +648
-0
lines changed
Expand file tree Collapse file tree 3 files changed +648
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ if (ENABLE_MINIBROWSER)
1414 add_subdirectory (MiniBrowser/wpe )
1515endif ()
1616
17+ if (ENABLE_WPE_PLATFORM AND ENABLE_MINIBROWSER)
18+ add_subdirectory (WPEPlatformLauncher )
19+ endif ()
20+
1721if (ENABLE_COG)
1822 include (ExternalProject )
1923 find_program (MESON_EXE NAMES meson )
Original file line number Diff line number Diff line change 1+ # WPEPlatform Launcher - Minimal WPE WebKit browser using WPEPlatform API only.
2+ # Follows the same pattern as MiniBrowser/wpe/CMakeLists.txt
3+
4+ set (WPEPlatformLauncher_SOURCES
5+ main.cpp
6+ )
7+
8+ set (WPEPlatformLauncher_PRIVATE_INCLUDE_DIRECTORIES
9+ ${CMAKE_BINARY_DIR}
10+ ${DERIVED_SOURCES_WPE_API_DIR}
11+ ${FORWARDING_HEADERS_WPE_DIR}
12+ ${JavaScriptCoreGLib_DERIVED_SOURCES_DIR}
13+ ${JavaScriptCoreGLib_FRAMEWORK_HEADERS_DIR}
14+ )
15+
16+ set (WPEPlatformLauncher_PRIVATE_LIBRARIES
17+ ${JavaScriptCore_LIBRARY_NAME}
18+ WebKit::WebKit
19+ )
20+
21+ if (ENABLE_WPE_PLATFORM)
22+ list (APPEND WPEPlatformLauncher_PRIVATE_INCLUDE_DIRECTORIES
23+ ${WPEPlatform_DERIVED_SOURCES_DIR}
24+ ${WEBKIT_DIR} /WPEPlatform
25+ )
26+ endif ()
27+
28+ WEBKIT_EXECUTABLE_DECLARE (WPEPlatformLauncher )
29+ WEBKIT_EXECUTABLE (WPEPlatformLauncher )
30+
31+ install (TARGETS WPEPlatformLauncher DESTINATION "${LIBEXEC_INSTALL_DIR} " )
You can’t perform that action at this time.
0 commit comments