mirror of https://github.com/llvm/circt.git
129 lines
2.2 KiB
CMake
129 lines
2.2 KiB
CMake
add_llvm_executable(circt-capi-ir-test
|
|
PARTIAL_SOURCES_INTENDED
|
|
ir.c
|
|
)
|
|
llvm_update_compile_flags(circt-capi-ir-test)
|
|
|
|
target_link_libraries(circt-capi-ir-test
|
|
PRIVATE
|
|
|
|
CIRCTCAPIComb
|
|
CIRCTCAPIHW
|
|
CIRCTCAPISeq
|
|
CIRCTCAPISV
|
|
CIRCTCAPIFSM
|
|
CIRCTCAPIExportFIRRTL
|
|
CIRCTCAPIExportSMTLIB
|
|
CIRCTCAPIExportVerilog
|
|
)
|
|
|
|
add_llvm_executable(circt-capi-om-test
|
|
PARTIAL_SOURCES_INTENDED
|
|
om.c
|
|
)
|
|
llvm_update_compile_flags(circt-capi-om-test)
|
|
|
|
target_link_libraries(circt-capi-om-test
|
|
PRIVATE
|
|
|
|
MLIRCAPIIR
|
|
CIRCTCAPIOM
|
|
)
|
|
|
|
add_llvm_executable(circt-capi-firrtl-test
|
|
PARTIAL_SOURCES_INTENDED
|
|
firrtl.c
|
|
)
|
|
llvm_update_compile_flags(circt-capi-firrtl-test)
|
|
|
|
target_link_libraries(circt-capi-firrtl-test
|
|
PRIVATE
|
|
|
|
MLIRCAPIIR
|
|
CIRCTCAPIFIRRTL
|
|
CIRCTCAPIExportFIRRTL
|
|
)
|
|
|
|
add_llvm_executable(circt-capi-firtool-test
|
|
PARTIAL_SOURCES_INTENDED
|
|
firtool.c
|
|
)
|
|
llvm_update_compile_flags(circt-capi-firtool-test)
|
|
|
|
target_link_libraries(circt-capi-firtool-test
|
|
PRIVATE
|
|
|
|
MLIRCAPIIR
|
|
CIRCTCAPIFIRRTL
|
|
CIRCTCAPIFirtool
|
|
)
|
|
|
|
add_llvm_executable(circt-capi-arc-test
|
|
PARTIAL_SOURCES_INTENDED
|
|
arc.c
|
|
)
|
|
llvm_update_compile_flags(circt-capi-arc-test)
|
|
|
|
add_llvm_executable(circt-capi-smtlib-test
|
|
PARTIAL_SOURCES_INTENDED
|
|
smtlib.c
|
|
)
|
|
llvm_update_compile_flags(circt-capi-smtlib-test)
|
|
|
|
target_link_libraries(circt-capi-smtlib-test
|
|
PRIVATE
|
|
|
|
MLIRCAPIIR
|
|
MLIRCAPIFunc
|
|
CIRCTCAPISMT
|
|
CIRCTCAPIExportSMTLIB
|
|
)
|
|
|
|
target_link_libraries(circt-capi-arc-test
|
|
PRIVATE
|
|
|
|
MLIRCAPIIR
|
|
CIRCTCAPIArc
|
|
)
|
|
|
|
add_llvm_executable(circt-capi-rtg-pipelines-test
|
|
PARTIAL_SOURCES_INTENDED
|
|
rtg-pipelines.c
|
|
)
|
|
llvm_update_compile_flags(circt-capi-rtg-pipelines-test)
|
|
|
|
target_link_libraries(circt-capi-rtg-pipelines-test
|
|
PRIVATE
|
|
|
|
MLIRCAPIIR
|
|
CIRCTCAPIRTG
|
|
CIRCTCAPIRtgTool
|
|
)
|
|
|
|
add_llvm_executable(circt-capi-rtg-test
|
|
PARTIAL_SOURCES_INTENDED
|
|
rtg.c
|
|
)
|
|
llvm_update_compile_flags(circt-capi-rtg-test)
|
|
|
|
target_link_libraries(circt-capi-rtg-test
|
|
PRIVATE
|
|
|
|
MLIRCAPIIR
|
|
CIRCTCAPIRTG
|
|
CIRCTCAPIRTGTest
|
|
)
|
|
|
|
add_llvm_executable(circt-capi-rtgtest-test
|
|
PARTIAL_SOURCES_INTENDED
|
|
rtgtest.c
|
|
)
|
|
llvm_update_compile_flags(circt-capi-rtgtest-test)
|
|
|
|
target_link_libraries(circt-capi-rtgtest-test
|
|
PRIVATE
|
|
|
|
MLIRCAPIIR
|
|
CIRCTCAPIRTGTest
|
|
)
|