Changeset 109197 in webkit
- Timestamp:
- Feb 28, 2012 10:49:07 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r107190 r109197 43 43 SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Source/cmake") 44 44 45 SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) 45 46 SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) 46 47 SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) … … 120 121 # Default library types 121 122 # ----------------------------------------------------------------------------- 122 OPTION(SHARED_CORE "build WTF,JavaScriptCore and WebCore as shared libraries")123 OPTION(SHARED_CORE "build JavaScriptCore and WebCore as shared libraries") 123 124 124 125 IF (SHARED_CORE) 125 SET(WTF_LIBRARY_TYPE SHARED)126 126 SET(JavaScriptCore_LIBRARY_TYPE SHARED) 127 127 SET(WebCore_LIBRARY_TYPE SHARED) 128 128 ELSE () 129 SET(WTF_LIBRARY_TYPE STATIC)130 129 SET(JavaScriptCore_LIBRARY_TYPE STATIC) 131 130 SET(WebCore_LIBRARY_TYPE STATIC) -
trunk/ChangeLog
r109190 r109197 1 2012-02-28 Raphael Kubo da Costa <kubo@profusion.mobi> 2 3 [CMake] Always build wtf as a static library. 4 https://bugs.webkit.org/show_bug.cgi?id=79857 5 6 Reviewed by Eric Seidel. 7 8 * CMakeLists.txt: Put static libraries in ${CMAKE_BINARY_DIR} too 9 to have them grouped with the shared ones. 10 1 11 2012-02-28 Ryosuke Niwa <rniwa@webkit.org> 2 12 -
trunk/Source/JavaScriptCore/ChangeLog
r109196 r109197 1 2012-02-28 Raphael Kubo da Costa <kubo@profusion.mobi> 2 3 [CMake] Always build wtf as a static library. 4 https://bugs.webkit.org/show_bug.cgi?id=79857 5 6 Reviewed by Eric Seidel. 7 8 To help the efforts in bug 75673 to move WTF out of 9 JavaScriptCore, act more like the other ports and remove the 10 possibility of building WTF as a shared library. 11 12 It does not make much sense to, for example, ship WTF as a 13 separate .so with webkit-efl packages, and it should be small 14 enough not to cause problems during linking. 15 16 * wtf/CMakeLists.txt: 17 1 18 2012-02-28 Dmitry Lomov <dslomov@google.com> 2 19 -
trunk/Source/JavaScriptCore/wtf/CMakeLists.txt
r108648 r109197 207 207 INCLUDE_DIRECTORIES(${WTF_INCLUDE_DIRECTORIES}) 208 208 ADD_DEFINITIONS(-DBUILDING_WTF) 209 ADD_LIBRARY(${WTF_LIBRARY_NAME} ${WTF_LIBRARY_TYPE}${WTF_HEADERS} ${WTF_SOURCES})209 ADD_LIBRARY(${WTF_LIBRARY_NAME} STATIC ${WTF_HEADERS} ${WTF_SOURCES}) 210 210 TARGET_LINK_LIBRARIES(${WTF_LIBRARY_NAME} ${WTF_LIBRARIES}) 211 211 … … 213 213 ADD_TARGET_PROPERTIES(${WTF_LIBRARY_NAME} LINK_FLAGS "${WTF_LINK_FLAGS}") 214 214 ENDIF () 215 216 IF (SHARED_CORE)217 SET_TARGET_PROPERTIES(${WTF_LIBRARY_NAME} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})218 INSTALL(TARGETS ${WTF_LIBRARY_NAME} DESTINATION lib)219 ENDIF ()
Note: See TracChangeset
for help on using the changeset viewer.