diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2020-06-20 15:53:39 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2020-06-23 13:23:15 +0200 |
commit | 9fd21ebae6282e4015f3e33461ef62f62c38371d (patch) | |
tree | f1ad0a80a0c6e06868fd0550208d691abad4a1c5 /document | |
parent | 749b7f7637c8b5c80dfe813d04c5301054b311c4 (diff) |
Add source target per module for generated sources.
Diffstat (limited to 'document')
-rw-r--r-- | document/src/vespa/document/select/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/document/src/vespa/document/select/CMakeLists.txt b/document/src/vespa/document/select/CMakeLists.txt index f210e8abdd7..e0adfe2b2d9 100644 --- a/document/src/vespa/document/select/CMakeLists.txt +++ b/document/src/vespa/document/select/CMakeLists.txt @@ -13,6 +13,9 @@ FLEX_TARGET(DocSelLexer grammar/lexer.ll ADD_FLEX_BISON_DEPENDENCY(DocSelLexer DocSelParser) include_directories(${CMAKE_CURRENT_BINARY_DIR}) +vespa_add_source_target(bisongen_document_select DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/parser.cxx ${CMAKE_CURRENT_BINARY_DIR}/parser.hxx) +vespa_add_source_target(flexgen_document_select DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/lexer.cxx ${CMAKE_CURRENT_BINARY_DIR}/lexer.hxx) + vespa_add_library(document_select OBJECT SOURCES bodyfielddetector.cpp |