@@ -83,7 +83,7 @@ option(BUILD_ZLIB "Build the ZLIB dependency Library" ON)
8383message (STATUS "Build ZLIB: ${BUILD_ZLIB} " )
8484
8585option (BUILD_absl "Build the abseil-cpp dependency Library" ON )
86- message (STATUS "Build abseil-cpp : ${BUILD_absl} " )
86+ message (STATUS "Build absl : ${BUILD_absl} " )
8787
8888option (BUILD_re2 "Build the RE2 dependency Library" ON )
8989message (STATUS "Build re2: ${BUILD_re2} " )
@@ -92,18 +92,18 @@ option(BUILD_Protobuf "Build the Protobuf dependency Library" ON)
9292message (STATUS "Build protobuf: ${BUILD_Protobuf} " )
9393
9494if (BUILD_TESTING)
95- option (BUILD_re2 "Build the RE2 dependency Library" ON )
9695 option (BUILD_googletest "Build googletest" ON )
9796 option (BUILD_benchmark "Build benchmark" ON )
9897else ()
99- set (BUILD_re2 OFF )
10098 set (BUILD_googletest OFF )
10199 set (BUILD_benchmark OFF )
102100endif ()
103- message (STATUS "Build re2: ${BUILD_re2} " )
104101message (STATUS "Build googletest: ${BUILD_googletest} " )
105102message (STATUS "Build benchmark: ${BUILD_benchmark} " )
106103
104+ option (BUILD_EXAMPLES "Build examples" ON )
105+ message (STATUS "Build examples: ${BUILD_EXAMPLES} " )
106+
107107# Find system deps
108108include (system_deps)
109109
@@ -116,7 +116,9 @@ include(check_deps)
116116
117117include (cpp)
118118
119- ## Examples
120- option (BUILD_EXAMPLES "Build examples" ON )
121- message (STATUS "Build examples: ${BUILD_EXAMPLES} " )
119+ add_subdirectory (Foo)
120+ add_subdirectory (Bar)
121+ add_subdirectory (FooBar)
122+ add_subdirectory (FooBarApp)
123+
122124add_subdirectory (examples)
0 commit comments