arobenko/embxx

CompilerOptionsFuncs.cmake - Unix conditions

Closed this issue · 2 comments

Why many macros in the CompilerOptionsFuncs cmake contain condition if (UNIX) ? Is there any intention?

An example:

macro (embxx_disable_exceptions)
    if (UNIX)
        embxx_add_cxx_flags("-fno-exceptions -fno-unwind-tables")
    endif ()
endmacro ()

I would like to remove that UNIX, because I don't think those flags contain anything specific for UNIX. I'll send PR shortly removing it from there

See response in #4

Merged to "develop" branch. Use "develop" branch in "embxx_on_rpi" project as well.