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 need to know how to actually set those values so that try_compile() makes
use of them.   The documentation does not make it clear if they are
arguments to try_compile() or should be set in some other way.   I have
tried setting -DINCLUDE_DIRECTORIES:STRING=${DIRECTORIES} in the arguments
to CMAKE_FLAGS to try_compile(), but in the case where ${DIRECTORIES}
contains a list, only one value of the list makes it into the Cache of the
output build system.

I'ld appreciate any insight that you might have to offer.

Steve
_______________________________________________
Powered by www.kitware.com

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

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to