Jon Evans
6122fca858
Change default for KICAD_USE_CMAKE_FINDPROTOBUF
9 months ago
Seth Hillbrand
074e6df3bc
Revert "Move thread pool to singleton class"
This reverts commit 361f61a023
.
10 months ago
Seth Hillbrand
361f61a023
Move thread pool to singleton class
Having thread pool as its own singleton in the library meant that each
kiface had its own threadpool, leading to many multiples of the threads
being started. Placing a singleton class in PGM_BASE ensures that all
kifaces use the same thread pool.
The singleton class can be extended to provide single instance
guarantee for any element across kifaces
10 months ago
Jon Evans
250fa52474
Enable IPC API by default
12 months ago
jean-pierre charras
b6bf7d6f44
Revert "Gerbview: Add build option do enable/disable the 3Dconnexion support."
This reverts commit 336532303e
.
A better fix for the link issue on MSYS2 will be committed
1 year ago
jean-pierre charras
336532303e
Gerbview: Add build option do enable/disable the 3Dconnexion support.
On msys2 a link issue (3 undefined symbols) prevent Gerbview to be built.
So I added this option (KICAD_ENABLE_3DMOUSE_GERBVIEW, enabled by default)
to disable 3Dconnexion support on request.
1 year ago
Seth Hillbrand
77797103f7
Add ability to embed files in various elements
Schematics, symbols, boards and footprints all get the ability to store
files inside their file structures. File lookups now have a
kicad-embed:// URI to allow various parts of KiCad to refer to files
stored in this manner.
kicad-embed://datasheet.pdf references the file named "datasheet.pdf"
embedded in the document. Embeds are allowed in schematics, boards,
symbols and footprints. Currently supported embeddings are Datasheets,
3D Models and drawingsheets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6918
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2376
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17827
1 year ago
Seth Hillbrand
ae5678f3f6
Allow recovery after error in asan
1 year ago
Alex Shvartzkop
5b70983692
Detect wxWidgets port in CMake (KICAD_WX_PORT).
1 year ago
Mark Roszko
d3f69a11f2
Add policy for CMAKE_MSVC_DEBUG_INFORMATION_FORMAT
1 year ago
Mark Roszko
87ba1e18bf
Prepend ccache as it should be first
1 year ago
Mark Roszko
ebbfaeaeb7
Alter the pdb mode for ccache
1 year ago
Mark Roszko
eda65f5fa8
Fix ccache and distcc setup
RULE_LAUNCH_COMPILE is not meant for use. It's meant for internal ctest use only per the documentation.
1 year ago
Marek Roszko
a8972f54c4
Put idf tools behind a cmake flag that can be turned off
2 years ago
Marek Roszko
262d94964f
Lets try C++20
2 years ago
Jon Evans
c6e784dae3
Fix order of install targets for macOS
2 years ago
Seth Hillbrand
c9b1134417
Move FindProtobuf to default on for Linux
2 years ago
Seth Hillbrand
6c73e70dad
Force installation of protobuf-compiler at configure step
2 years ago
Jon Evans
f613cd1cb4
ADDED: A new IPC API based on protobuf and nng
Details, documentation, and language bindings are works in
progress and will be evolving over the course of KiCad 9
development.
3 years ago
Alex Shvartzkop
fa6dc95553
Define __cplusplus according to C++ standard version on MSVC.
Otherwise, macros like KI_FALLTHROUGH are not defined properly.
2 years ago
Marek Roszko
46f9a9a005
Make the update check cmake option default for all platforms
2 years ago
Jon Evans
536e7b252d
Use deb_system Python sysconfig scheme on Debian
(cherry picked from commit 99f9941067
)
2 years ago
Marek Roszko
ef06e95798
Add LTCG option for win32
2 years ago
Marek Roszko
9195de9849
Disable the update check on non-apple, non windows systems by default
2 years ago
Marek Roszko
53a90ccb88
Enable macOS builds to run from build directory....
2 years ago
Ian McInerney
d78d4830e4
Always output test failures when they happen
With CMake 3.17+, we can specify arguments for ctest to use when run, so
always specify output-on-failure to always show the failed test output.
2 years ago
Marek Roszko
aa2a0cdd16
We dont actually need to link to openssl
2 years ago
Jon Evans
5dd3631df2
Revert "Add security library include in CMake for MacOS"
This reverts commit 36b0aa6050
.
2 years ago
Seth Hillbrand
36b0aa6050
Add security library include in CMake for MacOS
2 years ago
Seth Hillbrand
d99641be40
ADDED: Git integration support
Adds support for project-based git integration, branch support, commit,
revert and updates
Fixes https://gitlab.com/kicad/code/kicad/issues/10441
2 years ago
Jon Evans
9973dd3e5d
Fix sentry compile issues on macOS
2 years ago
Jon Evans
d371bb06ae
New macOS installation scripts
Replaces BundleUtilities that got broken by recent updates
and is basically unmaintained by cmake.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15376
2 years ago
Alex Shvartzkop
5b77716ed8
Enable KICAD_WAYLAND by default when KICAD_USE_EGL is on.
2 years ago
Alex Shvartzkop
862567b21a
Turn off KICAD_WAYLAND by default.
2 years ago
Alex Shvartzkop
89cb35dc22
Support pointer warping on Wayland.
Configure with KICAD_WAYLAND=1
2 years ago
Alex
6ad19b3f45
Don't require GLX when KICAD_USE_EGL is enabled.
2 years ago
Marek Roszko
7dfac51fe1
Silence cmake warning about lowercase string
2 years ago
Marek Roszko
87513b4a04
Change the sentry dsn to be build time defined
We ultimately don't want people running personal builds to turn on sentry and start sending us crash logs we can't decipher
2 years ago
Marek Roszko
4cb60bac1b
guard out the currently broken wx version check
2 years ago
Seth Hillbrand
f62775de40
Fix missing endif()
2 years ago
Seth Hillbrand
db8e15ce88
Require wxWidgets 3.2
Removes old defines and work arounds for earlier wx versions and adds a
CMake requirement to use at least 3.2 (or the minimum matching wxPython
version)
2 years ago
Mark Roszko
4b6116cb30
Move opencascade min to 7.5.0
2 years ago
Johannes Maibaum
9ae44e3998
Add KICAD_BUILD_{NIGHTLY_,}FLATPAK CMake options
2 years ago
Alex
d5edde799c
Enable support for KICAD_SANITIZE_ADDRESS CMake flag on MSVC.
2 years ago
Marek Roszko
726b137fed
Fix libcontext arm64 build and purge winfiber
The winfiber implementation ran into memory leak issues as it didnt exit the stack jumps correctly
and lets not mislead anyone by keeping it
3 years ago
Seth Hillbrand
5fcc1135a8
Revert "Modernizes search for Cairo, Fontconfig, Freetype, HarfBuzz and Pixman"
This reverts commit 9efd24a69d
.
Breaks MSW builds, so this is a non-starter for now
3 years ago
Seth Hillbrand
2cd854af14
Move Spacemouse to advanced config
The spacemouse driver, particularly on Mac, is extremely unstable and
causes crashes even when not being used. This places the interface
behind an advanced config flag to ensure that users can affirmatively
opt-in to the potential for crashes
3 years ago
Nimish Telang
9efd24a69d
Modernizes search for Cairo, Fontconfig, Freetype, HarfBuzz and Pixman
3 years ago
Marek Roszko
23476683f6
Try and patch site patch detection
Use Steven Falco's suggested fix from fedora, it appears to behave fine on Windows
3 years ago
Nimish Telang
f7bf3011fb
Use bundled Find{CURL,ZLIB}.cmake
3 years ago