Minor copy version information to clipboard improvements.
* Add KiCad build option states to copy version information to clipboard function. * Add a note to the main CMakeList.txt file to let developers know that new option states should be added to the copy version information to clipboard function.
This commit is contained in:
+39
-1
@@ -440,7 +440,45 @@ void EDA_BASE_FRAME::CopyVersionInfoToClipboard( wxCommandEvent& event )
|
||||
<< FROM_UTF8( KICAD_BUILD_OPTIONS_SIGNATURE() ) << wxT( "\n" )
|
||||
<< wxT( "Platform: " ) << wxGetOsDescription() << wxT( ", " )
|
||||
<< info.GetArchName() << wxT( ", " ) << info.GetEndiannessName() << wxT( ", " )
|
||||
<< info.GetPortIdName();
|
||||
<< info.GetPortIdName() << wxT( "\n" );
|
||||
|
||||
tmp << wxT( "Options: " );
|
||||
|
||||
tmp << wxT( "USE_PNG_BITMAPS=" );
|
||||
#ifdef USE_PNG_BITMAPS
|
||||
tmp << wxT( "ON\n" );
|
||||
#else
|
||||
tmp << wxT( "OFF\n" );
|
||||
#endif
|
||||
|
||||
tmp << wxT( " KICAD_GOST=" );
|
||||
#ifdef KICAD_GOST
|
||||
tmp << wxT( "ON\n" );
|
||||
#else
|
||||
tmp << wxT( "OFF\n" );
|
||||
#endif
|
||||
|
||||
tmp << wxT( " USE_WX_GRAPHICS_CONTEXT=" );
|
||||
#ifdef USE_WX_GRAPHICS_CONTEXT
|
||||
tmp << wxT( "ON\n" );
|
||||
#else
|
||||
tmp << wxT( "OFF\n" );
|
||||
#endif
|
||||
|
||||
tmp << wxT( " USE_WX_OVERLAY=" );
|
||||
#ifdef USE_WX_OVERLAY
|
||||
tmp << wxT( "ON\n" );
|
||||
#else
|
||||
tmp << wxT( "OFF\n" );
|
||||
#endif
|
||||
|
||||
tmp << wxT( " USE_BOOST_POLYGON_LIBRARY=" );
|
||||
#ifdef USE_BOOST_POLYGON_LIBRARY
|
||||
tmp << wxT( "ON\n" );
|
||||
#else
|
||||
tmp << wxT( "OFF\n" );
|
||||
#endif
|
||||
|
||||
wxTheClipboard->SetData( new wxTextDataObject( tmp ) );
|
||||
wxTheClipboard->Close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user