[cmake-developers] FW: FW: Initial Attempt at Green Hill MULTI IDE Generator Support
Stephen Kelly
steveire at gmail.com
Thu Apr 2 13:04:15 EDT 2015
Geoffrey Viola wrote:
> The only piece that diverges is the way that the Green Hills MULTI
> generator treats a kernel as a target. It should take an additional debug
> flag, when compiling in DEBUG or RELWITHDEBUGINFO modes. I'm considering
> adding CMAKE_<LANG>_KERNEL_FLAGS[_<CONFIG> style variables to account for
> this.
>
I'm not familiar with what 'kernel as a target' means in this context, but
consider whether CMAKE_<LANG>_COMPILER_TARGET is designed for this:
http://www.cmake.org/cmake/help/v3.2/manual/cmake-toolchains.7.html#cross-compiling-using-clang
http://www.cmake.org/cmake/help/v3.2/variable/CMAKE_LANG_COMPILER_TARGET.html
Thanks,
Steve.
More information about the cmake-developers
mailing list