mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-27 19:18:49 +00:00
Add CMake scripts to build libraries and read_slang frontend
This commit is contained in:
parent
7d4ebeebc0
commit
fd2d0ab0f4
3 changed files with 51 additions and 0 deletions
|
|
@ -7,3 +7,16 @@ add_subdirectory(json11)
|
|||
add_subdirectory(minisat)
|
||||
add_subdirectory(sha1)
|
||||
add_subdirectory(subcircuit)
|
||||
set(_old_BUILD_SHARED_LIBS "${BUILD_SHARED_LIBS}")
|
||||
set(BUILD_SHARED_LIBS OFF)
|
||||
include(FetchContent)
|
||||
option(FMT_INSTALL OFF)
|
||||
FetchContent_Declare(
|
||||
fmt
|
||||
EXCLUDE_FROM_ALL
|
||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/fmt
|
||||
)
|
||||
FetchContent_MakeAvailable(fmt)
|
||||
set(SLANG_USE_MIMALLOC OFF)
|
||||
add_subdirectory(slang)
|
||||
set(BUILD_SHARED_LIBS "${_old_BUILD_SHARED_LIBS}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue