Orvibo S20 socket manager
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 519B

123456789101112131415
  1. cmake_minimum_required(VERSION 2.8)
  2. project(s20)
  3. add_definitions(-std=gnu++11)
  4. set(CMAKE_AUTOMOC TRUE)
  5. find_package(Qt5 REQUIRED Core Gui Widgets Network)
  6. add_executable(s20 main.cpp socket.cpp consolereader.cpp server.cpp)
  7. target_link_libraries(s20 Qt5::Core Qt5::Network)
  8. include_directories( ${CMAKE_CURRENT_BINARY_DIR} )
  9. qt5_wrap_ui(UIS_HDRS dialog.ui)
  10. add_executable(s20-gui main-gui.cpp dialog.cpp socket.cpp server.cpp ${UIS_HDRS})
  11. target_link_libraries(s20-gui Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Network)