Merge pull request #1251 from gradha/pr_misc_docs

Misc docs suggestions
This commit is contained in:
Andreas Rumpf 2014-06-12 16:39:20 +02:00
commit d927eb5854
5 changed files with 102 additions and 9 deletions

View file

@ -87,6 +87,18 @@ Level Description
for compiler developers.
===== ============================================
Compile time symbols
--------------------
Through the ``-d:x`` or ``--define:x`` switch you can define compile time
symbols for conditional compilation. The defined switches can be checked in
source code with the `when statement <manual.html#when-statement>`_ and
`defined proc <system.html#defined>`_. The typical use of this switch is to
enable builds in release mode (``-d:release``) where certain safety checks are
omitted for better performance. Another common use is the ``-d:ssl`` switch to
activate `SSL sockets <sockets.html>`_.
Configuration files
-------------------