[CMake] CMAKE_C_COMPILE_OBJECT <FLAGS> vs <INCLUDES>

Robert Maynard robert.maynard at kitware.com
Thu Jun 30 16:23:05 EDT 2016


Hi,

Can you explain what the goal of your compilation wrappers are? Are
you trying to add a new compiler?



On Wed, Jun 29, 2016 at 1:41 PM, Sam Cristall <cristall at eleveneng.com> wrote:
> Looks like this was just a change in CMake 3.4.  Updated to latest, and everything is working.
>> On Jun 28, 2016, at 5:19 PM, Sam Cristall <cristall at eleveneng.com> wrote:
>>
>> 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?
>>
> --
>
> 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


More information about the CMake mailing list