[CMake] CMAKE_C_COMPILE_OBJECT <FLAGS> vs <INCLUDES>

Sam Cristall cristall at eleveneng.com
Tue Jun 28 19:19:15 EDT 2016


I'm trying to implement a cross compilation wrapper and hit a snag with CMAKE_C_COMPILE_OBJECT.  I've found that on OSX / Linux (Makefile Generator), <INCLUDES> and <FLAGS> work as expected, however on Windows (MinGW Makefile Generator), <FLAGS> has both the flags and includes, whereas <INCLUDES> is undefined.  Is this expected?


Sam Cristall, BSc. EE
Director, R&D
skype: sam.cristall
phone: +1-780-292-0423 <>

Eleven Engineering Inc.
10150 100 st, Suite 800
Edmonton, Alberta 
Canada, T5J 0P6

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160628/78b2b83b/attachment.html>


More information about the CMake mailing list