зеркало из https://github.com/nextcloud/desktop.git
SocketAPI: rename test client binary to socketapiclient
This commit is contained in:
Родитель
e63d45cca9
Коммит
2cdfc16829
|
@ -1,11 +1,11 @@
|
|||
cmake_minimum_required(VERSION 2.6)
|
||||
project(testclient)
|
||||
set(testclient_SOURCES main.cpp window.cpp)
|
||||
set(testclient_HEADERS window.h)
|
||||
qt_wrap_ui(testclient_UI_SRCS window.ui)
|
||||
add_executable(testclient ${testclient_SOURCES} ${testclient_HEADERS} ${testclient_UI_SRCS})
|
||||
target_link_libraries(testclient ${QT_LIBRARIES})
|
||||
set_target_properties(testclient PROPERTIES AUTOMOC TRUE)
|
||||
qt5_use_modules(testclient Widgets Network)
|
||||
project(socketapiclient)
|
||||
set(socketapiclient_SOURCES main.cpp window.cpp)
|
||||
set(socketapiclient_HEADERS window.h)
|
||||
qt_wrap_ui(socketapiclient_UI_SRCS window.ui)
|
||||
add_executable(socketapiclient ${socketapiclient_SOURCES} ${socketapiclient_HEADERS} ${socketapiclient_UI_SRCS})
|
||||
target_link_libraries(socketapiclient ${QT_LIBRARIES})
|
||||
set_target_properties(socketapiclient PROPERTIES AUTOMOC TRUE)
|
||||
qt5_use_modules(socketapiclient Widgets Network)
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
set_target_properties(testclient PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
set_target_properties(socketapiclient PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
|
|
Загрузка…
Ссылка в новой задаче