Merge branch 'master' of github.com:Araq/Nimrod
This commit is contained in:
commit
a31a5f9c81
4 changed files with 16 additions and 6 deletions
4
examples/cross_calculator/nimrod_commandline/nimrod.cfg
Normal file
4
examples/cross_calculator/nimrod_commandline/nimrod.cfg
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
# Nimrod configuration file.
|
||||||
|
# The file is used only to add the path of the backend to the compiler options.
|
||||||
|
|
||||||
|
path="../nimrod_backend"
|
||||||
|
|
@ -4,6 +4,7 @@ cross-calculator sample.
|
||||||
The commandline interface can be used non interactively through switches, or
|
The commandline interface can be used non interactively through switches, or
|
||||||
interactively when running the command without parameters.
|
interactively when running the command without parameters.
|
||||||
|
|
||||||
Compilation is fairly easy, just include the path to the backend in your
|
Compilation is fairly easy despite having the source split in different
|
||||||
compilation command. A basic build.sh is provided for unix like platforms with
|
directories. Thanks to the nimrod.cfg file, which adds the ../nimrod_backend
|
||||||
the correct parameters.
|
directory as a search path, you can compile and run the example just fine from
|
||||||
|
the command line with 'nimrod c -r nimcalculator.nim'.
|
||||||
|
|
|
||||||
4
examples/cross_todo/nimrod_commandline/nimrod.cfg
Normal file
4
examples/cross_todo/nimrod_commandline/nimrod.cfg
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
# Nimrod configuration file.
|
||||||
|
# The file is used only to add the path of the backend to the compiler options.
|
||||||
|
|
||||||
|
path="../nimrod_backend"
|
||||||
|
|
@ -13,6 +13,7 @@ in your user's data directory. To cope with an empty database, a special
|
||||||
generation switch can be used to fill the database with some basic todo entries
|
generation switch can be used to fill the database with some basic todo entries
|
||||||
you can play with.
|
you can play with.
|
||||||
|
|
||||||
Compilation of the interface is fairly easy, just include the path to the
|
Compilation is fairly easy despite having the source split in different
|
||||||
backend in your compilation command. A basic build.sh is provided for unix like
|
directories. Thanks to the nimrod.cfg file, which adds the ../nimrod_backend
|
||||||
platforms with the correct parameters.
|
directory as a search path, you can compile and run the example just fine from
|
||||||
|
the command line with 'nimrod c -r nimtodo.nim'.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue