kicad/cmake
Adam Wolf 98775afcba Support Apple Silicon on macOS
As part of supporting Apple Silicon, we've got to upgrade our embedded
Python to a version that comes with an Apple Silicon build. Python 3.9
suffices. This means we ignore python3.9 while fixing up bundles.

Apple requires all code to be signed on Apple Silicon. We've added signing
to the build. This has to be run after anything that adds to or modifies
the installed files. As of Cmake 3.14 (CMP0082), the install rules are run
in the order declared, so we are able to do this just by adding the
signing subdirectory last in the main CMakeLists.txt. By default, the
build will be signed "ad hoc", which does not require a developer to
create keys or get keys from Apple. We added some CMake variables to
control signing, KICAD_OSX_CODESIGN and KICAD_OSX_SIGNING_*.

In order to better support development, we've added some necessary cleanup
steps to KiCad that were performed externally in the release and nightly
build process, like removing any .pyc files and extra Python symlinks
erroneously introduced by fixup_bundle. We also adjusted "refix_rpaths" to
be more accurate. We should not need "wrangle_bundle" when building and
installing a local development copy of KiCad.
2022-12-09 23:48:31 +00:00
..
BuildSteps Revert "Simplify the generated lexers to the use of a templated class" 2022-08-21 18:45:09 -04:00
BundleUtilities.cmake vsrious cleanup, seeing if we dont need to ignore_item for python 2022-12-09 23:48:31 +00:00
CMakeFindFrameworks.cmake
CheckFindPackageResult.cmake
CreateGitVersionHeader.cmake Check the process exit code rather than output variable for git header creation 2022-10-29 14:21:07 -04:00
FindCairo.cmake
FindFontconfig.cmake
FindGLEW.cmake
FindGLM.cmake
FindHarfBuzz.cmake
FindOCC.cmake
FindPackageMessage.cmake
FindPixman.cmake
FindPythonInterp.cmake
FindPythonLibs.cmake
FindSWIG.cmake
FindZLIB.cmake.unused
Findngspice.cmake Copy ngspice codemodels for MSVC 2022-08-08 21:57:44 -04:00
FindwxPython.cmake
FindwxWidgets.cmake
Functions.cmake Suppress MSVC warning due to lemon 2022-08-18 20:48:48 -04:00
GetPrerequisites.cmake
KiCadFullVersion.cmake
KiCadQABuildUtils.cmake ADDED: Database libraries MVP 2022-08-26 10:51:13 -04:00
KiCadVersion.cmake
MinGWResourceCompiler.cmake
PerformFeatureChecks.cmake
RefixupMacOS.cmake Support Apple Silicon on macOS 2022-12-09 23:48:31 +00:00
SelectLibraryConfigurations.cmake
SignMacOS.cmake Support Apple Silicon on macOS 2022-12-09 23:48:31 +00:00
UsewxWidgets.cmake
Warnings.cmake Disable inconsistent missing override warnings in qa mocks 2022-09-24 02:11:41 +01:00
WritePlatformMetadata_macos.cmake
cmake_uninstall.cmake.in
config.h.cmake Disable inconsistent missing override warnings in qa mocks 2022-09-24 02:11:41 +01:00