Add new development build swtiches to version info
Add: * KICAD_USE_SCH_IO_MANAGER * KICAD_USE_OCE
This commit is contained in:
parent
049e9909ac
commit
c784d45ed7
|
@ -18,9 +18,9 @@ set( CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeModules )
|
|||
#
|
||||
# KiCad build options should be added below.
|
||||
#
|
||||
# If you add a new build option, please add it's state to the CopyVersionInfoToClipboard()
|
||||
# function in common/basicframe.cpp so that build option settings can be included in bug
|
||||
# reports.
|
||||
# If you add a new build option, please add it's state to the
|
||||
# OnCopyVersionInfo() function in common/dialog_about/dialog_about.cpp
|
||||
# so that build option settings can be included in bug reports.
|
||||
#
|
||||
|
||||
option( USE_WX_GRAPHICS_CONTEXT
|
||||
|
@ -259,6 +259,14 @@ if( KICAD_SPICE )
|
|||
add_definitions( -DKICAD_SPICE )
|
||||
endif()
|
||||
|
||||
if( KICAD_USE_SCH_IO_MANAGER )
|
||||
add_definitions( -DKICAD_USE_SCH_IO_MANAGER )
|
||||
endif()
|
||||
|
||||
if( KICAD_USE_OCE )
|
||||
add_definitions( -DKICAD_USE_OCE )
|
||||
endif()
|
||||
|
||||
if( USE_WX_GRAPHICS_CONTEXT OR APPLE )
|
||||
add_definitions( -DUSE_WX_GRAPHICS_CONTEXT )
|
||||
endif()
|
||||
|
|
|
@ -534,6 +534,20 @@ void dialog_about::OnCopyVersionInfo( wxCommandEvent& event )
|
|||
msg_version << OFF;
|
||||
#endif
|
||||
|
||||
msg_version << " KICAD_USE_SCH_IO_MANAGER=";
|
||||
#ifdef KICAD_USE_SCH_IO_MANAGER
|
||||
msg_version << ON;
|
||||
#else
|
||||
msg_version << OFF;
|
||||
#endif
|
||||
|
||||
msg_version << " KICAD_USE_OCE=";
|
||||
#ifdef KICAD_USE_OCE
|
||||
msg_version << ON;
|
||||
#else
|
||||
msg_version << OFF;
|
||||
#endif
|
||||
|
||||
wxTheClipboard->SetData( new wxTextDataObject( msg_version ) );
|
||||
wxTheClipboard->Close();
|
||||
copyVersionInfo->SetLabel( _( "Copied..." ) );
|
||||
|
|
Loading…
Reference in New Issue