Compile a CPP object
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(compiler_t), | intent(in) | :: | self |
Instance of the compiler object |
||
| character(len=*), | intent(in) | :: | input |
Source file input |
||
| character(len=*), | intent(in) | :: | output |
Output file of object |
||
| character(len=*), | intent(in) | :: | args |
Arguments for compiler |
||
| character(len=*), | intent(in) | :: | log_file |
Compiler output log file |
||
| integer, | intent(out) | :: | stat |
Status flag |
||
| type(compile_command_table_t), | intent(inout), | optional | :: | table |
Optional compile_commands table |
|
| logical, | intent(in), | optional | :: | dry_run |
Optional mocking |
subroutine compile_cpp(self, input, output, args, log_file, stat, table, dry_run) !> Instance of the compiler object class(compiler_t), intent(in) :: self !> Source file input character(len=*), intent(in) :: input !> Output file of object character(len=*), intent(in) :: output !> Arguments for compiler character(len=*), intent(in) :: args !> Compiler output log file character(len=*), intent(in) :: log_file !> Status flag integer, intent(out) :: stat !> Optional compile_commands table type(compile_command_table_t), optional, intent(inout) :: table !> Optional mocking logical, optional, intent(in) :: dry_run call compile_object(self, LANG_CXX, input, output, args, log_file, stat, table, dry_run) end subroutine compile_cpp