Hello everyone!
I have a program written in Pascal which is then used in an R interface. The R program calls the compilation file and does what it has to do.
For some reason, I'd like to be able to recompile the source code when I modify it, but directly from the command line (to be more precise, from R which then uses the command line), and not from the Lazarus environment.
I've tried a few things that look more or less like this:
fpc -gl -godwarfsets -vl -vd -FEsrc/compiled/ -FUsrc/source_pascal/lazarus/ src/source_pascal/lazarus/lifelihoodC2023.lpr
But the compiled file is different from the one I get when compiling from Lazarus (which is sort of expected because I've probably set a lot of project options that weren't made explicit in the last command).
So my question is: is there any way of knowing what command Lazarus is using under the bonnet so that I can recompile without having to run Lazarus? Is there any downside to doing this?
I hope my question is self-explanatory and understandable.