mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-09 00:40:16 +00:00
Add option to build/install slang tools
This commit is contained in:
parent
2d9fdf859c
commit
61bc3bd287
1 changed files with 10 additions and 0 deletions
|
|
@ -43,5 +43,15 @@ block()
|
|||
if(NOT Boost_FOUND)
|
||||
target_compile_definitions(slang_slang PRIVATE BOOST_REGEX_STANDALONE)
|
||||
endif()
|
||||
if (SLANG_INCLUDE_TOOLS)
|
||||
# Temporary to prevent build issues
|
||||
set_target_properties(slang_tidy_obj_lib PROPERTIES YOSYS_IS_ABC ON)
|
||||
|
||||
install(TARGETS slang_driver RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
install(TARGETS slang_hier RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
install(TARGETS slang_reflect RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
install(TARGETS rewriter RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
install(TARGETS slang_tidy RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
endif()
|
||||
endif()
|
||||
endblock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue