29#include <wx/cmdline.h>
38int main(
int argc,
char** argv )
40 wxInitialize( argc, argv );
42 Pgm().InitPgm(
true );
49 printf(
"usage: %s <project-file/board-file> [drc-rules-file]\n", argv[0] );
Provide class metadata.Helper macro to map type hashes to names.
static PROPERTY_MANAGER & Instance()
void Rebuild()
Rebuild the list of all registered properties.
PROJECT_CONTEXT loadKicadProject(const wxString &filename, std::optional< wxString > rulesFilePath)
int runDRCProto(PROJECT_CONTEXT project, std::shared_ptr< KIGFX::VIEW_OVERLAY > aDebugOverlay)
KIWAY Kiway & Pgm(), KFCTL_STANDALONE
The global Program "get" accessor.