Warning, /sdk/inqlude-client/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 cmake_minimum_required(VERSION 2.6)
0002 project(inqludeclient)
0003 find_package(Qt5 CONFIG REQUIRED Core Network Test)
0004
0005 set(CMAKE_AUTOMOC true)
0006
0007 include_directories(${CMAKE_CURRENT_BINARY_DIR})
0008
0009 # Shared code between client and autotest
0010 set(sharedfiles_SRCS
0011 dataprovider.cpp
0012 filedataprovider.cpp
0013 httpdataprovider.cpp
0014 listhandler.cpp
0015 downloadhandler.cpp
0016 abstracthandler.cpp
0017 )
0018 add_library(libinqludeclient STATIC ${sharedfiles_SRCS})
0019 target_link_libraries(libinqludeclient
0020 Qt5::Core
0021 Qt5::Network
0022 )
0023
0024 add_subdirectory(autotests)
0025
0026 set(inqludeclient_SRCS
0027 inqludeclient.cpp
0028 main.cpp)
0029
0030 add_executable(inqlude-client ${inqludeclient_SRCS})
0031 target_link_libraries(inqlude-client
0032 libinqludeclient
0033 Qt5::Core
0034 Qt5::Network
0035 )
0036
0037 install(TARGETS inqlude-client RUNTIME DESTINATION bin)