bb2ae8e13b
The bitmap definitions (BITMAP_DEF and so on) do not have any dependencies on other libs, including WX. This means the bitmaps library can be isolated from the other dependencies. Common now depends on bitmaps, and libraries that depend on common can pick it up from the common target_link_libraries, as it is PUBLIC. This means a lot of targets no longer need manual bitmap linkage. This avoids a circular dependency that was previously reported by static analysis. Avoiding pulling in WX and other headers into the include tree of each bitmap .cpp is a huge speed up (around 10x) in compilation, and the generated static library is also 10x smaller (20MB vs 200MB) Add common as a link library to pnsrouter,connectivity. THese library do still use common code (including bitmaps, via base_screen.h) and this allows them to pick up the libcommon includes correctly. |
||
---|---|---|
.. | ||
common | ||
common_tools | ||
data | ||
eeschema | ||
pcb_test_window | ||
pcbnew | ||
pcbnew_tools | ||
pcbnew_utils | ||
qa_utils | ||
testcases | ||
unit_test_utils | ||
CMakeLists.txt | ||
test.py |