kicad/pcb_calculator
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
..
attenuators Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
bitmaps pcb_calculator: New tab for via calculations 2019-04-30 11:49:46 -07:00
dialogs pcb_calculator: Minor fixes in strings and tool tips 2019-05-03 10:44:29 +02:00
docs Delete unused documentation 2016-02-12 15:48:24 -05:00
transline pcb_calculator: code rework: rename "tand" member to "m_tand" and m_name to m_Name 2018-08-24 10:26:05 +02:00
CMakeLists.txt Fix build order for generated headers and sources 2019-07-03 09:36:40 -04:00
Info.plist.in Set KiCad version in MacOS apps 2019-06-12 04:40:03 -07:00
UnitSelector.cpp pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
UnitSelector.h pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
attenuators.cpp kicad_curl.cpp: fix a compil warning on Windows (regression) 2016-01-16 15:27:42 +01:00
board_classes_values.cpp pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
class_regulator_data.h Break out ref-des-centric functions to own header 2019-01-30 15:41:36 -08:00
colorcode.cpp pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
common_data.cpp pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
common_data.h pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
datafile_read_write.cpp pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
datafile_read_write.h pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
electrical_spacing_values.cpp Autosize row label column in wxGrid in pcb_calculator and design rules dialog. 2015-11-29 15:19:22 +01:00
params_read_write.cpp pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
pcb_calculator.cpp pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
pcb_calculator.h pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
pcb_calculator.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
pcb_calculator.rc Remove old xpm icons files 2012-04-07 13:09:57 +02:00
pcb_calculator_datafile.keywords pcb_calculator: enhancement in Regulators page dialog: 2012-04-02 20:11:00 +02:00
pcb_calculator_frame.cpp Partial fix for missing language selection menu. 2019-06-16 20:35:57 +02:00
regulators_funct.cpp pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
tracks_width_versus_current.cpp pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
transline_dlg_funct.cpp pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
transline_ident.cpp pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
transline_ident.h pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
units_scales.h pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00
via.cpp pcb_calculator: code cleanup. Remove a few duplicate code. 2019-05-02 08:54:16 +02:00