#include <string>
#include <common.h>
#include <profile.h>
#include <wx/cmdline.h>
#include <wx/init.h>
#include <property_mgr.h>
#include <pgm_base.h>
#include "drc_proto.h"
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 38 of file drc_proto_test.cpp.
40 wxInitialize( argc, argv );
42 Pgm().InitPgm(
true );
49 printf(
"usage: %s <project-file/board-file> [drc-rules-file]\n", argv[0] );
void Rebuild()
Rebuild the list of all registered properties.
static PROPERTY_MANAGER & Instance()
KIWAY Kiway & Pgm(), KFCTL_STANDALONE
The global Program "get" accessor.
PROJECT_CONTEXT loadKicadProject(const wxString &filename, OPT< wxString > rulesFilePath)
int runDRCProto(PROJECT_CONTEXT project, std::shared_ptr< KIGFX::VIEW_OVERLAY > aDebugOverlay)
Provide class metadata.Helper macro to map type hashes to names.
References PROPERTY_MANAGER::Instance(), loadKicadProject(), Pgm(), project, PROPERTY_MANAGER::Rebuild(), and runDRCProto().