Sha256: 93fb207fe45f679ae3c2592d151220286590260177ce895a3f885eb66b091069
Contents?: true
Size: 1.38 KB
Versions: 20
Compression:
Stored size: 1.38 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}/qtscript_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/qtscript ) set(smokeqtscript_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(smokeqtscript SHARED ${smokeqtscript_LIB_SRCS}) target_link_libraries(smokeqtscript smokeqtcore ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTSCRIPT_LIBRARY}) set_target_properties(smokeqtscript PROPERTIES VERSION 3.0.0 SOVERSION 3 ) install(TARGETS smokeqtscript DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} ) install(FILES ${CMAKE_SOURCE_DIR}/smoke/qtscript_smoke.h DESTINATION include/smoke )
Version data entries
20 entries across 20 versions & 2 rubygems