PROJECT(qjson)
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII" )
# Stop cmake 2.6 from whining
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
IF(COMMAND cmake_policy)
CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND cmake_policy)
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules")
set(CMAKE_INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
# compile in debug mode
IF(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
FORCE)
ENDIF(NOT CMAKE_BUILD_TYPE)
IF("${CMAKE_BUILD_TYPE}" MATCHES "^Rel.*")
ADD_DEFINITIONS("-DQT_NO_DEBUG_OUTPUT")
ADD_DEFINITIONS("-DQT_NO_DEBUG_OUTPUT")
ENDIF("${CMAKE_BUILD_TYPE}" MATCHES "^Rel.*")
# Ability to disable verbose debug output
IF(QJSON_VERBOSE_DEBUG_OUTPUT)
ADD_DEFINITIONS("-DQJSON_VERBOSE_DEBUG_OUTPUT")
endif(QJSON_VERBOSE_DEBUG_OUTPUT)
# Find Qt4
FIND_PACKAGE( Qt4 REQUIRED )
SET( QT_DONT_USE_QTGUI TRUE )
#add extra search paths for libraries and includes
SET (LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Directory where lib will install")
SET (INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "The directory the headers are installed in")
SET (CMAKE_MODULES_INSTALL_DIR "${CMAKE_ROOT}/Modules" CACHE PATH "The directory to install FindQJSON.cmake to")
set(QJSON_LIB_MAJOR_VERSION "0")
set(QJSON_LIB_MINOR_VERSION "7")
set(QJSON_LIB_PATCH_VERSION "1")
set(QJSON_LIB_VERSION_STRING "${QJSON_LIB_MAJOR_VERSION}.${QJSON_LIB_MINOR_VERSION}.${QJSON_LIB_PATCH_VERSION}")
set(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}/lib${LIB_SUFFIX}" )
# pkg-config
IF (NOT WIN32)
CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR}/QJson.pc.in
${CMAKE_CURRENT_BINARY_DIR}/QJson.pc
@ONLY)
INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/QJson.pc
DESTINATION lib${LIB_SUFFIX}/pkgconfig)
ENDIF (NOT WIN32)
# Include the cmake file needed to use qt4
INCLUDE( ${QT_USE_FILE} )
# Subdirs
ADD_SUBDIRECTORY(src)
IF (KDE4_BUILD_TESTS OR QJSON_BUILD_TESTS)
enable_testing()
ADD_SUBDIRECTORY(tests)
ENDIF (KDE4_BUILD_TESTS OR QJSON_BUILD_TESTS)
add_subdirectory(cmake/modules)
CONFIGURE_FILE(
"${CMAKE_MODULE_PATH}/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
GET_TARGET_PROPERTY(LIB_OUT_NAME qjson LOCATION)
GET_FILENAME_COMPONENT(LIB_OUT_NAME ${LIB_OUT_NAME} NAME)
# cmake-modules
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/qjson-config.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/qjson-config.cmake
@ONLY)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/qjson-config-version.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/qjson-config-version.cmake
@ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/qjson-config.cmake
${CMAKE_CURRENT_BINARY_DIR}/qjson-config-version.cmake
DESTINATION "lib/cmake/qjson")
ADD_CUSTOM_TARGET(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
没有合适的资源?快使用搜索试试~ 我知道了~
tdriver git clone的文件
共1432个文件
rb:343个
feature:231个
cpp:212个
需积分: 12 13 下载量 40 浏览量
2014-02-09
17:14:55
上传
评论
收藏 7.59MB RAR 举报
温馨提示
tdriver git clone的文件,具体文件如下: git clone git://gitorious.org/tdriver/driver.git git clone git://gitorious.org/tdriver/sut_qt.git git clone git://gitorious.org/tdriver/agent_qt.git git clone git://gitorious.org/tdriver/visualizer.git git clone git://gitorious.org/tdriver/tests.git
资源推荐
资源详情
资源评论
收起资源包目录
tdriver git clone的文件 (1432个子文件)
qttas-server.aegis 585B
install_tdriver_interface.bat 391B
update.bat 179B
update.bat 176B
update.bat 174B
runtest.bat 52B
runner.bat 14B
native_extensions.c 8KB
json_parser.cc 33KB
changelog 10KB
changelog 7KB
changelog 7KB
changelog 6KB
changelog 5KB
ChangeLog 2KB
changelog 324B
changelog 175B
FindQJSON.cmake 1KB
compat 3B
compat 3B
compat 3B
compat 1B
compat 1B
compat 1B
security.conf 596B
qttasserver.conf 299B
qttas-testing.conf 108B
config 332B
config 330B
config 328B
config 328B
config 327B
control 2KB
control 2KB
control 1KB
control 976B
control 598B
control 363B
copyright 27KB
copyright 376B
copyright 302B
tdriver_codetextedit.cpp 71KB
tdriver_tabbededitor.cpp 57KB
utilfixtureplugin.cpp 51KB
tdriver_main_window.cpp 50KB
qrc_nativedialog_testapp.cpp 46KB
tdriver_object_tree.cpp 39KB
webkittraverse.cpp 35KB
webkitcommandservice.cpp 27KB
tdriver_debugconsole.cpp 25KB
tdriver_xml.cpp 24KB
tascoreutils.cpp 22KB
startappservice.cpp 22KB
tasqtdatamodel.cpp 21KB
tdriver_rubyinterface.cpp 21KB
tdriver_properties_table.cpp 21KB
testabilityutils.cpp 20KB
tdriver_menu.cpp 20KB
tdriver_editor_common.cpp 20KB
cucumberapplicationmanager.cpp 20KB
tasserverservicemanager.cpp 19KB
mainwindow.cpp 18KB
tasclientmanager.cpp 18KB
tdriver_image_view.cpp 17KB
tastraverseutils.cpp 16KB
calculator.cpp 16KB
resourceloggingservice.cpp 16KB
testserializer.cpp 16KB
tassocket.cpp 16KB
tasviewitemtraverse.cpp 16KB
cucumberwireprotocolserver.cpp 16KB
tdriver_ui.cpp 16KB
servermonitor.cpp 15KB
infologger.cpp 15KB
testabilityservice.cpp 15KB
tdriver_featurabstractview.cpp 14KB
tdriver_find_dialog.cpp 14KB
testparser.cpp 14KB
tasgesture.cpp 14KB
tasserver.cpp 14KB
eventservice.cpp 13KB
tasuitraverser.cpp 12KB
tdriver_rbiprotocol.cpp 12KB
mainwindow.cpp 12KB
tdriver_runconsole.cpp 12KB
mousehandler.cpp 11KB
tasqtcommandmodel.cpp 11KB
json_scanner.cpp 11KB
taslogger.cpp 11KB
tasfixtureplugin.cpp 11KB
tasgesturerecognizers.cpp 11KB
objectservice.cpp 11KB
tdriver_rubyinteract.cpp 10KB
tdriver_image_widget.cpp 10KB
tdriver_highlighter.cpp 10KB
findobjectservice.cpp 10KB
contactfixture.cpp 10KB
mainwindow.cpp 9KB
tasdeviceutils_unix.cpp 9KB
tasqttraverse.cpp 9KB
共 1432 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15
资源评论
loganyang123
- 粉丝: 28
- 资源: 43
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功