Commit 84a0e328 authored by charras's avatar charras

fixed build problem for specctra.cpp stand alone.

parent 1b6ad8c7
......@@ -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
......
......@@ -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 )
/**********************************/
......
......@@ -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
......
......@@ -14,6 +14,7 @@
#include "appl_wxstruct.h"
#include "worksheet.h"
#include "build_version.h"
/* Must be defined in main applications: */
......
......@@ -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
......
......@@ -15,6 +15,8 @@
#include "protos.h"
#include "cvstruct.h"
#include "build_version.h"
#include <wx/snglinst.h>
......
......@@ -13,6 +13,7 @@
#include "protos.h"
#include "cvstruct.h"
#include "build_version.h"
/*
* Set the module to the selected component
......
......@@ -15,6 +15,8 @@
#include "protos.h"
#include "cvstruct.h"
#include "build_version.h"
/* File header. */
char EnteteCmpMod[] = { "Cmp-Mod V01" };
......
......@@ -13,6 +13,8 @@
#include "general.h"
#include "build_version.h"
/** function FillFootprintFieldForAllInstancesofComponent
* Search for component "aReference", and place a Footprint in Footprint field
......
......@@ -21,6 +21,8 @@
#include "netlist.h"
#include "protos.h"
#include "build_version.h"
#include "dialog_build_BOM.h"
......
......@@ -14,6 +14,7 @@
#include "protos.h"
#include "class_library.h"
#include "build_version.h"
static EDA_BaseStruct* HighLightStruct = NULL;
......
......@@ -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
......
......@@ -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>
......
/* 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
......@@ -266,7 +266,6 @@ void InitKiCadAbout( wxAboutDialogInfo& info );
/**************/
/* common.cpp */
/**************/
wxString GetBuildVersion(); /* Return the build date */
/**
* function Affiche_1_Parametre
......
......@@ -26,6 +26,8 @@
#include "kicad.h"
#include "macros.h"
#include "build_version.h"
#ifdef KICAD_PYTHON
#include <pyhandler.h>
using namespace boost::python;
......
......@@ -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. */
......
......@@ -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 );
......
......@@ -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:
......
......@@ -22,6 +22,8 @@
#include "gendrill.h"
#include "build_version.h"
const wxString DrillFileExtension( wxT( "drl" ) );
const wxString DrillFileWildcard( _( "Drill files (*.drl)|*.drl" ) );
......
......@@ -21,6 +21,8 @@
#include "cvpcb.h"
#endif
#include "build_version.h"
#include "pcbnew_id.h"
/* ASCII format of structures:
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment