3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-25 11:26:22 +00:00

Migrate build system to CMake

See #5895 for details.

This commit does not include CI or documentation changes.
This commit is contained in:
Catherine 2026-05-12 05:33:04 +00:00
parent 9d0cdb8551
commit 9b087b4aa7
207 changed files with 5202 additions and 2294 deletions

22
kernel/yosys_config.h.in Normal file
View file

@ -0,0 +1,22 @@
#ifndef YOSYS_CONFIG_H
#define YOSYS_CONFIG_H
// Installation parameters
#define YOSYS_PROGRAM_PREFIX "@YOSYS_PROGRAM_PREFIX@"
#define YOSYS_DATDIR "@YOSYS_INSTALL_DATADIR@"
// Feature toggles
#cmakedefine YOSYS_ENABLE_GLOB
#cmakedefine YOSYS_ENABLE_SPAWN
#cmakedefine YOSYS_ENABLE_THREADS
#cmakedefine YOSYS_ENABLE_DLOPEN
#cmakedefine YOSYS_ENABLE_ZLIB
#cmakedefine YOSYS_ENABLE_PLUGINS
#cmakedefine YOSYS_ENABLE_READLINE
#cmakedefine YOSYS_ENABLE_EDITLINE
#cmakedefine YOSYS_ENABLE_TCL
#cmakedefine YOSYS_ENABLE_PYTHON
#cmakedefine YOSYS_ENABLE_VERIFIC
#cmakedefine YOSYS_ENABLE_HELP_SOURCE
#endif