1. 13 Jan, 2014 1 commit
  2. 29 Nov, 2013 1 commit
  3. 17 Oct, 2013 1 commit
  4. 05 Dec, 2012 1 commit
    • commit-queue@webkit.org's avatar
      [CMake] Unify coding style for CMake files · d6fb2c5a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=103605
      
      Patch by Halton Huo <halton.huo@intel.com> on 2012-12-05
      Reviewed by Laszlo Gombos.
      
      Update cmake files(.cmake, CMakeLists.txt) with following style rules:
      1. Indentation
      1.1 Use spaces, not tabs.
      1.2 Four spaces as indent.
      2. Spacing
      2.1 Place one space between control statements and their parentheses.
          For eg, if (), else (), elseif (), endif (), foreach (),
          endforeach (), while (), endwhile (), break ().
      2.2 Do not place spaces between function and macro statements and
          their parentheses. For eg, macro(), endmacro(), function(),
          endfunction().
      2.3 Do not place spaces between a command or function or macro and its
          parentheses, or between a parenthesis and its content. For eg,
          message("testing") not message( "testing") or message ("testing" )
      2.4 No space at line ending.
      3. Lowercase when call commands macros and functions. For eg,
         add_executable() not ADD_EXECUTABLE(), set() not SET().
      
      .:
      
      * CMakeLists.txt:
      * Source/CMakeLists.txt:
      * Source/PlatformEfl.cmake:
      * Source/cmake/EFLHelpers.cmake:
      * Source/cmake/FindATK.cmake:
      * Source/cmake/FindCFLite.cmake:
      * Source/cmake/FindCairo.cmake:
      * Source/cmake/FindDBus.cmake:
      * Source/cmake/FindDirectX.cmake:
      * Source/cmake/FindE_DBus.cmake:
      * Source/cmake/FindEcore.cmake:
      * Source/cmake/FindEdje.cmake:
      * Source/cmake/FindEet.cmake:
      * Source/cmake/FindEeze.cmake:
      * Source/cmake/FindEfreet.cmake:
      * Source/cmake/FindEina.cmake:
      * Source/cmake/FindElementary.cmake:
      * Source/cmake/FindEnchant.cmake:
      * Source/cmake/FindEvas.cmake:
      * Source/cmake/FindFontconfig.cmake:
      * Source/cmake/FindGLIB.cmake:
      * Source/cmake/FindGStreamer.cmake:
      * Source/cmake/FindGperf.cmake:
      * Source/cmake/FindHarfBuzz.cmake:
      * Source/cmake/FindICU.cmake:
      * Source/cmake/FindLibSoup.cmake:
      * Source/cmake/FindQuickTimeSDK.cmake:
      * Source/cmake/FindSqlite.cmake:
      * Source/cmake/OptionsBlackBerry.cmake:
      * Source/cmake/OptionsCommon.cmake:
      * Source/cmake/OptionsEfl.cmake:
      * Source/cmake/OptionsWinCE.cmake:
      * Source/cmake/OptionsWindows.cmake:
      * Source/cmake/WebKitFS.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmake/WebKitHelpers.cmake:
      * Source/cmake/WebKitMacros.cmake:
      * Source/cmake/WebKitPackaging.cmake:
      * Source/cmake/gtest/CMakeLists.txt:
      
      Source/JavaScriptCore:
      
      * CMakeLists.txt:
      * PlatformBlackBerry.cmake:
      * PlatformEfl.cmake:
      * PlatformWinCE.cmake:
      * shell/CMakeLists.txt:
      * shell/PlatformBlackBerry.cmake:
      * shell/PlatformEfl.cmake:
      * shell/PlatformWinCE.cmake:
      
      Source/WebCore:
      
      * CMakeLists.txt:
      * PlatformBlackBerry.cmake:
      * PlatformEfl.cmake:
      * PlatformWinCE.cmake:
      * UseJSC.cmake:
      * UseV8.cmake:
      
      Source/WebKit:
      
      * CMakeLists.txt:
      * PlatformBlackBerry.cmake:
      * PlatformEfl.cmake:
      * PlatformWinCE.cmake:
      
      Source/WebKit/efl:
      
      * DefaultTheme/CMakeLists.txt:
      
      Source/WebKit2:
      
      * CMakeLists.txt:
      * PlatformEfl.cmake:
      * win/WebKit2ExportGenerator.vcproj:
      * win/WebKit2ExportGeneratorCommon.vsprops:
      
      Source/WTF:
      
      * CMakeLists.txt:
      * wtf/CMakeLists.txt:
      * wtf/PlatformBlackBerry.cmake:
      * wtf/PlatformEfl.cmake:
      * wtf/PlatformWinCE.cmake:
      
      Tools:
      
      * CMakeLists.txt:
      * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
      * DumpRenderTree/efl/CMakeLists.txt:
      * EWebLauncher/CMakeLists.txt:
      * EWebLauncher/ControlTheme/CMakeLists.txt:
      * MiniBrowser/efl/CMakeLists.txt:
      * TestWebKitAPI/CMakeLists.txt:
      * TestWebKitAPI/PlatformEfl.cmake:
      * WebKitTestRunner/CMakeLists.txt:
      * WebKitTestRunner/PlatformEfl.cmake:
      * WinCELauncher/CMakeLists.txt:
      * clang/ReportMemoryUsagePlugin/CMakeLists.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6fb2c5a
  5. 03 May, 2012 1 commit
    • rakuco@webkit.org's avatar
      [CMake] Rewrite FindCairo.cmake. · fb7fec1d
      rakuco@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84895
      
      Reviewed by Daniel Bates.
      
      The old approach relied on pkg-config for finding Cairo (which
      introduced a dependency on pkg-config that could be avoided), used
      the LibFindMacros code that we should probably remove in the
      future and did not use the FindPackageHandleStandardArguments
      module.
      
      Change all that by rewriting the module.
      - Use the pkg-config output optionally instead of requiring it
      like LibFindMacros did.
      - Remove the implicit dependency on FreeType which often found it
      the wrong way via pkg-config and without considering
      CMAKE_PREFIX_PATH.
      - Retrieve the Cairo version by looking at cairo-version.h instead
      of relying on pkg-config. It requires some additional code for
      checking if the desired version has been found, but that will not
      be needed once we start depending on CMake 2.8.3 or later.
      
      The only downside is that FPHSA sets <UPPERCASED_NAME>_FOUND
      instead of <Name>_FOUND, and to keep things consistent
      Cairo_LIBRARIES and Cairo_INCLUDE_DIRS have become CAIRO_LIBRARIES
      and CAIRO_INCLUDE_DIRS.
      
      .:
      
      * Source/cmake/FindCairo.cmake:
      
      Source/WebCore:
      
      No new tests, build system change.
      
      * PlatformEfl.cmake: Use CAIRO_FOO instead of Cairo_FOO.
      
      Source/WebKit:
      
      * PlatformEfl.cmake: Use CAIRO_FOO instead of Cairo_FOO.
      
      Source/WebKit2:
      
      * PlatformEfl.cmake: Use CAIRO_FOO instead of Cairo_FOO.
      
      Tools:
      
      * DumpRenderTree/efl/CMakeLists.txt: Use CAIRO_FOO instead of
      Cairo_FOO.
      * EWebLauncher/CMakeLists.txt: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb7fec1d
  6. 26 Sep, 2011 1 commit
    • commit-queue@webkit.org's avatar
      [CMake] Remove FindFreetype.cmake · 64415dd9
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68778
      
      Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-09-26
      Reviewed by Adam Barth.
      
      CMake has provided its own FindFreetype.cmake forever, so there is no
      need to have another implementation in WebKit.
      
      .:
      
      * Source/cmake/FindCairo.cmake: Use FREETYPE_{LIBRARIES,INCLUDE_DIRS}
      instead of Freetype_{LIBRARIES,INCLUDE_DIRS}.
      * Source/cmake/FindFreetype.cmake: Removed.
      * Source/cmake/FindPango.cmake: Use FREETYPE_{LIBRARIES,INCLUDE_DIRS}
      instead of Freetype_{LIBRARIES,INCLUDE_DIRS}.
      * Source/cmake/OptionsEfl.cmake: Remove minimum required version
      check, it has never been checked and Freetype 2.1.10 from 2005 is
      already > 9.0.
      
      Source/WebCore:
      
      No new tests, just a buildsystem change.
      
      * CMakeListsEfl.txt: Use FREETYPE_{LIBRARIES,INCLUDE_DIRS} instead of
      Freetype_{LIBRARIES,INCLUDE_DIRS}.
      
      Source/WebKit/efl:
      
      * CMakeListsEfl.txt: Use FREETYPE_{LIBRARIES,INCLUDE_DIRS} instead of
      Freetype_{LIBRARIES,INCLUDE_DIRS}.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64415dd9
  7. 17 Sep, 2011 1 commit
  8. 01 Jan, 2011 1 commit
  9. 27 Dec, 2010 1 commit
    • abarth@webkit.org's avatar
      2010-12-26 Adam Barth <abarth@webkit.org> · e6c5b118
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              Move cmake into Sources
              https://bugs.webkit.org/show_bug.cgi?id=51631
      
              * PrettyPatch/PrettyPatch.rb:
      2010-12-26  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Move cmake into Sources
              https://bugs.webkit.org/show_bug.cgi?id=51631
      
              * CMakeLists.txt:
              * Sources/cmake: Copied from cmake.
              * cmake: Removed.
              * cmake/FindCFLite.cmake: Removed.
              * cmake/FindCairo.cmake: Removed.
              * cmake/FindEFL.cmake: Removed.
              * cmake/FindFontconfig.cmake: Removed.
              * cmake/FindFreetype.cmake: Removed.
              * cmake/FindGDK-PixBuf.cmake: Removed.
              * cmake/FindGDK.cmake: Removed.
              * cmake/FindGIO.cmake: Removed.
              * cmake/FindGStreamer-App.cmake: Removed.
              * cmake/FindGStreamer-Base.cmake: Removed.
              * cmake/FindGStreamer-Interfaces.cmake: Removed.
              * cmake/FindGStreamer-Pbutils.cmake: Removed.
              * cmake/FindGStreamer-Plugins-Base.cmake: Removed.
              * cmake/FindGStreamer-Video.cmake: Removed.
              * cmake/FindGStreamer.cmake: Removed.
              * cmake/FindGlib.cmake: Removed.
              * cmake/FindGperf.cmake: Removed.
              * cmake/FindGthread.cmake: Removed.
              * cmake/FindICU.cmake: Removed.
              * cmake/FindLibSoup2.cmake: Removed.
              * cmake/FindLibXlst.cmake: Removed.
              * cmake/FindPango.cmake: Removed.
              * cmake/FindSqlite.cmake: Removed.
              * cmake/LibFindMacros.cmake: Removed.
              * cmake/OptionsCommon.cmake: Removed.
              * cmake/OptionsEfl.cmake: Removed.
              * cmake/OptionsWinCE.cmake: Removed.
              * cmake/OptionsWindows.cmake: Removed.
              * cmake/WebKitEfl.cmake: Removed.
              * cmake/WebKitFS.cmake: Removed.
              * cmake/WebKitFeatures.cmake: Removed.
              * cmake/WebKitHelpers.cmake: Removed.
              * cmake/WebKitMacros.cmake: Removed.
              * cmake/WebKitPackaging.cmake: Removed.
              * cmake/eflsymbols.filter: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6c5b118
  10. 03 Dec, 2010 1 commit
  11. 15 May, 2010 1 commit
    • eric@webkit.org's avatar
      2010-05-15 Leandro Pereira <leandro@profusion.mobi> · d99f85b6
      eric@webkit.org authored
              Reviewed by Adam Treat.
      
              [EFL] Add build system for the EFL port.
              http://webkit.org/b/37945
      
              * CMakeLists.txt: Added.
              * cmake/FindCFLite.cmake: Added.
              * cmake/FindCairo.cmake: Added.
              * cmake/FindEFL.cmake: Added.
              * cmake/FindFreetype.cmake: Added.
              * cmake/FindGDK-PixBuf.cmake: Added.
              * cmake/FindGDK.cmake: Added.
              * cmake/FindGIO.cmake: Added.
              * cmake/FindGlib.cmake: Added.
              * cmake/FindICU.cmake: Added.
              * cmake/FindLibSoup2.cmake: Added.
              * cmake/FindLibXlst.cmake: Added.
              * cmake/FindPango.cmake: Added.
              * cmake/FindSqlite.cmake: Added.
              * cmake/LibFindMacros.cmake: Added.
              * cmake/OptionsCommon.cmake: Added.
              * cmake/OptionsEfl.cmake: Added.
              * cmake/WebKitEfl.cmake: Added.
              * cmake/WebKitFS.cmake: Added.
              * cmake/WebKitFeatures.cmake: Added.
              * cmake/WebKitGenerators.cmake: Added.
              * cmake/WebKitHelpers.cmake: Added.
              * cmake/WebKitMacros.cmake: Added.
              * cmakeconfig.h.cmake: Added.
      2010-05-15  Leandro Pereira  <leandro@profusion.mobi>
      
              Reviewed by Adam Treat.
      
              [EFL] Add build system for the EFL port.
              http://webkit.org/b/37945
      
              * CMakeLists.txt: Added.
              * CMakeListsEfl.txt: Added.
              * config.h: Add conditional to look for cmakeconfig.h.
              * jsc/CMakeLists.txt: Added.
              * jsc/CMakeListsEfl.txt: Added.
              * wtf/CMakeLists.txt: Added.
              * wtf/CMakeListsEfl.txt: Added.
      2010-05-15  Leandro Pereira  <leandro@profusion.mobi>
      
              Reviewed by Adam Treat.
      
              [EFL] Add build system for the EFL port.
              http://webkit.org/b/37945
      
              * CMakeLists.txt: Added.
              * CMakeListsEfl.txt: Added.
              * config.h: Add conditional to look for cmakeconfig.h.
      2010-05-15  Leandro Pereira  <leandro@profusion.mobi>
      
              Reviewed by Adam Treat.
      
              [EFL] Add build system for the EFL port.
              http://webkit.org/b/37945
      
              * CMakeLists.txt: Added.
              * CMakeListsEfl.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d99f85b6