Skip to content

Commit

Permalink
cmake: fixed build to include list-scanner, kv-scanner & str-repr
Browse files Browse the repository at this point in the history
Signed-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>
  • Loading branch information
bazsi committed Sep 13, 2017
1 parent 6b052e2 commit 571eff6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ set(LIB_SUBDIR_HEADERS
${TRANSPORT_HEADERS}
${VALUE_PAIRS_HEADERS}
${CSV_SCANNER_HEADERS}
${LIST_SCANNER_HEADERS}
${KV_SCANNER_HEADERS}
${STR_REPR_HEADERS}
${CMAKE_CURRENT_BINARY_DIR}/filter/filter-expr-grammar.h
${CMAKE_CURRENT_BINARY_DIR}/rewrite/rewrite-expr-grammar.h
${CMAKE_CURRENT_BINARY_DIR}/parser/parser-expr-grammar.h
Expand Down Expand Up @@ -216,6 +219,9 @@ set(LIB_SOURCES
${TRANSPORT_SOURCES}
${VALUE_PAIRS_SOURCES}
${CSV_SCANNER_SOURCES}
${LIST_SCANNER_SOURCES}
${KV_SCANNER_SOURCES}
${STR_REPR_SOURCES}
${PROJECT_BINARY_DIR}/lib/cfg-grammar.c
${PROJECT_BINARY_DIR}/lib/block-ref-grammar.c
${PROJECT_BINARY_DIR}/lib/cfg-lex.c
Expand Down
2 changes: 2 additions & 0 deletions lib/scanner/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
add_subdirectory(csv-scanner)
add_subdirectory(list-scanner)
add_subdirectory(kv-scanner)
7 changes: 7 additions & 0 deletions lib/scanner/list-scanner/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
set(LIST_SCANNER_HEADERS
list-scanner/list-scanner.h
PARENT_SCOPE)

set(LIST_SCANNER_SOURCES
list-scanner/list-scanner.c
PARENT_SCOPE)

0 comments on commit 571eff6

Please sign in to comment.