kicad patches
Go to file
Simon Richter c8c3e1f96a Fix build order for generated headers and sources
This changes make_lexer() so that it no longer generates a custom target
but instead attaches the generated files to an existing one (so the first
argument now is the name of an existing library or executable, and it needs
to come after the add_library/add_executable call).

The generated source is no longer listed in the project sources, as it is
added by the function. The files are generated in the build tree rather
than the source tree, and the directory is added to the include path for
the respective project as well as exported to projects linking against it.

Generated files in subdirectories are somewhat supported, but need to be
referenced with the same name as they were generated (i.e. including the
subdirectory name).

Fixes: lp:1831643
* https://bugs.launchpad.net/kicad/+bug/1831643

Fixes: lp:1832357
* https://bugs.launchpad.net/kicad/+bug/1832357

Fixes: lp:1833851
* https://bugs.launchpad.net/kicad/+bug/1833851
2019-07-03 09:36:40 -04:00
.githooks Formatting: prefer a Git config variable to env var 2019-03-29 15:06:48 +00:00
3d-viewer Add env-var setting to CommonSettingsChanged(). 2019-06-25 11:34:28 +01:00
CMakeModules Fix build order for generated headers and sources 2019-07-03 09:36:40 -04:00
Documentation Cleanup cmake python dependency handling to catch errors 2019-06-27 13:31:20 -04:00
bitmap2component Normalize line endings 2019-06-19 15:18:30 -07:00
bitmaps_png Remove a duplicate icon. 2019-05-23 16:21:06 +02:00
common Fix build order for generated headers and sources 2019-07-03 09:36:40 -04:00
cvpcb Allow move tool to run on top of other tools. 2019-07-01 22:15:25 +01:00
demos Update demos to use recent footprints. 2019-04-07 17:07:57 +02:00
dxflib_qcad dxf and svg import: accept unicode filenames 2018-12-07 10:07:43 +01:00
eeschema Fix build order for generated headers and sources 2019-07-03 09:36:40 -04:00
gerbview Allow move tool to run on top of other tools. 2019-07-01 22:15:25 +01:00
helpers Format: add some formatting aliases, improve dev docs 2019-05-23 21:28:42 +01:00
include Allow move tool to run on top of other tools. 2019-07-01 22:15:25 +01:00
kicad Add tooltips for Kicad Manager launch bar. 2019-07-02 22:26:34 +01:00
libs Sexpr: Do not leak memory on parse exception 2019-05-23 13:52:39 +01:00
new Fix build order for generated headers and sources 2019-07-03 09:36:40 -04:00
pagelayout_editor Cleanup. 2019-07-02 21:36:42 +01:00
patches Remove macos patches. 2018-01-31 10:18:41 -05:00
pcb_calculator Fix build order for generated headers and sources 2019-07-03 09:36:40 -04:00
pcbnew Fix build order for generated headers and sources 2019-07-03 09:36:40 -04:00
plugins 3d: Fix double-clear in oce loadmodel 2018-10-09 05:37:48 -07:00
polygon Clear some compile warnings 2019-06-13 15:16:54 -07:00
potrace Update potrace to version 1.15 (that fixes some bugs) 2017-11-27 12:54:18 +01:00
qa Fix build order for generated headers and sources 2019-07-03 09:36:40 -04:00
resources/linux Revert "appdata.xml: Remove additional license metadata" 2019-03-31 14:33:59 -04:00
scripting pcbnew: Fix reload of python plugins in python 3 2019-05-28 17:14:34 -07:00
scripts Cleanup build script locations 2019-02-14 14:44:55 -08:00
template Implement a copper-to-edge-clearance setting. 2019-04-05 22:18:44 +01:00
tools Format: add some formatting aliases, improve dev docs 2019-05-23 21:28:42 +01:00
utils pcbnew: Fix export of edge.cuts layer to STEP format 2019-05-29 19:42:46 -07:00
.gitattributes Formatting: exclude generated files from git formatting hook 2019-03-29 15:06:48 +00:00
.gitignore Set KiCad version in MacOS apps 2019-06-12 04:40:03 -07:00
AUTHORS.txt Added Italian translator 2019-02-26 08:54:47 +01:00
CMakeLists.txt Cleanup cmake python dependency handling to catch errors 2019-06-27 13:31:20 -04:00
CTestConfig.cmake See CHANGELOG.txt 2010-02-14 14:59:43 +00:00
Doxyfile Doxyfiles: Remove local debug lines 2019-02-13 17:22:07 -08:00
INSTALL.txt Docs: Fix doxygen links 2019-01-02 09:53:29 -05:00
LICENSE.AGPLv3 Update license to AGPL due to TTL license. 2018-10-22 12:28:48 -04:00
LICENSE.BOOSTv1_0 Cleanup licensing 2019-02-11 08:35:23 -08:00
LICENSE.CC-BY-SA-4.0 Adding license text for CC-BY-SA-4.0 for completeness 2019-03-27 14:47:35 -04:00
LICENSE.GPLv3 Update license to AGPL due to TTL license. 2018-10-22 12:28:48 -04:00
LICENSE.ISC Cleanup licensing 2019-02-11 08:35:23 -08:00
LICENSE.MIT Adding MIT license 2019-06-09 08:43:43 -07:00
LICENSE.README Adding MIT license 2019-06-09 08:43:43 -07:00
README.txt Cleanup build script locations 2019-02-14 14:44:55 -08:00
TODO.txt Modular KiCad Blueprint Milestone B), major portions: 2014-08-13 15:28:54 -05:00
_clang-format Format: Default to switch cases on separate lines by default 2019-05-07 09:49:05 +01:00
copyright.h pl_editor rework: add a design inspector (similar to what was existing previously, but as a dialog) 2019-06-14 20:48:50 +02:00
uncrustify.cfg Fix case statement indentation setting for uncrustify. 2015-01-08 09:02:27 -05:00

README.txt

KiCad README
============
For specific documentation like Compiling, GUI translation, old
changelogs see the Documentation subfolder.

Files
-----
AUTHORS.txt       - The authors, contributors, document writers and translators list
CMakeList.txt     - Main CMAKE build tool script
copyright.h       - A very short copy of the GNU General Public License to be included in new source files
CTestConfig.cmake - Support for CTest and CDash testing tools
Doxyfile          - Doxygen config file for KiCad
INSTALL.txt       - The release (binary) installation instructions
TODO.txt          - Todo list (looks outdated)
uncrustify.cfg    - Uncrustify config file for uncrustify sources formatting tool
_clang-format     - clang config file for clang-format sources formatting tool

Subdirectories
--------------
3d-viewer         - Sourcecode of the 3D viewer
bitmap2component  - Sourcecode of the bitmap to pcb artwork converter
bitmaps_png       - Menu and program icons
CMakeModules      - Modules for the CMAKE build tool
common            - Sourcecode of the common library
cvpcb             - Sourcecode of the CvPCB tool
demos             - Some demo examples
Documentation     - Developer documentation. Old changelogs etcetera.
eeschema          - Sourcecode of the schematic editor
gerbview          - Sourcecode of the gerber viewer
helpers           - Helper tools and utilities for development
include           - Interfaces to the common library
kicad             - Sourcecode of the project manager
lib_dxf           - Sourcecode of the dxf reader/writer library
new               - Staging area for the new schematic library format
pagelayout_editor - Sourcecode of the pagelayout editor
patches           - Collection of patches for external dependencies
pcbnew            - Sourcecode of the printed circuit board editor
plugins           - Sourcecode of the new plugin concept
polygon           - Sourcecode of the polygon library
potrace           - Sourcecode of the potrace library, used in bitmap2component
qa                - Testcases using the python interface
resources         - Resources for freedesktop mime-types for linux
scripting         - SWIG Python scripting definitions and build scripts
scripts           - Example scripts for distribution with KiCad
template          - Project and pagelayout templates
tools             - Other miscellaneous helpers for testing
utils             - Small utils for kicad, e.g. IDF tools