> On 24 Feb 2016, at 16:08, Brad King <[email protected]> wrote:
>
> try_compile: Add option to control type of target
> https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7f1bd9fe
>
> One should be able to simply add
>
>    set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
>
> to the toolchain file.  Then CMakeForceCompiler should not be needed anymore.
>
> Please try it out.

Can confirm it works for armcc - thanks!

James

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

-- 

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