mirror of https://github.com/YosysHQ/yosys.git
CMake: filterlib
This commit is contained in:
parent
9a13e66b73
commit
78dcb210be
|
@ -33,7 +33,7 @@ option(ENABLE_DEBUG "Enable debug build" OFF)
|
||||||
option(ENABLE_LTO "Enable LTO build" OFF)
|
option(ENABLE_LTO "Enable LTO build" OFF)
|
||||||
option(ENABLE_CCACHE "Enable building with CCACHE" OFF)
|
option(ENABLE_CCACHE "Enable building with CCACHE" OFF)
|
||||||
# sccache is not always a drop-in replacement for ccache in practice
|
# sccache is not always a drop-in replacement for ccache in practice
|
||||||
option(ENABLE_SCCACHE "Enable building with SCACHE" OFF)
|
option(ENABLE_SCCACHE "Enable building with SCCACHE" OFF)
|
||||||
option(ENABLE_FUNCTIONAL_TESTS "Enable functional tests" OFF)
|
option(ENABLE_FUNCTIONAL_TESTS "Enable functional tests" OFF)
|
||||||
|
|
||||||
set(CXXSTD 17 CACHE STRING "C++ standard to use for the build")
|
set(CXXSTD 17 CACHE STRING "C++ standard to use for the build")
|
||||||
|
|
|
@ -47,3 +47,6 @@ target_sources(yosys_passes_techmap INTERFACE
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(yosys PRIVATE yosys_passes_techmap)
|
target_link_libraries(yosys PRIVATE yosys_passes_techmap)
|
||||||
|
|
||||||
|
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
|
||||||
|
add_executable(yosys-filterlib filterlib.cc)
|
||||||
|
|
Loading…
Reference in New Issue