Use protobuf conan package
This commit is contained in:
parent
ef5686e83e
commit
188f33c736
3 changed files with 12 additions and 1 deletions
|
@ -2,4 +2,7 @@ cmake_minimum_required(VERSION 3.5)
|
|||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
||||
conan_basic_setup()
|
||||
|
||||
add_subdirectory(source)
|
||||
|
|
8
conanfile.txt
Normal file
8
conanfile.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
[requires]
|
||||
protobuf/3.6.1@bincrafters/stable
|
||||
|
||||
[generators]
|
||||
cmake
|
||||
|
||||
[options]
|
||||
protobuf:shared=True
|
|
@ -33,7 +33,7 @@ void DataModel::write(std::ostream &outStream) const
|
|||
|
||||
m_metaData.write(*dataModel.mutable_metadata());
|
||||
m_v2Svk.write(*dataModel.mutable_v2svk());
|
||||
u_verbEnd.write(*dataModel.mutable_verbend());
|
||||
m_verbEnd.write(*dataModel.mutable_verbend());
|
||||
m_genus.write(*dataModel.mutable_genus());
|
||||
m_akkusativ.write(*dataModel.mutable_akkusativ());
|
||||
m_dativ.write(*dataModel.mutable_dativ());
|
||||
|
|
Loading…
Reference in a new issue