mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-03 02:06:19 +00:00
a710558c6b
Contains minimal account creation and login Considerations: - migrated status-go wrapper and login code from the fix/cpp-structure (241eec) - Minimal refactoring and changes at the moment. Expect further refactoring follow up to reach the desired state. - Fix missing keychain initialization - Fix accounts DB initialization call done by startup -> Controller.openedAccounts -> status-go.OpenAccounts calls - Small refactoring and todos for other steps - fix SignalsManager - fix async access to dereferenced status-go memory from SignalsManager - fix SignalsManager not starting when registering - finish dev end to end test for create account and login - small improvements and added TODOs for future work - add onboarding test helpers and start messaging test - Refactoring towards Login UI integration Closes: #5909 Closes: #6028
47 lines
1.0 KiB
CMake
47 lines
1.0 KiB
CMake
# Base library. Expect most of the module libraries to depend on it
|
|
#
|
|
cmake_minimum_required(VERSION 3.21)
|
|
|
|
project(TestHelpers
|
|
VERSION 0.1.0
|
|
LANGUAGES CXX)
|
|
|
|
set(QT_NO_CREATE_VERSIONLESS_FUNCTIONS true)
|
|
|
|
find_package(GTest REQUIRED)
|
|
|
|
find_package(Qt6 ${STATUS_QT_VERSION} COMPONENTS Quick Qml REQUIRED)
|
|
qt6_standard_project_setup()
|
|
|
|
qt6_add_qml_module(${PROJECT_NAME}
|
|
URI Status.${PROJECT_NAME}
|
|
VERSION 1.0
|
|
)
|
|
add_library(Status::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
|
|
|
|
target_include_directories(${PROJECT_NAME}
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
target_sources(${PROJECT_NAME}
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/MonitorQtOutput.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/IOTestHelpers.h
|
|
|
|
PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/MonitorQtOutput.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/IOTestHelpers.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
)
|
|
|
|
target_link_libraries(${PROJECT_NAME}
|
|
PUBLIC
|
|
Qt6::Quick
|
|
Qt6::Qml
|
|
|
|
PRIVATE
|
|
GTest::gtest_main
|
|
)
|