nextpnr/generic/CMakeLists.txt
Catherine cd7f7c12f1 CMake: refactor architecture-specific build system parts.
Two user-visible changes were made:
* `-DUSE_RUST` is replaced with `-DBUILD_RUST`, by analogy with
  `-DBUILD_PYTHON`
* `-DCOVERAGE` was removed as it doesn't work with either modern GCC
  or Clang
2025-01-21 17:13:03 +00:00

38 lines
870 B
CMake

set(SOURCES
arch.cc
archdefs.h
arch.h
arch_pybindings.cc
arch_pybindings.h
cells.cc
cells.h
pack.cc
viaduct_api.cc
viaduct_api.h
viaduct_constids.h
viaduct_helpers.cc
viaduct_helpers.h
viaduct/example/constids.inc
viaduct/example/example.cc
viaduct/fabulous/constids.inc
viaduct/fabulous/fab_cfg.h
viaduct/fabulous/fab_defs.h
viaduct/fabulous/fabric_parsing.h
viaduct/fabulous/fabulous.cc
viaduct/fabulous/fasm.cc
viaduct/fabulous/fasm.h
viaduct/fabulous/pack.cc
viaduct/fabulous/pack.h
viaduct/fabulous/validity_check.cc
viaduct/fabulous/validity_check.h
viaduct/okami/constids.inc
viaduct/okami/okami.cc
)
add_nextpnr_architecture(${family}
CORE_SOURCES ${SOURCES}
MAIN_SOURCE main.cc
)
target_sources(nextpnr-${family}-chipdb PUBLIC chipdb.cc)