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_include_flag | OT_STRING | Compiler flag to add an |\n"
51 "| | | include directory. Default: |\n"
52 "| | | '-I' ('/I' on MSVC) |\n"
53 "+-----------------------+-----------------+--------------------------------+\n"
54 "| compiler_output_flag | OT_STRING | Compiler flag to denote object |\n"
55 "| | | output. Default: '-o ' |\n"
56 "+-----------------------+-----------------+--------------------------------+\n"
57 "| compiler_setup | OT_STRING | Compiler setup command. |\n"
58 "| | | Intended to be fixed. The |\n"
59 "| | | 'flag' option is the prefered |\n"
60 "| | | way to set custom flags. |\n"
61 "+-----------------------+-----------------+--------------------------------+\n"
62 "| directory | OT_STRING | Directory to put temporary |\n"
63 "| | | objects in. Must end with a |\n"
64 "| | | file separator. |\n"
65 "+-----------------------+-----------------+--------------------------------+\n"
66 "| extra_suffixes | OT_STRINGVECTOR | List of suffixes for extra |\n"
67 "| | | files that the compiler may |\n"
68 "| | | generate. Default: None |\n"
69 "+-----------------------+-----------------+--------------------------------+\n"
70 "| flags | OT_STRINGVECTOR | Compile flags for the JIT |\n"
71 "| | | compiler. Default: None |\n"
72 "+-----------------------+-----------------+--------------------------------+\n"
73 "| include_dirs | OT_STRINGVECTOR | List of include directories, |\n"
74 "| | | each passed to the compiler |\n"
75 "| | | prefixed with |\n"
76 "| | | 'compiler_include_flag'. OS- |\n"
77 "| | | agnostic alternative to |\n"
78 "| | | passing '-I...' via 'flags'. |\n"
79 "| | | Default: None |\n"
80 "+-----------------------+-----------------+--------------------------------+\n"
81 "| linker | OT_STRING | Linker command |\n"
82 "+-----------------------+-----------------+--------------------------------+\n"
83 "| linker_flags | OT_STRINGVECTOR | Linker flags for the JIT |\n"
84 "| | | compiler. Default: None |\n"
85 "+-----------------------+-----------------+--------------------------------+\n"
86 "| linker_output_flag | OT_STRING | Linker flag to denote shared |\n"
87 "| | | library output. Default: '-o ' |\n"
88 "+-----------------------+-----------------+--------------------------------+\n"
89 "| linker_setup | OT_STRING | Linker setup command. Intended |\n"
90 "| | | to be fixed. The 'flag' option |\n"
91 "| | | is the prefered way to set |\n"
92 "| | | custom flags. |\n"
93 "+-----------------------+-----------------+--------------------------------+\n"
94 "| name | OT_STRING | The file name used to write |\n"
95 "| | | out compiled |\n"
96 "| | | objects/libraries. The actual |\n"
97 "| | | file names used depend on |\n"
98 "| | | 'temp_suffix' and include |\n"
99 "| | | extensions. Default: |\n"
100 "| | | 'tmp_casadi_compiler_shell' |\n"
101 "+-----------------------+-----------------+--------------------------------+\n"
102 "| temp_suffix | OT_BOOL | Use a temporary (seemingly |\n"
103 "| | | random) filename suffix for |\n"
104 "| | | file names. This is desired |\n"
105 "| | | for thread-safety. This |\n"
106 "| | | behaviour may defeat caching |\n"
107 "| | | compiler wrappers. Default: |\n"
109 "+-----------------------+-----------------+--------------------------------+\n"
static const std::string meta_doc
A documentation string.