Changeset 110024 in webkit


Ignore:
Timestamp:
Mar 6, 2012 11:37:16 PM (12 years ago)
Author:
kubo@profusion.mobi
Message:

[CMake] Make the removal of transitive library dependencies work with CMake < 2.8.7.
https://bugs.webkit.org/show_bug.cgi?id=80469

Reviewed by Antonio Gomes.

.:

  • CMakeLists.txt: Do not set the CMAKE_LINK_INTERFACE_LIBRARIES

variable here; it was introduced in CMake 2.8.7 so we can't depend
on it as we actually support CMake >= 2.8.0.

Source/JavaScriptCore:

  • CMakeLists.txt: Manually set the LINK_INTERFACE_LIBRARIES target

property on the library being created.

Source/WebCore:

No new tests, this is a buildsystem change.

  • CMakeLists.txt: Manually set the LINK_INTERFACE_LIBRARIES target

property on the library being created.

Source/WebKit:

  • CMakeLists.txt: Manually set the LINK_INTERFACE_LIBRARIES target

property on the library being created.

Source/WebKit2:

  • CMakeLists.txt: Manually set the LINK_INTERFACE_LIBRARIES target

property on the library being created.

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r109983 r110024  
    4646SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
    4747SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
    48 
    49 # Do not create transitive library dependencies by default
    50 SET(CMAKE_LINK_INTERFACE_LIBRARIES "")
    5148
    5249INCLUDE(WebKitMacros)
  • trunk/ChangeLog

    r110014 r110024  
     12012-03-06  Raphael Kubo da Costa  <kubo@profusion.mobi>
     2
     3        [CMake] Make the removal of transitive library dependencies work with CMake < 2.8.7.
     4        https://bugs.webkit.org/show_bug.cgi?id=80469
     5
     6        Reviewed by Antonio Gomes.
     7
     8        * CMakeLists.txt: Do not set the CMAKE_LINK_INTERFACE_LIBRARIES
     9        variable here; it was introduced in CMake 2.8.7 so we can't depend
     10        on it as we actually support CMake >= 2.8.0.
     11
    1122012-03-06  Hajime Morrita  <morrita@chromium.org>
    213
  • trunk/Source/JavaScriptCore/CMakeLists.txt

    r109705 r110024  
    302302ADD_LIBRARY(${JavaScriptCore_LIBRARY_NAME} ${JavaScriptCore_LIBRARY_TYPE} ${JavaScriptCore_HEADERS} ${JavaScriptCore_SOURCES})
    303303TARGET_LINK_LIBRARIES(${JavaScriptCore_LIBRARY_NAME} ${JavaScriptCore_LIBRARIES})
     304SET_TARGET_PROPERTIES(${JavaScriptCore_LIBRARY_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "")
    304305
    305306IF (JavaScriptCore_LINK_FLAGS)
  • trunk/Source/JavaScriptCore/ChangeLog

    r110008 r110024  
     12012-03-06  Raphael Kubo da Costa  <kubo@profusion.mobi>
     2
     3        [CMake] Make the removal of transitive library dependencies work with CMake < 2.8.7.
     4        https://bugs.webkit.org/show_bug.cgi?id=80469
     5
     6        Reviewed by Antonio Gomes.
     7
     8        * CMakeLists.txt: Manually set the LINK_INTERFACE_LIBRARIES target
     9        property on the library being created.
     10
    1112012-03-06  Yuqiang Xian  <yuqiang.xian@intel.com>
    212
  • trunk/Source/WebCore/CMakeLists.txt

    r109983 r110024  
    25522552
    25532553ADD_LIBRARY(${WebCore_LIBRARY_NAME} ${WebCore_LIBRARY_TYPE} ${WebCore_SOURCES})
     2554SET_TARGET_PROPERTIES(${WebCore_LIBRARY_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "")
     2555
    25542556ADD_LIBRARY(${WebCoreTestSupport_LIBRARY_NAME} ${WebCoreTestSupport_LIBRARY_TYPE} ${WebCoreTestSupport_SOURCES})
    25552557
  • trunk/Source/WebCore/ChangeLog

    r110023 r110024  
     12012-03-06  Raphael Kubo da Costa  <kubo@profusion.mobi>
     2
     3        [CMake] Make the removal of transitive library dependencies work with CMake < 2.8.7.
     4        https://bugs.webkit.org/show_bug.cgi?id=80469
     5
     6        Reviewed by Antonio Gomes.
     7
     8        No new tests, this is a buildsystem change.
     9
     10        * CMakeLists.txt: Manually set the LINK_INTERFACE_LIBRARIES target
     11        property on the library being created.
     12
    1132012-03-06  Lianghui Chen  <liachen@rim.com>
    214
  • trunk/Source/WebKit/CMakeLists.txt

    r109911 r110024  
    7676ADD_DEPENDENCIES(${WebKit_LIBRARY_NAME} ${WebCore_LIBRARY_NAME})
    7777TARGET_LINK_LIBRARIES(${WebKit_LIBRARY_NAME} ${WebKit_LIBRARIES})
     78SET_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "")
    7879
    7980IF (WebKit_LINK_FLAGS)
  • trunk/Source/WebKit/ChangeLog

    r109911 r110024  
     12012-03-06  Raphael Kubo da Costa  <kubo@profusion.mobi>
     2
     3        [CMake] Make the removal of transitive library dependencies work with CMake < 2.8.7.
     4        https://bugs.webkit.org/show_bug.cgi?id=80469
     5
     6        Reviewed by Antonio Gomes.
     7
     8        * CMakeLists.txt: Manually set the LINK_INTERFACE_LIBRARIES target
     9        property on the library being created.
     10
    1112012-03-06  Raphael Kubo da Costa  <kubo@profusion.mobi>
    212
  • trunk/Source/WebKit2/CMakeLists.txt

    r109695 r110024  
    517517ADD_DEPENDENCIES(${WebKit2_LIBRARY_NAME} ${ForwardingNetworkHeaders_NAME})
    518518TARGET_LINK_LIBRARIES(${WebKit2_LIBRARY_NAME} ${WebKit2_LIBRARIES})
     519SET_TARGET_PROPERTIES(${WebKit2_LIBRARY_NAME} PROPERTIES LINK_INTERFACE_LIBRARIES "")
    519520
    520521ADD_EXECUTABLE(${WebProcess_NAME} ${WebProcess_SOURCES})
  • trunk/Source/WebKit2/ChangeLog

    r109957 r110024  
     12012-03-06  Raphael Kubo da Costa  <kubo@profusion.mobi>
     2
     3        [CMake] Make the removal of transitive library dependencies work with CMake < 2.8.7.
     4        https://bugs.webkit.org/show_bug.cgi?id=80469
     5
     6        Reviewed by Antonio Gomes.
     7
     8        * CMakeLists.txt: Manually set the LINK_INTERFACE_LIBRARIES target
     9        property on the library being created.
     10
    1112012-03-06  Hugo Parente Lima  <hugo.lima@openbossa.org>
    212
Note: See TracChangeset for help on using the changeset viewer.