initial commit
This commit is contained in:
commit
4b60ece582
327 changed files with 28286 additions and 0 deletions
27
lib/wSocket/CMakeLists.txt
Normal file
27
lib/wSocket/CMakeLists.txt
Normal file
|
@ -0,0 +1,27 @@
|
|||
cmake_minimum_required(VERSION 2.8.12)
|
||||
project(wSocket)
|
||||
|
||||
find_package(Qt5Core REQUIRED)
|
||||
find_package(Qt5Network REQUIRED)
|
||||
find_package(Qt5WebSockets REQUIRED)
|
||||
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
set(HEADERS
|
||||
socket.h
|
||||
server.h
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
socket.cpp
|
||||
server.cpp
|
||||
)
|
||||
|
||||
add_library(wSocket ${HEADERS} ${SOURCES})
|
||||
|
||||
target_link_libraries(wSocket Qt5::Core)
|
||||
target_link_libraries(wSocket Qt5::Network)
|
||||
target_link_libraries(wSocket Qt5::WebSockets)
|
||||
|
||||
target_link_libraries(wSocket wType)
|
Loading…
Add table
Add a link
Reference in a new issue