mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
enhance(build): Pass trailing arguments from add_concretelang_doc to add_mlir_doc
Pass all arguments starting with `command` passed to `add_concretelang_doc` to `add_mlir_doc`. This allows for the specification of additional command line arguments to be passed to `mlir-tblgen`.
This commit is contained in:
@@ -3,7 +3,7 @@ include(AddMLIR)
|
||||
function(add_concretelang_doc doc_filename output_file output_directory command)
|
||||
set(SAVED_MLIR_BINARY_DIR ${MLIR_BINARY_DIR})
|
||||
set(MLIR_BINARY_DIR ${CONCRETELANG_BINARY_DIR})
|
||||
add_mlir_doc(${doc_filename} ${output_file} ${output_directory} ${command})
|
||||
add_mlir_doc(${doc_filename} ${output_file} ${output_directory} ${command} ${ARGN})
|
||||
set(MLIR_BINARY_DIR ${SAVED_MLIR_BINARY_DIR})
|
||||
unset(SAVED_MLIR_BINARY_DIR)
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user