Sha256: e26fe2254c6999df974a4f6d04792c890c4217bff15a5c0d5d46d8920ee9a913

Contents?: true

Size: 1.54 KB

Versions: 20

Compression:

Stored size: 1.54 KB

Contents

include_directories( ${QT_INCLUDES} ${CMAKE_SOURCE_DIR}/smoke  )

configure_file(config.xml.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.xml @ONLY)

add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/smokedata.cpp
	${CMAKE_CURRENT_BINARY_DIR}/x_1.cpp

    COMMAND smokegen
    ARGS -config "${CMAKE_CURRENT_BINARY_DIR}/config.xml" -smokeconfig "${CMAKE_CURRENT_SOURCE_DIR}/smokeconfig.xml"
         -- ${CMAKE_CURRENT_SOURCE_DIR}/qtwebkit_includes.h
    DEPENDS smokegen generator_smoke WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})

macro_add_file_dependencies( ${CMAKE_CURRENT_BINARY_DIR}/smokedata.cpp ${CMAKE_CURRENT_BINARY_DIR}/x_1.cpp )

include_directories (${CMAKE_SOURCE_DIR}/smoke ${CMAKE_SOURCE_DIR}/smoke/qtwebkit )

set(smokeqtwebkit_LIB_SRCS ${CMAKE_CURRENT_BINARY_DIR}/smokedata.cpp
	${CMAKE_CURRENT_BINARY_DIR}/x_1.cpp)

IF(CMAKE_CXX_FLAGS MATCHES "-fvisibility")
    ADD_DEFINITIONS(-DGCC_VISIBILITY)
ENDIF(CMAKE_CXX_FLAGS MATCHES "-fvisibility")
add_library(smokeqtwebkit SHARED ${smokeqtwebkit_LIB_SRCS})

target_link_libraries(  smokeqtwebkit 
                        smokeqtcore 
                        smokeqtgui 
                        ${QT_QTCORE_LIBRARY} 
                        ${QT_QTGUI_LIBRARY} 
                        ${QT_QTNETWORK_LIBRARY} 
                        ${QT_QTWEBKIT_LIBRARY} )

set_target_properties(smokeqtwebkit PROPERTIES VERSION 3.0.0 SOVERSION 3 )

install(TARGETS smokeqtwebkit DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} )
install(FILES ${CMAKE_SOURCE_DIR}/smoke/qtwebkit_smoke.h DESTINATION include/smoke )

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
rock-qtbindings-4.8.6.5 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.8.6.5 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.8.6.4 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.8.6.2 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.8.6.1 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.8.6.0 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.8.5.2 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.8.5.1 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.8.5.0 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.8.3.0-x86-mingw32 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.8.3.0 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.6.3.4-x86-mingw32 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.6.3.4 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.6.3.3 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.6.3.2-x86-mingw32 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.6.3.2 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.6.3.1 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.6.3.1-x86-mingw32 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.6.3.0 ext/smoke/qtwebkit/CMakeLists.txt
qtbindings-4.6.3.0-x86-mingw32 ext/smoke/qtwebkit/CMakeLists.txt