Commit Graph

17 Commits

Author SHA1 Message Date
Catherine
6855b558ac CMake: use imported target for pybind11 (in the GUI).
See commit 43b2f385.
2025-01-22 21:48:40 +00:00
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
Catherine
155adc3f5d CMake: rationalize and refactor build system.
The two main changes, done together in this commit, are:
* Eliminating most instances of `aux_source_directory()`, replacing
  them with explicit file listings; and
* Moving these file listings into respective subdirectories by
  representing respective nextpnr components as interface libraries.

In addition, the GUI CMake script tree was simplified since it had
a lot of unused/redundant code.

The `aux_source_directory()` command is not recommended for use by
CMake itself because it misses dependency changes when adding/removing
files, and consequently causes build failures requiring a clean rebuild.

This commit does not touch anything related to architectures/families,
which are very complex and redundant all on their own.
2025-01-16 11:36:44 +01:00
Catherine
d214308f5f CMake: reformat for consistency.
Normalize keywords to:

    if (...)
    elseif (...)
    else()
    endif()

    foreach (...)
    endforeach()

    other(...)

Normalize whitespace to 4 spaces.
2025-01-16 11:36:44 +01:00
gatecat
0e3b25468c gui: Implement about dialog
Signed-off-by: gatecat <gatecat@ds0.me>
2021-07-25 12:06:51 +01:00
gatecat
dcbb322447 Remove redundant code after hashlib move
Signed-off-by: gatecat <gatecat@ds0.me>
2021-06-02 15:05:20 +01:00
gatecat
4e346ecfba Hash table refactoring
Signed-off-by: gatecat <gatecat@ds0.me>
2021-04-14 10:30:19 +01:00
Keith Rothman
f4dc67879e Fixup GUI link dependencies on headers from libraries.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2021-03-18 14:00:19 -07:00
Miodrag Milanovic
f796716b83 Make imgui and qtgui compile on older qt as well, opengl 3.2 required 2018-10-24 19:00:58 +02:00
Miodrag Milanovic
07ff5ad8b8 Made python console use edit line and better 2018-07-13 19:56:11 +02:00
Miodrag Milanovic
f88f86125d Set family specific parameters for GUI 2018-07-10 13:54:05 +02:00
Miodrag Milanovic
a4f69fba19 fix build without python 2018-06-29 08:18:15 +02:00
Miodrag Milanovic
1676b285ae adapted python-console for easier use 2018-06-28 17:57:26 +02:00
Miodrag Milanovic
45032e2224 compile in needed helpers and fix warnings 2018-06-28 17:57:26 +02:00
Miodrag Milanovic
11d99853ab more task control 2018-06-22 12:49:40 +02:00
Miodrag Milanovic
9c03909eba Make arch specific main window 2018-06-21 13:41:33 +02:00
Miodrag Milanovic
36c16cd28e Cleanup of cmake files for easier development 2018-06-20 16:15:33 +02:00