Sha256: 09ad7d2b8bcad2ef894aa50b8b4df0ffdc6b8ed8a8fa96befe3382d244f5f0ce
Contents?: true
Size: 1.76 KB
Versions: 16
Compression:
Stored size: 1.76 KB
Contents
include_directories( ${QT_INCLUDES} ${CMAKE_SOURCE_DIR}/smoke ) configure_file(config.xml.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.xml @ONLY) ########### next target ############### 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}/qthelp_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/qthelp ) set(smokeqthelp_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") # kde4_add_library(smokeqthelp SHARED ${smokeqthelp_LIB_SRCS}) add_library(smokeqthelp SHARED ${smokeqthelp_LIB_SRCS}) target_link_libraries(smokeqthelp smokeqtcore smokeqtgui smokeqtsql ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTSQL_LIBRARY} ${QT_QTHELP_LIBRARY} ) set_target_properties(smokeqthelp PROPERTIES VERSION 3.0.0 SOVERSION 3 ) # Don't use the KDE ${LIB_INSTALL_DIR} macro here as this file is # for Qt only installs install(TARGETS smokeqthelp DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} ) install(FILES ${CMAKE_SOURCE_DIR}/smoke/qthelp_smoke.h DESTINATION include/smoke)
Version data entries
16 entries across 16 versions & 2 rubygems