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.



-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to