1 libcvc4_add_sources(GENERATED
7 file(GLOB kinds_files ${PROJECT_SOURCE_DIR}/src/theory/*/kinds)
9 set(mktheorytraits_script ${CMAKE_CURRENT_LIST_DIR}/mktheorytraits)
10 set(mkrewriter_script ${CMAKE_CURRENT_LIST_DIR}/mkrewriter)
13 OUTPUT rewriter_tables.h
16 ${CMAKE_CURRENT_LIST_DIR}/rewriter_tables_template.h
18 > ${CMAKE_CURRENT_BINARY_DIR}/rewriter_tables.h
19 DEPENDS mkrewriter rewriter_tables_template.h
23 OUTPUT theory_traits.h
25 ${mktheorytraits_script}
26 ${CMAKE_CURRENT_LIST_DIR}/theory_traits_template.h
28 > ${CMAKE_CURRENT_BINARY_DIR}/theory_traits.h
29 DEPENDS mktheorytraits theory_traits_template.h
33 OUTPUT type_enumerator.cpp
35 ${mktheorytraits_script}
36 ${CMAKE_CURRENT_LIST_DIR}/type_enumerator_template.cpp
38 > ${CMAKE_CURRENT_BINARY_DIR}/type_enumerator.cpp
39 DEPENDS mktheorytraits type_enumerator_template.cpp
42 add_custom_target(gen-theory