Skip to content
  • commit-queue@webkit.org's avatar
    [CMake] Enable building WebKit2-only build for the EFL port · d250637e
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=103820
    
    Patch by Laszlo Gombos <l.gombos@samsung.com> on 2012-12-03
    Reviewed by Gyuyoung Kim.
    
    .:
    
    To create a WebKit2-only build for EFL use the following command:
    build-webkit --efl --cmakeargs="-DENABLE_WEBKIT=OFF".
    
    * CMakeLists.txt: Turn on WebKit1 support if it is not explicitly set (enabled or disabled) for
    all CMake based ports.
    
    * Source/cmake/OptionsEfl.cmake: Enable WebKit2
    for the EFL port if it is not explicitly set (enabled or disabled).
    
    Tools:
    
    Set ENABLE_WEBKIT2 to OFF if build-webkit was run with --no-webkit2.
    Never set ENABLE_WEBKIT in build-webkit. This will simplyfy invoking
    cmake directly. Initialize $cmakeArgs to avoid potential
    warnings when running the script.
    
    * Scripts/build-webkit:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136398 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d250637e