File: README.rst

package info (click to toggle)
ecbuild 3.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,088 kB
  • sloc: sh: 683; perl: 593; cpp: 399; python: 383; f90: 317; ansic: 163; fortran: 43; makefile: 10
file content (38 lines) | stat: -rw-r--r-- 922 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
============================
ecbuild - ECMWF build system
============================

ecBuild is built on top of CMake and consists of a set of macros as well as a
wrapper around CMake. Calling::

   ecbuild $SRC_DIR

is equivalent to::

   cmake -DCMAKE_MODULE_PATH=$ECBUILD_DIR/cmake $SRC_DIR

Quick start
===========

ecBuild does not need to be built and installed. If you want to install it,
please refer to the ``INSTALL.rst`` file.

1. Retrieve the source code::

   git clone https://github.com/ecmwf/ecbuild

2. Add ``ecbuild`` to your ``PATH``::

   export PATH=$PWD/ecbuild/bin:$PATH

Sample projects
===============

The ``examples/`` directory contains some sample projects. To build them, you
can use the following commands::

   cd examples/simple
   mkdir build # out-of-source build directory, can be anywhere
   cd build
   ecbuild .. # see `ecbuild --help`, you may pass CMake options as well
   make