[ITK] [ITK-dev] CMake cross-compilation issues with hardware specific flags

Matt McCormick matt.mccormick at kitware.com
Tue Aug 1 13:05:24 EDT 2017


Hi Jon,

Thanks for bringing this up, and sorry that we did not have time to
get to it on Friday.


CMAKE_SYSTEM_NAME [1]

and

CMAKE_SYSTEM_PROCESSOR [2]


provide information on the target system and its processor when
cross-compiling. Is this sufficient for what you are trying to
achieve?


Thanks,
Matt

[1] https://cmake.org/cmake/help/v3.9/variable/CMAKE_SYSTEM_NAME.html#variable:CMAKE_SYSTEM_NAME

[2]  https://cmake.org/cmake/help/v3.9/variable/CMAKE_SYSTEM_PROCESSOR.html#variable:CMAKE_SYSTEM_PROCESSOR

On Tue, Aug 1, 2017 at 12:02 PM, Lefman, Jonathan
<jonathan.lefman at intel.com> wrote:
> CMake compiler testing procedures makes cross compilation challenging,
> especially where hardware specific compiler flags are used. Is there a
> workaround to achieve this functionality? We briefly mentioned this on
> Friday’s performance improvement call. Thank you.
>
>
>
> -Jon
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-developers
>
_______________________________________________
Powered by www.kitware.com

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

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

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


More information about the Community mailing list