|
@@ -6,8 +6,8 @@ set(TARGET NeuralNetworkUi)
|
|
|
|
|
|
find_package(Qt5 COMPONENTS Quick Gui Core Qml REQUIRED)
|
|
find_package(Qt5 COMPONENTS Quick Gui Core Qml REQUIRED)
|
|
|
|
|
|
-set(QTPROTOBUF_MAKE_TESTS false)
|
|
|
|
-set(QTPROTOBUF_MAKE_EXAMPLES false)
|
|
|
|
|
|
+set(QT_PROTOBUF_MAKE_TESTS OFF)
|
|
|
|
+set(QT_PROTOBUF_MAKE_EXAMPLES OFF)
|
|
add_subdirectory("qtprotobuf")
|
|
add_subdirectory("qtprotobuf")
|
|
|
|
|
|
find_package(QtProtobufProject CONFIG COMPONENTS QtProtobuf QtGrpc REQUIRED)
|
|
find_package(QtProtobufProject CONFIG COMPONENTS QtProtobuf QtGrpc REQUIRED)
|
|
@@ -23,5 +23,5 @@ set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_AUTORCC ON)
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
|
|
add_executable(NeuralNetworkUi main.cpp qml.qrc valueindicator.cpp visualizermodel.cpp dense.cpp layertrigger.cpp)
|
|
add_executable(NeuralNetworkUi main.cpp qml.qrc valueindicator.cpp visualizermodel.cpp dense.cpp layertrigger.cpp)
|
|
-generate_qtprotobuf(TARGET ${TARGET} PROTO_FILES ${PROTO_FILES} ${VISUALIZATION_PROTO} QML TRUE)
|
|
|
|
|
|
+qtprotobuf_generate(TARGET ${TARGET} PROTO_FILES ${PROTO_FILES} ${VISUALIZATION_PROTO} QML)
|
|
target_link_libraries(NeuralNetworkUi PRIVATE Qt5::Core Qt5::Gui Qt5::Qml Qt5::Quick QtProtobufProject::QtProtobuf QtProtobufProject::QtGrpc ${QtProtobuf_GENERATED})
|
|
target_link_libraries(NeuralNetworkUi PRIVATE Qt5::Core Qt5::Gui Qt5::Qml Qt5::Quick QtProtobufProject::QtProtobuf QtProtobufProject::QtGrpc ${QtProtobuf_GENERATED})
|