From 71556295ffe315be34ce70e1a6821860fb088f07 Mon Sep 17 00:00:00 2001 From: Konstantin Podsvirov Date: Wed, 1 Jun 2016 17:00:08 +0300 Subject: CMake project updates A series of improvements: - Improved Protobuf module compatibility (disabled by default); - Hide advanced settings; - Added build tree configuration; - Added build of examples. --- cmake/examples.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cmake/examples.cmake (limited to 'cmake/examples.cmake') diff --git a/cmake/examples.cmake b/cmake/examples.cmake new file mode 100644 index 00000000..f7d4d601 --- /dev/null +++ b/cmake/examples.cmake @@ -0,0 +1,10 @@ +if(protobuf_VERBOSE) + message(STATUS "Protocol Buffers Examples Configuring...") +endif() + +# Add examples subproject +add_subdirectory(../examples examples) + +if(protobuf_VERBOSE) + message(STATUS "Protocol Buffers Examples Configuring done") +endif() -- cgit v1.2.3