cmake_minimum_required(VERSION 2.8.11) project(helix_web_services_client) enable_testing() # Find includes in corresponding build directories set(CMAKE_INCLUDE_CURRENT_DIR ON) # Instruct CMake to run moc automatically when needed. set(CMAKE_AUTOMOC ON) find_package(Qt5Core) find_package(Qt5Network) find_package(Qt5Test) find_package(Qt5WebSockets) include_directories( ${Qt5Core_INCLUDE_DIRS} ${Qt5Network_INCLUDE_DIRS} ${Qt5WebSockets_INCLUDE_DIRS} ) add_definitions( ${Qt5Core_DEFINITIONS} ${Qt5Network_DEFINITIONS} ${Qt5WebSockets_DEFINITIONS} ) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS} -Wall") set(SOURCE_FILES hws/Client.cpp hws/RequestError.cpp hws/Session.cpp ) add_library(helix_web_services_client STATIC ${SOURCE_FILES}) add_executable(HWSIntegrationTests test/ClientTests.cpp test/HWSIntegrationTests.cpp test/SessionTests.cpp ) add_test(HWSIntegrationTests HWSIntegrationTests) target_link_libraries(HWSIntegrationTests helix_web_services_client Qt5::Test Qt5::WebSockets Qt5::Network ) add_executable(Example Example.cpp ) target_link_libraries(Example helix_web_services_client Qt5::WebSockets Qt5::Network )
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 15741 | ptomiak | Branch HWS for my use. | ||
//guest/perforce_software/helix-web-services/main/source/helix_web_services_client_qt/CMakeLists.txt | |||||
#1 | 15622 | tjuricek |
Move source code to 'source/' subdirectory of branch. build/ will remain where it is. |
||
//guest/perforce_software/helix-web-services/main/helix_web_services_client_qt/CMakeLists.txt | |||||
#3 | 15447 | tjuricek |
Add simple Example application to list "projects" in a HVE instance. Qt's a little weird to follow, so I may have to find a different kind of example to write. It does work, however. |
||
#2 | 15423 | tjuricek |
Revised HWS Qt API. This is a major revision of the API, which removes most of the "typed" data, replacing it with a more generic "executeMethodDone" callback. The main benefit here is to allow the API to interop with different versions of p4d, and not restrict the methods it can call. We may add more helpers in the future. |
||
#1 | 14025 | tjuricek |
Revise Qt SDK to a single 'helix_web_services_client' project. Most references to "Phoenix" have now been removed. Additionally, this is more similar to the other platform client SDKs in Ruby and JavaScript. Documentation via Doxygen is now available, and will be how much of the SDK reference should occur. |