logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

siconos - Siconos C++ Compilation.

Description

       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.

Examples

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

Name

       siconos - Siconos C++ Compilation.

Options

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

       -a
               Find and compile all sources files in sample[.cpp|.py]
               directory.

       --build-dirDIRECTORY
               Compile inside specified directory. If /tmp, temp directories are created.

       --clean-build
               Clean build directory.

       -c     | --clean
               Clean the current directory (deletes binary files, etc.).

       -DKEY[=VALUE]
               Define a 'cmake' and a 'cpp' variable.

       -g
               Compile with debug information.

       -h     | --help
               Print help.

       -jJOBSNUMBER
               Do parallel compilation with JOBS NUMBER jobs

       -LDIRECTORY
               Add a directory to the linker search list.

       -lLIBRARY
               Link with a library.

       --noexec
               Do not run executable after compilation.

       --nocomp
               Do not compile executable before run.

       -ON
               set compiler optimization.

       --optCOMPILEROPTION
               Add option to compiler.

       --ldoptLINKEROPTION
               Add option to linker.

       -PPREFIXCOMMAND
               Run a prefix command (time, valgrind, gdb, etc.).

       --plugin-dirPLUGINDIRECTORY
               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-dirPLUGINSDIRECTORY
               For each source file under the specified directory, compile a plugin. The default is a  directory
              named plugins.

       --src-dirSOURCESDIRECTORY
               add all source files under the specified directory to the compilation of the executable.

       -v
               Print make(1) commands as they are executed.

       --generatorGeneratorName
               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.

See Also

TheSiconosSoftwareDocumentationhttp://siconos.gforge.inria.frSICONOS(1)

Synopsis

siconos  [ -a ] [ --build-dirDIRECTORY ] [ --clean-build ] [ -c|--clean ] [ -DKEY[=VALUE] ] [ -g ] [
       -h|--help ] [ -jJOBS ] [ -LDIRECTORY ] [ -lLIBRARY ] [ --noexec ] [ --nocomp ] [ --optC++COMPILEROPTION  ]  [ --ldoptLINKEROPTION ] [ -PPREFIXCOMMAND ] [ --plugin-dirPLUGINDIRECTORY ] [ --plugins-dirPLUGINSDIRECTORY ] [ --src-dirSOURCESDIRECTORY  ]  [  -v  ]  [  --generatorGeneratorName  ]  [
       sample[.cpp|.py] ] [ arguments ]

See Also