Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

cppFlags are not forwarded to the compiler

cppFlags are not forwarded to the compiler

Hello,

I am trying to optimize the fmu binaries with cpp runtime, but the flags I set using cppFlags don't seem to be taken into account as the following commands produce the same binaries on windows :

omc +simCodeTarget=Cpp +cppFlags=-O0 test.mos
omc +simCodeTarget=Cpp +cppFlags=-O2 test.mos
omc +simCodeTarget=Cpp +cppFlags=-Os test.mos

Is it the right way to use cppFlags in this context?

Regards,

Olivier

There are 0 guests and 0 other users also viewing this topic
You are here: