[CMake] try_compile question

Steven Wilson steven.wesley.wilson at gmail.com
Tue May 4 16:16:37 EDT 2010


I think that will work.  I will give it a shot and if not will ask more
questions later.   I didn't know check_c_source_compiles() existed.   Thanks
for the tip!

Steve

2010/5/4 Alexander Neundorf <a.neundorf-work at gmx.net>

> On Tuesday 04 May 2010, Steven Wilson wrote:
> > The CMake 2.8.0 documentation for try_compile() states:
> >
> > Some extra flags that can be included are, INCLUDE_DIRECTORIES,
> > LINK_DIRECTORIES, and LINK_LIBRARIES.
>
> I'd recommend not to use try_compile() directly.
> Did you try check_c_source_compiles() ? This is more high level.
>
> Does that work for you ?
>
> Alex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100504/e5114e19/attachment.htm>


More information about the CMake mailing list