mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-06 09:15:23 +08:00
qt 6.6.0 clean
This commit is contained in:
17
tests/auto/tools/qt_cmake_create/testdata/proto_project/CMakeLists.txt.expected
vendored
Normal file
17
tests/auto/tools/qt_cmake_create/testdata/proto_project/CMakeLists.txt.expected
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(proto_project LANGUAGES CXX)
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Protobuf Grpc)
|
||||
qt_standard_project_setup()
|
||||
|
||||
qt_add_protobuf(proto_project
|
||||
GENERATE_PACKAGE_SUBFOLDERS
|
||||
PROTO_FILES
|
||||
test.proto
|
||||
)
|
||||
|
||||
target_link_libraries(proto_project
|
||||
PRIVATE
|
||||
Qt::Protobuf
|
||||
Qt::Grpc
|
||||
)
|
5
tests/auto/tools/qt_cmake_create/testdata/proto_project/test.proto
vendored
Normal file
5
tests/auto/tools/qt_cmake_create/testdata/proto_project/test.proto
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package test;
|
||||
message Noop {
|
||||
}
|
Reference in New Issue
Block a user