26 #include "shell_compiler.hpp"
33 "Interface to the JIT compiler SHELL\n"
35 "Extra doc: https://github.com/casadi/casadi/wiki/L_22w \n"
38 ">List of available options\n"
40 "+----------------------+-----------------+---------------------------------+\n"
41 "| Id | Type | Description |\n"
42 "+======================+=================+=================================+\n"
43 "| cleanup | OT_BOOL | Cleanup temporary files when |\n"
44 "| | | unloading. Default: true |\n"
45 "+----------------------+-----------------+---------------------------------+\n"
46 "| compiler | OT_STRING | Compiler command |\n"
47 "+----------------------+-----------------+---------------------------------+\n"
48 "| compiler_flags | OT_STRINGVECTOR | Alias for 'compiler_flags' |\n"
49 "+----------------------+-----------------+---------------------------------+\n"
50 "| compiler_output_flag | OT_STRING | Compiler flag to denote object |\n"
51 "| | | output. Default: '-o ' |\n"
52 "+----------------------+-----------------+---------------------------------+\n"
53 "| compiler_setup | OT_STRING | Compiler setup command. |\n"
54 "| | | Intended to be fixed. The |\n"
55 "| | | 'flag' option is the prefered |\n"
56 "| | | way to set custom flags. |\n"
57 "+----------------------+-----------------+---------------------------------+\n"
58 "| directory | OT_STRING | Directory to put temporary |\n"
59 "| | | objects in. Must end with a |\n"
60 "| | | file separator. |\n"
61 "+----------------------+-----------------+---------------------------------+\n"
62 "| extra_suffixes | OT_STRINGVECTOR | List of suffixes for extra |\n"
63 "| | | files that the compiler may |\n"
64 "| | | generate. Default: None |\n"
65 "+----------------------+-----------------+---------------------------------+\n"
66 "| flags | OT_STRINGVECTOR | Compile flags for the JIT |\n"
67 "| | | compiler. Default: None |\n"
68 "+----------------------+-----------------+---------------------------------+\n"
69 "| linker | OT_STRING | Linker command |\n"
70 "+----------------------+-----------------+---------------------------------+\n"
71 "| linker_flags | OT_STRINGVECTOR | Linker flags for the JIT |\n"
72 "| | | compiler. Default: None |\n"
73 "+----------------------+-----------------+---------------------------------+\n"
74 "| linker_output_flag | OT_STRING | Linker flag to denote shared |\n"
75 "| | | library output. Default: '-o ' |\n"
76 "+----------------------+-----------------+---------------------------------+\n"
77 "| linker_setup | OT_STRING | Linker setup command. Intended |\n"
78 "| | | to be fixed. The 'flag' option |\n"
79 "| | | is the prefered way to set |\n"
80 "| | | custom flags. |\n"
81 "+----------------------+-----------------+---------------------------------+\n"
82 "| name | OT_STRING | The file name used to write out |\n"
83 "| | | compiled objects/libraries. The |\n"
84 "| | | actual file names used depend |\n"
85 "| | | on 'temp_suffix' and include |\n"
86 "| | | extensions. Default: |\n"
87 "| | | 'tmp_casadi_compiler_shell' |\n"
88 "+----------------------+-----------------+---------------------------------+\n"
89 "| temp_suffix | OT_BOOL | Use a temporary (seemingly |\n"
90 "| | | random) filename suffix for |\n"
91 "| | | file names. This is desired for |\n"
92 "| | | thread-safety. This behaviour |\n"
93 "| | | may defeat caching compiler |\n"
94 "| | | wrappers. Default: true |\n"
95 "+----------------------+-----------------+---------------------------------+\n"
static const std::string meta_doc
A documentation string.