Changeset 152393 in webkit


Ignore:
Timestamp:
Jul 4, 2013 1:52:31 AM (11 years ago)
Author:
Patrick Gansterer
Message:

[CMake] Add STATICALLY_LINKED_WITH_WTF to JavaScriptCore project
https://bugs.webkit.org/show_bug.cgi?id=118120

Reviewed by Gyuyoung Kim.

Since WTF is a static library linked to JavaScriptCore on all CMake ports
we need to define STATICALLY_LINKED_WITH_WTF for all of them.
This makes only a difference for Windows, since WTF_EXPORT and WTF_IMPORT
are the same on all other platforms.

  • CMakeLists.txt:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/CMakeLists.txt

    r150336 r152393  
    537537WEBKIT_WRAP_SOURCELIST(${JavaScriptCore_SOURCES})
    538538include_directories(${JavaScriptCore_INCLUDE_DIRECTORIES})
    539 add_definitions(-DBUILDING_JavaScriptCore)
     539add_definitions(-DBUILDING_JavaScriptCore -DSTATICALLY_LINKED_WITH_WTF)
    540540add_library(JavaScriptCore ${JavaScriptCore_LIBRARY_TYPE} ${JavaScriptCore_HEADERS} ${JavaScriptCore_SOURCES})
    541541target_link_libraries(JavaScriptCore ${JavaScriptCore_LIBRARIES})
  • trunk/Source/JavaScriptCore/ChangeLog

    r152314 r152393  
     12013-07-04  Patrick Gansterer  <paroga@webkit.org>
     2
     3        [CMake] Add STATICALLY_LINKED_WITH_WTF to JavaScriptCore project
     4        https://bugs.webkit.org/show_bug.cgi?id=118120
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        Since WTF is a static library linked to JavaScriptCore on all CMake ports
     9        we need to define STATICALLY_LINKED_WITH_WTF for all of them.
     10        This makes only a difference for Windows, since WTF_EXPORT and WTF_IMPORT
     11        are the same on all other platforms.
     12
     13        * CMakeLists.txt:
     14
    1152013-07-02  Mark Hahnenberg  <mhahnenberg@apple.com>
    216
Note: See TracChangeset for help on using the changeset viewer.