1 # The static runtime is required for AppleWin due to WebKitSystemInterface.lib
2 # being compiled with a static runtime.
3 set(MSVC_STATIC_RUNTIME ON)
7 SET_AND_EXPOSE_TO_BUILD(USE_CF ON)
8 SET_AND_EXPOSE_TO_BUILD(USE_CFURLCONNECTION ON)
11 set(USE_ICU_UNICODE 1)
13 # Libraries where find_package does not work
14 set(COREFOUNDATION_LIBRARY CoreFoundation${DEBUG_SUFFIX})
15 set(LIBXML2_LIBRARIES libxml2${DEBUG_SUFFIX})
16 set(LIBXSLT_LIBRARIES libxslt${DEBUG_SUFFIX})
17 set(SQLITE_LIBRARIES SQLite3${DEBUG_SUFFIX})
18 set(ZLIB_INCLUDE_DIRS "${WEBKIT_LIBRARIES_DIR}/include/zlib")
19 set(ZLIB_LIBRARIES zdll${DEBUG_SUFFIX})
21 # Uncomment the following line to try the Direct2D backend.
25 add_definitions(-DUSE_DIRECT2D=1)
28 # Warnings as errors (ignore narrowing conversions)
29 add_compile_options(/WX /Wv:18)