Skip to content

Commit a03ea13

Browse files
committed
chore: import v2.44.2
0 parents  commit a03ea13

File tree

28,185 files changed

+6803465
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

28,185 files changed

+6803465
-0
lines changed

CMakeLists.txt

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# -----------------------------------------------------------------------------
2+
# Determine CMake version and build type.
3+
# -----------------------------------------------------------------------------
4+
# NOTE: cmake_minimum_required() and project() *MUST* be the two first commands
5+
# used, see https://cmake.org/cmake/help/v3.3/command/project.html -- the
6+
# latter in particular handles loading a bunch of shared CMake definitions
7+
# and loading the cross-compilation settings from CMAKE_TOOLCHAIN_FILE.
8+
9+
cmake_minimum_required(VERSION 3.16)
10+
project(WebKit)
11+
12+
# Remove this cmake_policy() after upgrading cmake_minimum_required() to 3.20.
13+
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.20")
14+
cmake_policy(SET CMP0116 OLD)
15+
endif ()
16+
17+
# -----------------------------------------------------------------------------
18+
# Common configuration
19+
#------------------------------------------------------------------------------
20+
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Source/cmake")
21+
include(WebKitCommon)
22+
23+
# -----------------------------------------------------------------------------
24+
# Enable API unit tests and create a target for the test runner
25+
# -----------------------------------------------------------------------------
26+
if (ENABLE_API_TESTS)
27+
enable_testing()
28+
endif ()
29+
30+
# -----------------------------------------------------------------------------
31+
# Add module directories
32+
# -----------------------------------------------------------------------------
33+
add_subdirectory(Source)
34+
35+
# -----------------------------------------------------------------------------
36+
# Add tools
37+
# -----------------------------------------------------------------------------
38+
if (ENABLE_TOOLS)
39+
add_subdirectory(Tools)
40+
endif ()
41+
42+
if (DEVELOPER_MODE)
43+
add_subdirectory(PerformanceTests)
44+
endif ()
45+
46+
# -----------------------------------------------------------------------------
47+
# Print the features list last, for maximum visibility.
48+
# -----------------------------------------------------------------------------
49+
PRINT_WEBKIT_OPTIONS()
35.5 KB
Binary file not shown.
27.8 KB
Binary file not shown.
36.6 KB
Binary file not shown.
28.6 KB
Binary file not shown.
36.1 KB
Binary file not shown.
28.4 KB
Binary file not shown.
37.1 KB
Binary file not shown.
29.1 KB
Binary file not shown.
36.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)