Browse Source

fixed build problem for specctra.cpp stand alone.

pull/1/head
charras 16 years ago
parent
commit
84a0e32865
  1. 1
      common/CMakeLists.txt
  2. 22
      common/about_kicad.cpp
  3. 2
      common/common_plotGERBER_functions.cpp
  4. 1
      common/worksheet.cpp
  5. 1
      cvpcb/cvframe.cpp
  6. 2
      cvpcb/cvpcb.cpp
  7. 1
      cvpcb/init.cpp
  8. 2
      cvpcb/savecmp.cpp
  9. 2
      eeschema/backanno.cpp
  10. 2
      eeschema/build_BOM.cpp
  11. 1
      eeschema/eeredraw.cpp
  12. 1
      eeschema/netform.cpp
  13. 2
      gerbview/gerbview.cpp
  14. 6
      include/build_version.h
  15. 1
      include/common.h
  16. 2
      kicad/kicad.cpp
  17. 2
      kicad/prjconfig.cpp
  18. 2
      pcbnew/export_gencad.cpp
  19. 2
      pcbnew/gen_modules_placefile.cpp
  20. 2
      pcbnew/gendrill.cpp
  21. 2
      pcbnew/ioascii.cpp
  22. 8
      pcbnew/pcbnew.cpp

1
common/CMakeLists.txt

@ -12,6 +12,7 @@ set(COMMON_SRCS
basicframe.cpp
bezier_curves.cpp
block_commande.cpp
build_version.cpp
class_marker_base.cpp
class_plotter.cpp
class_undoredo_container.cpp

22
common/about_kicad.cpp

@ -7,29 +7,9 @@
#include "common.h"
#include "appl_wxstruct.h"
#include "build_version.h"
#ifdef HAVE_SVN_VERSION
#include "version.h" // define the KICAD_BUILD_VERSION
#endif
#ifndef KICAD_BUILD_VERSION
#define KICAD_BUILD_VERSION "(2010-01-04)"
#endif
#define VERSION_STABILITY "unstable"
/** Function GetBuildVersion()
* Return the build date and version
*/
wxString GetBuildVersion()
{
wxString msg;
msg.Printf( wxT("%s-%s"),
wxT( KICAD_BUILD_VERSION ), wxT(VERSION_STABILITY));
return msg;
}
/**********************************/
wxString SetMsg( const wxString& msg )
/**********************************/

2
common/common_plotGERBER_functions.cpp

@ -12,6 +12,8 @@
#include "macros.h"
#include "kicad_string.h"
#include "build_version.h"
/** function set_viewport
* Set the plot offset for the current plotting

1
common/worksheet.cpp

@ -14,6 +14,7 @@
#include "appl_wxstruct.h"
#include "worksheet.h"
#include "build_version.h"
/* Must be defined in main applications: */

1
cvpcb/cvframe.cpp

@ -16,6 +16,7 @@
#include "cvstruct.h"
#include "dialog_cvpcb_config.h"
#include "build_version.h"
#define FRAME_MIN_SIZE_X 450
#define FRAME_MIN_SIZE_Y 300

2
cvpcb/cvpcb.cpp

@ -15,6 +15,8 @@
#include "protos.h"
#include "cvstruct.h"
#include "build_version.h"
#include <wx/snglinst.h>

1
cvpcb/init.cpp

@ -13,6 +13,7 @@
#include "protos.h"
#include "cvstruct.h"
#include "build_version.h"
/*
* Set the module to the selected component

2
cvpcb/savecmp.cpp

@ -15,6 +15,8 @@
#include "protos.h"
#include "cvstruct.h"
#include "build_version.h"
/* File header. */
char EnteteCmpMod[] = { "Cmp-Mod V01" };

2
eeschema/backanno.cpp

@ -13,6 +13,8 @@
#include "general.h"
#include "build_version.h"
/** function FillFootprintFieldForAllInstancesofComponent
* Search for component "aReference", and place a Footprint in Footprint field

2
eeschema/build_BOM.cpp

@ -21,6 +21,8 @@
#include "netlist.h"
#include "protos.h"
#include "build_version.h"
#include "dialog_build_BOM.h"

1
eeschema/eeredraw.cpp

@ -14,6 +14,7 @@
#include "protos.h"
#include "class_library.h"
#include "build_version.h"
static EDA_BaseStruct* HighLightStruct = NULL;

1
eeschema/netform.cpp

@ -16,6 +16,7 @@
#include "protos.h"
#include "class_library.h"
#include "build_version.h"
/**
* @bug - Every place in this file where fprintf() is used and the return

2
gerbview/gerbview.cpp

@ -17,6 +17,8 @@
#include "zones.h"
#include "class_board_design_settings.h"
#include "build_version.h"
#include <wx/file.h>
#include <wx/snglinst.h>

6
include/build_version.h

@ -1,11 +1,11 @@
/* Date for kicad build version */
#ifndef KICAD_BUILD_VERSION
#define KICAD_BUILD_VERSION
#ifndef KICAD_BUILD_VERSION_H
#define KICAD_BUILD_VERSION_H
/** Function GetBuildVersion()
* Return the build date and version
*/
wxString GetBuildVersion();
#endif // KICAD_BUILD_VERSION
#endif // KICAD_BUILD_VERSION_H

1
include/common.h

@ -266,7 +266,6 @@ void InitKiCadAbout( wxAboutDialogInfo& info );
/**************/
/* common.cpp */
/**************/
wxString GetBuildVersion(); /* Return the build date */
/**
* function Affiche_1_Parametre

2
kicad/kicad.cpp

@ -26,6 +26,8 @@
#include "kicad.h"
#include "macros.h"
#include "build_version.h"
#ifdef KICAD_PYTHON
#include <pyhandler.h>
using namespace boost::python;

2
kicad/prjconfig.cpp

@ -15,6 +15,8 @@
#include "prjconfig.h"
#include "kicad.h"
#include "build_version.h"
static const wxString GeneralGroupName( wxT( "/general" ) );
/* Kicad project file entry names. */

2
pcbnew/export_gencad.cpp

@ -13,6 +13,8 @@
#include "wxPcbStruct.h"
#include "trigo.h"
#include "build_version.h"
bool CreateHeaderInfoData( FILE* file, WinEDA_PcbFrame* frame );
static void CreateTracksInfoData( FILE* file, BOARD* pcb );
static void CreateBoardSection( FILE* file, BOARD* pcb );

2
pcbnew/gen_modules_placefile.cpp

@ -16,6 +16,8 @@
#include "trigo.h"
#include "appl_wxstruct.h"
#include "build_version.h"
class LIST_MOD /* Can list the elements of useful modules. */
{
public:

2
pcbnew/gendrill.cpp

@ -22,6 +22,8 @@
#include "gendrill.h"
#include "build_version.h"
const wxString DrillFileExtension( wxT( "drl" ) );
const wxString DrillFileWildcard( _( "Drill files (*.drl)|*.drl" ) );

2
pcbnew/ioascii.cpp

@ -21,6 +21,8 @@
#include "cvpcb.h"
#endif
#include "build_version.h"
#include "pcbnew_id.h"
/* ASCII format of structures:

8
pcbnew/pcbnew.cpp

@ -19,13 +19,13 @@
#include "cell.h"
#include "worksheet.h"
#include "zones.h"
#include "protos.h"
#include "drag.h"
#include "eda_dde.h"
#include "build_version.h"
#include "protos.h"
bool Drc_On = true;
bool g_AutoDeleteOldTrack = true;
bool g_No_Via_Route;

Loading…
Cancel
Save