kicad/qa
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
..
common Move hotkeys to ACTION architecture. 2019-06-10 23:46:00 +01:00
common_tools Remove SCOPED_TIMER, use PROF_COUNTER 2019-06-12 14:16:47 +01:00
data QA: Move contents qa_shape_poly_set_refactor to qa_common 2019-01-29 08:15:44 -05:00
eeschema Fix build order for generated headers and sources 2019-07-03 09:36:40 -04:00
gal/gal_pixel_alignment Implement I18N for ACTIONs. 2019-06-17 10:45:23 +01:00
libs Reinstate "QA: Tweak boost print helper macro"" 2019-05-24 13:23:51 +01:00
pcb_test_window Move hotkeys to ACTION architecture. 2019-06-10 23:46:00 +01:00
pcbnew Allow move tool to run on top of other tools. 2019-07-01 22:15:25 +01:00
pcbnew_tools Enforce build order with qa system 2019-06-23 12:52:20 -07:00
pcbnew_utils pcbnew: Remove the last dlist from modules/pcbnew 2019-06-01 20:55:32 -07:00
qa_utils Implement I18N for ACTIONs. 2019-06-17 10:45:23 +01:00
testcases pcbnew: Move tracks to std::deque 2019-06-01 09:53:23 -07:00
unit_test_utils Reinstate "QA: Tweak boost print helper macro"" 2019-05-24 13:23:51 +01:00
utils/kicad2step Reinstate "QA: Tweak boost print helper macro"" 2019-05-24 13:23:51 +01:00
CMakeLists.txt QA: Add build-time option to enable XML output from tests 2019-04-18 10:59:06 +01:00
test.py QA: Add build-time option to enable XML output from tests 2019-04-18 10:59:06 +01:00