smanders / externpro

build external projects with cmake
MIT License
13 stars 12 forks source link

wxx projects should iwyu (include what you use) #332

Closed smanders closed 2 years ago

smanders commented 2 years ago

for example, it was reported that if you

#include <wx/things/toggle.h>

you also need to

#include <wx/bitmap.h>
#include <wx/control.h>

creating a dummy.cpp file and including each header of the wxx projects (wxPlotCtrl, wxThings, wxTLC) should be able to compile on it's own, without any additional includes

smanders commented 2 years ago

completed with commit to dev branch referenced above