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. |
||
---|---|---|
.. | ||
drc | ||
CMakeLists.txt | ||
board_test_utils.cpp | ||
board_test_utils.h | ||
test_array_pad_name_provider.cpp | ||
test_graphics_import_mgr.cpp | ||
test_module.cpp | ||
test_pad_naming.cpp |