Skip to content

Commit

Permalink
Collect common headers for install target
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Mar 6, 2023
1 parent 3623803 commit de2c58b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions cpp/src/aztec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ else()
message(STATUS "Using optimized assembly for field arithmetic.")
endif()

add_subdirectory(common)
add_subdirectory(env)
add_subdirectory(numeric)
add_subdirectory(srs)
Expand Down
8 changes: 8 additions & 0 deletions cpp/src/aztec/common/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Collect our common/*.hpp files and include in installation
file(GLOB_RECURSE HEADER_FILES *.hpp)
target_sources(
barretenberg_headers
INTERFACE
FILE_SET HEADERS
FILES ${HEADER_FILES}
)

0 comments on commit de2c58b

Please sign in to comment.