Title: [152393] trunk/Source/_javascript_Core
Revision
152393
Author
par...@webkit.org
Date
2013-07-04 01:52:31 -0700 (Thu, 04 Jul 2013)

Log Message

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

Reviewed by Gyuyoung Kim.

Since WTF is a static library linked to _javascript_Core 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:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/CMakeLists.txt (152392 => 152393)


--- trunk/Source/_javascript_Core/CMakeLists.txt	2013-07-04 08:08:22 UTC (rev 152392)
+++ trunk/Source/_javascript_Core/CMakeLists.txt	2013-07-04 08:52:31 UTC (rev 152393)
@@ -536,7 +536,7 @@
 
 WEBKIT_WRAP_SOURCELIST(${_javascript_Core_SOURCES})
 include_directories(${_javascript_Core_INCLUDE_DIRECTORIES})
-add_definitions(-DBUILDING_JavaScriptCore)
+add_definitions(-DBUILDING_JavaScriptCore -DSTATICALLY_LINKED_WITH_WTF)
 add_library(_javascript_Core ${_javascript_Core_LIBRARY_TYPE} ${_javascript_Core_HEADERS} ${_javascript_Core_SOURCES})
 target_link_libraries(_javascript_Core ${_javascript_Core_LIBRARIES})
 set_target_properties(_javascript_Core PROPERTIES FOLDER "_javascript_Core")

Modified: trunk/Source/_javascript_Core/ChangeLog (152392 => 152393)


--- trunk/Source/_javascript_Core/ChangeLog	2013-07-04 08:08:22 UTC (rev 152392)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-07-04 08:52:31 UTC (rev 152393)
@@ -1,3 +1,17 @@
+2013-07-04  Patrick Gansterer  <par...@webkit.org>
+
+        [CMake] Add STATICALLY_LINKED_WITH_WTF to _javascript_Core project
+        https://bugs.webkit.org/show_bug.cgi?id=118120
+
+        Reviewed by Gyuyoung Kim.
+
+        Since WTF is a static library linked to _javascript_Core 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:
+
 2013-07-02  Mark Hahnenberg  <mhahnenb...@apple.com>
 
         Replace RELEASE_ASSERT with ASSERT in CodeBlock:: bytecodeOffsetForCallAtIndex
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to