DOKK / manpages / debian 12 / siconos / siconos.1.en
SICONOS(1) General Commands Manual SICONOS(1)

siconos - Siconos C++ Compilation.

siconos [ -a ] [ --build-dir DIRECTORY ] [ --clean-build ] [ -c | --clean ] [ -D KEY [=VALUE] ] [ -g ] [ -h | --help ] [ -j JOBS ] [ -L DIRECTORY ] [ -l LIBRARY ] [ --noexec ] [ --nocomp ] [ --opt C++ COMPILER OPTION ] [ --ldopt LINKER OPTION ] [ -P PREFIX COMMAND ] [ --plugin-dir PLUGIN DIRECTORY ] [ --plugins-dir PLUGINS DIRECTORY ] [ --src-dir SOURCES DIRECTORY ] [ -v ] [ --generator Generator Name ] [ sample[.cpp|.py] ] [ arguments ]

The siconos(1) command compiles, links and runs a Siconos C++ input file. It compiles also C plugins and runs a python script.

Siconos is a free (Apache license) software, dedicated to modeling, simulation and control of Non Smooth Dynamical Systems.

The following command-line options are recognized by siconos(1).


Find and compile all sources files in sample[.cpp|.py]
directory.
DIRECTORY
Compile inside specified directory. If /tmp, temp directories are created.

Clean build directory.
| --clean
Clean the current directory (deletes binary files, etc.).
KEY [=VALUE]
Define a 'cmake' and a 'cpp' variable.

Compile with debug information.
| --help
Print help.
JOBS NUMBER
Do parallel compilation with JOBS NUMBER jobs
DIRECTORY
Add a directory to the linker search list.
LIBRARY
Link with a library.

Do not run executable after compilation.

Do not compile executable before run.
N
set compiler optimization.
COMPILER OPTION
Add option to compiler.
LINKER OPTION
Add option to linker.
PREFIX COMMAND
Run a prefix command (time, valgrind, gdb, etc.).
PLUGIN DIRECTORY
Compile a plugin with the sources under the specified plugin directory.
The name of the compiled plugin is the name of the directory. The default is a directory named plugin.
PLUGINS DIRECTORY
For each source file under the specified directory, compile a plugin. The default is a directory named plugins.
SOURCES DIRECTORY
add all source files under the specified directory to the compilation of the executable.

Print make(1) commands as they are executed.
Generator Name
set the generator for cmake (the default is plateform dependent, but usually "Unix Makefiles" under *nix and MacOs). This is mainly useful for Windows users.


siconos -gv -P "time --format '%U'" BouncingBallTS.cpp

The Siconos Software Documentation