mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-09-08 04:41:06 +02:00
Add option to build/install slang tools
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user