Commit 91c3f3bc authored by jean-pierre charras's avatar jean-pierre charras
Browse files

All: use a S expression to describe the page layout (title block and grid...

All: use a S expression to describe the page layout (title block and grid references). Work in progress.
This should  allow users to define their own page layout.
parent 3bddb98d
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -3,9 +3,11 @@ downloads-by-cmake
common/netlist_keywords.*
common/netlist_keywords.*
common/netlist_lexer.h
common/netlist_lexer.h
common/pcb_plot_params_lexer.h
common/pcb_plot_params_lexer.h
common/page_layout_reader_keywords.cpp
common/fp_lib_table_keywords.*
common/fp_lib_table_keywords.*
include/fp_lib_table_lexer.h
include/fp_lib_table_lexer.h
include/netlist_lexer.h
include/netlist_lexer.h
include/page_layout_reader_lexer.h
eeschema/cmp_library_lexer.h
eeschema/cmp_library_lexer.h
eeschema/cmp_library_keywords.*
eeschema/cmp_library_keywords.*
eeschema/template_fieldnames_keywords.*
eeschema/template_fieldnames_keywords.*
+12 −6
Original line number Original line Diff line number Diff line
@@ -28,16 +28,22 @@ development libaries.
After a fresh install you need the following packages to compile and run
After a fresh install you need the following packages to compile and run
KiCad from source.
KiCad from source.


CMake   - Cross-platform make
* bzr     - Bazaar version control system
GLUT    - The OpenGL Utility Library
* CMake   - Cross-platform make
wxGTK or wxWidgets  - The wxWidgets GUI toolkit with GTK+ bindings
* GLUT    - The OpenGL Utility Library
* wxGTK or wxWidgets  - The wxWidgets GUI toolkit with GTK+ bindings


Boost   - Collection of portable C++ source libraries
* Boost   - Collection of portable C++ source libraries
Because boost is in the repository of kicad you don't need to install them.
boost will be automagically downloaded and copied in kicad sources tree,
the first time you compile kicad.


Useful, but not required:
Useful, but not required:
Doxygen - Documentation system for several programming languages
* Doxygen - Documentation system for several programming languages


KiCad uses the Bazaar version control system to track source code changes,
and download the boost libraries needed by Kicad.
Be sure you bzr install also includes bzrtools.
boost libraries will be downloaded the first time you build Kicad.


Compiler and basic development tools
Compiler and basic development tools
-------------
-------------
+14 −0
Original line number Original line Diff line number Diff line
Bazaar
------
KiCad uses the Bazaar version control system to track source code changes,
and download the boost libraries needed by Kicad.
The easiest way to get a copy of the KiCad source is to use Bazaar.
Bazaar can be download from http://wiki.bazaar.canonical.com.
Your best bet is to use the stand alone version of Bazaar
(which includes bzrtools, needed by Kicad) rather than one of
the Python specific versions.
Be sure bzrtools is also installed.
boost libraries will be downloaded the first time you build Kicad.

CMake
-----
KiCad uses CMake to generate the build files specific for the target platform
KiCad uses CMake to generate the build files specific for the target platform
specified by the developer.  This document attempts to define some of the more
specified by the developer.  This document attempts to define some of the more
common CMake and KiCad build configuration settings.  You can use CMake either
common CMake and KiCad build configuration settings.  You can use CMake either
+9 −13
Original line number Original line Diff line number Diff line
@@ -26,10 +26,12 @@ languages. Only C is installed by default and C++ is required to build KiCad.


Bazaar
Bazaar
------
------
KiCad uses the Bazaar version control system to track source code changes.
KiCad uses the Bazaar version control system to track source code changes,
and download the boost libraries needed by Kicad.
The easiest way to get a copy of the KiCad source is to use Bazaar.  Bazaar
The easiest way to get a copy of the KiCad source is to use Bazaar.  Bazaar
can be download from http://http://wiki.bazaar.canonical.com/WindowsDownloads.
can be download from http://wiki.bazaar.canonical.com/WindowsDownloads.
Your best bet is to use the stand alone version of Bazaar rather than one of
Your best bet is to use the stand alone version of Bazaar
(which includes bzrtools, needed Kicad) rather than one of
the Python specific versions.
the Python specific versions.


CMake
CMake
@@ -87,7 +89,7 @@ MinGW linker.
Build and Install the wxWidgets Library
Build and Install the wxWidgets Library
---------------------------------------
---------------------------------------
The wxWidgets library is the base that KiCad is built upon.  Version 2.9.4
The wxWidgets library is the base that KiCad is built upon.  Version 2.9.4
or later of wxWidgets should be used on Windows.  You may be able to build
or later of wxWidgets *should be* used on Windows.  You may be able to build
KiCad with older versions of wxWidgets but it is not recommended.  wxWidgets
KiCad with older versions of wxWidgets but it is not recommended.  wxWidgets
can be downloaded from http://http://www.wxwidgets.org/downloads/
can be downloaded from http://http://www.wxwidgets.org/downloads/


@@ -107,16 +109,10 @@ install the wxWidgets library into MinGW then enter the following commands:
If you want to install wxWidgets in MinGW then enter the following commands:
If you want to install wxWidgets in MinGW then enter the following commands:
#mkdir Release
#mkdir Release
#cd Release
#cd Release
#../configure --prefix=/mingw --with-opengl
#../configure --prefix=/mingw --enable-monolithic=no --disable-shared --with-opengl
#make && make install
#make && make install
#move /mingw/lib/wxmsw*.dll /mingw/bin


The last command is critical so that the libraries are in the MinGW PATH
wxWidgets will be statically linked to Kicad, which avoid issus with wxWidgets dlls
and can be found at run time.  If you want to build a full debugging version
of wxWidgets, add --enable-debug to the configure command.  If you are going
to use the GNU debugger, you may also want to build the debugging libraries
with the extra GDB debugging information by adding --enable-debug_gdb to the
configure command.


Download the KiCad Source Code
Download the KiCad Source Code
------------------------------
------------------------------
@@ -229,5 +225,5 @@ To build the HTML developer documentation, run the following commands:
#cd <kicadSource>/build/debug
#cd <kicadSource>/build/debug
#make doxygen-docs
#make doxygen-docs


The documentation will be created in the <kicadSouce>/Documenation/html
The documentation will be created in the <kicadSouce>/Documentation/html
directory.
directory.
+4 −3
Original line number Original line Diff line number Diff line
@@ -9,6 +9,7 @@ Snow Leopard


Requirements
Requirements
  * XCode Tools    (http://developer.apple.com/tools/xcode)
  * XCode Tools    (http://developer.apple.com/tools/xcode)
  * bzr (bazaar)
  * CMake          (http://www.cmake.org)
  * CMake          (http://www.cmake.org)
  * wxWidgets 2.9  (http://www.wxwidgets.org/downloads)
  * wxWidgets 2.9  (http://www.wxwidgets.org/downloads)
  * Doxygen        (http://www.doxygen.nl)
  * Doxygen        (http://www.doxygen.nl)
Loading