From 630df1812f38aaea3572bfdd9a5e79a049d37bd0 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Fri, 21 Mar 2014 07:20:54 -0500 Subject: [PATCH] Enable GITHUB as default, include typeinfo into kiway_holder.cpp --- CMakeLists.txt | 2 +- common/kiway_holder.cpp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f3f114390..f2d3d8f19d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,7 +82,7 @@ mark_as_advanced( KICAD_SKIP_BOOST ) # Normal builders should build Boost. # when not defined by user, the default is python.exe under Windows and python2 for others # python binary file should be is exec path. -option( BUILD_GITHUB_PLUGIN "Build the GITHUB_PLUGIN for pcbnew." OFF ) +option( BUILD_GITHUB_PLUGIN "Build the GITHUB_PLUGIN for pcbnew." ON ) # This can be set to a custom name to brag about a particular branch in the "About" dialog: set( KICAD_REPO_NAME "product" CACHE STRING "Name of the tree from which this build came." ) diff --git a/common/kiway_holder.cpp b/common/kiway_holder.cpp index 8679254d82..a0a2dcfe76 100644 --- a/common/kiway_holder.cpp +++ b/common/kiway_holder.cpp @@ -2,6 +2,10 @@ #include #include +#if defined(DEBUG) + #include +#endif + PROJECT& KIWAY_HOLDER::Prj() const { @@ -26,4 +30,3 @@ void KIWAY_HOLDER::SetKiway( wxWindow* aDest, KIWAY* aKiway ) m_kiway = aKiway; } -