Commit b5e12196 authored by Volker Krause's avatar Volker Krause

Start to align directory structure with KF5 standards

parent 60d2e2ee
......@@ -101,9 +101,9 @@ else()
# C++11/Qt5 compatibility
if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /FI\"${CMAKE_SOURCE_DIR}\\compat\\qt4compat.h\"")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /FI\"${CMAKE_SOURCE_DIR}\\src\\compat\\qt4compat.h\"")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include \"${CMAKE_SOURCE_DIR}/compat/qt4compat.h\"")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include \"${CMAKE_SOURCE_DIR}/src/compat/qt4compat.h\"")
endif()
endif()
......@@ -157,10 +157,8 @@ configure_file(config-userfeedback-version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/c
#
# Actually build the stuff
#
add_subdirectory(provider)
add_subdirectory(server)
if(Qt5Charts_FOUND AND NOT CMAKE_VERSION VERSION_LESS 3.0) # analyzer is Qt5 only and needs AUTOUIC support
add_subdirectory(analyzer)
add_subdirectory(src)
if(Qt5Charts_FOUND AND NOT CMAKE_VERSION VERSION_LESS 3.0)
add_subdirectory(tests/manual)
endif()
if(Qt5Core_FOUND)
......
This diff is collapsed.
# User Feedback
Framework for collecting feedback from application users. This currently consists of two aspects:
* Telemetry
* Surveys
## Telemetry
* Extensible set of data sources for telemetry.
* Full control for the user on what data to contribute.
## Surveys
* Distribute surveys and offer users to participate in them.
* Survey targeting based on telemetry data [TODO].
* Allow the user to configure how often they want to participate in surveys.
## Components
This framework consists of the following components:
* Libraries for use in applications.
* A server application.
* A management and analytics application.
add_subdirectory(provider)
add_subdirectory(server)
if(Qt5Charts_FOUND AND NOT CMAKE_VERSION VERSION_LESS 3.0)
add_subdirectory(analyzer)
endif()
......@@ -32,7 +32,7 @@ set(analyzer_lib_srcs
add_library(UserFeedbackAnalyzer STATIC ${analyzer_lib_srcs})
target_link_libraries(UserFeedbackAnalyzer Qt5::Network)
target_include_directories(UserFeedbackAnalyzer PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR};>")
target_include_directories(UserFeedbackAnalyzer PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR};${CMAKE_CURRENT_SOURCE_DIR}/..>")
target_compile_features(UserFeedbackAnalyzer PRIVATE cxx_generic_lambdas)
if(NOT TARGET UserFeedbackWidgets)
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment