Update documentation: Add compilation page, fix additional mistake in cell-geometrics.h

This commit is contained in:
Mario Hüttel 2019-03-26 21:00:05 +01:00
parent e8c7f78af4
commit 4bed016f01
4 changed files with 68 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# GDS-Render # GDS-Render Readme
This software is a rendering programm for GDS2 layout files. This software is a rendering programm for GDS2 layout files.
The GDS2 format is mainly used in integrated circuit development. The GDS2 format is mainly used in integrated circuit development.

60
doxygen/compilation.dox Normal file
View File

@ -0,0 +1,60 @@
/**
@page compilation Compilation
@section Preface
GDS-Render is designed for UNIX-like, especially GNU/Linux based systems.
It was developed under a Linux system. Therefore, best performance is expected using a Linux operating system.
@section depencencies Dependencies
The dependencies of GDS-Render are:
@subsection run-deps Program Dependencies
- GLib2
- GTK3
- Cairographics
@subsection comp-deps Compilation Dependencies
These dependencies are not needed for running the program; just for compilation.
- Build System (GCC + binutils, make, etc...). Most distributions supply a "development" meta-package containing this stuff.
- cmake >= 2.8
- More or less optional: git. Used for extraction of the precise version number. It is strongly recommended to provide git!
- Optional: doxygen for this nice documentation.
The dependency list of GTK3 already includes Cairographics and GLib2. You should be on the safe side with a recent GTK3 version.
Development is done with the following library versions:
| Cairographics | GLib2 | GTK3 |
| ------------- | ---------- | ------ |
| 1.16.0-2 | 2.60.0-1 | 3.24.7 |
@section comp-instr Compilation Instructions
@subsection linux-build General Linux Build Instruction
Go to the build directory you want to compile in. This may be the gds-render project root.
Execute
@code
cmake <Path to gds-render root>
@endcode
Cmake will check the dependencies. Once cmake has finished. Type
@code
make
@endcode
in order to build the program and
@code
make documentation
@endcode
to build the doxygen documentation.
@subsection arch-makepkg Archlinux Package
The subfolder 'AUR' contains a PKGBUILD file to build an Archlinux/Pacman package.
*/

View File

@ -6,7 +6,7 @@ This programm converts GDS layout files to
- PDF Files using the @ref Cairo-Renderer - PDF Files using the @ref Cairo-Renderer
- Latex code (TikZ) using the @ref LaTeX-Renderer - Latex code (TikZ) using the @ref LaTeX-Renderer
See the @subpage usage page for details See the @subpage usage page for details and @subpage compilation for building instructions.

View File

@ -18,8 +18,8 @@
*/ */
/** /**
* @file cell-trigonometrics.h * @file cell-geometrics.h
* @brief Calculation of gds_cell trigonometrics * @brief Calculation of gds_cell geometrics
* @author Mario Hüttel <mario.huettel@gmx.net> * @author Mario Hüttel <mario.huettel@gmx.net>
*/ */
@ -28,8 +28,8 @@
* @{ * @{
*/ */
#ifndef _CELL_TRIGONOMETRICS_H_ #ifndef _CELL_GEOMETRICS_H_
#define _CELL_TRIGONOMETRICS_H_ #define _CELL_GEOMETRICS_H_
#include <gds-render/geometric/bounding-box.h> #include <gds-render/geometric/bounding-box.h>
#include <gds-render/gds-utils/gds-types.h> #include <gds-render/gds-utils/gds-types.h>
@ -37,11 +37,11 @@
/** /**
* @brief calculate_cell_bounding_box Calculate bounding box of gds cell * @brief calculate_cell_bounding_box Calculate bounding box of gds cell
* @param box Resulting boundig box. Will be uüdated and not overwritten * @param box Resulting boundig box. Will be uüdated and not overwritten
* @param cell toplevel cell * @param cell Toplevel cell
* @warning Path handling not yet implemented correctly. * @warning Path handling not yet implemented correctly.
*/ */
void calculate_cell_bounding_box(union bounding_box *box, struct gds_cell *cell); void calculate_cell_bounding_box(union bounding_box *box, struct gds_cell *cell);
#endif /* _CELL_TRIGONOMETRICS_H_ */ #endif /* _CELL_GEOMETRICS_H_ */
/** @} */ /** @} */