KiCad PCB EDA Suite
build_version.cpp File Reference
#include <fctsys.h>
#include <kicad_build_version.h>

Go to the source code of this file.

Functions

wxString GetBuildVersion ()
 Function GetBuildVersion Return the build version string. More...
 

Function Documentation

wxString GetBuildVersion ( )

Function GetBuildVersion Return the build version string.

Function GetBuildVersion Return the build date and version.

Definition at line 37 of file build_version.cpp.

References Format().

Referenced by AddGerberX2Header(), WS_DRAW_ITEM_LIST::BuildFullText(), buildKicadAboutBanner(), CreateHeaderInfoData(), PCB_EDIT_FRAME::DoGenFootprintsPositionFile(), PCB_EDIT_FRAME::DoGenFootprintsReport(), PCB_EDIT_FRAME::Export_IDF3(), NETLIST_EXPORTER_GENERIC::makeDesignHeader(), DSN::PARSER::PARSER(), PCB_IO::Save(), GERBER_PLOTTER::StartPlot(), EXCELLON_WRITER::writeEXCELLONHeader(), NETLIST_EXPORTER_CADSTAR::WriteNetlist(), and GBR_TO_PCB_EXPORTER::writePcbHeader().

38 {
39  wxString msg = wxString::Format(
40  wxT( "%s" ),
41  wxT( KICAD_VERSION_FULL )
42  );
43 
44  return msg;
45 }
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, CPTREE &aTree)
Function Format outputs a PTREE into s-expression format via an OUTPUTFORMATTER derivative.
Definition: ptree.cpp:205