Warning, /education/marble/tools/osm-addresses/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 SET (TARGET osm-addresses)
0002 PROJECT (${TARGET})
0003 
0004 include_directories(
0005  ${CMAKE_CURRENT_SOURCE_DIR}
0006  ${CMAKE_CURRENT_BINARY_DIR}
0007  ${PROTOBUF_INCLUDE_DIRS}
0008  ${ZLIB_INCLUDE_DIRS}
0009  ../../src/plugins/runner/local-osm-search
0010 )
0011 
0012 set( ${TARGET}_SRC
0013 OsmRegion.cpp
0014 OsmRegionTree.cpp
0015 OsmParser.cpp
0016 SqlWriter.cpp
0017 Writer.cpp
0018 main.cpp
0019 pbf/PbfParser.cpp
0020 xml/XmlParser.cpp
0021 ../../src/plugins/runner/local-osm-search/OsmPlacemark.cpp
0022 ../../src/plugins/runner/local-osm-search/DatabaseQuery.cpp
0023 )
0024 PROTOBUF_GENERATE_CPP(PROTO_SRCS PROTO_HDRS
0025 pbf/fileformat.proto
0026 pbf/osmformat.proto
0027 )
0028 add_executable( ${TARGET} ${${TARGET}_SRC} ${PROTO_SRCS} ${PROTO_HDRS} )
0029 
0030 target_link_libraries( ${TARGET}
0031     marblewidget
0032     Qt5::Sql
0033     ${PROTOBUF_LIBRARIES}
0034     ${ZLIB_LIBRARIES}
0035 )