On 06/05/2011 07:14 PM, Eric Noulard wrote:
>>> 2011/6/4 Alexander Neundorf <[email protected]>:
>>>> * if so, it will check that for FOO_INCLUDES and FOO_LIBRARIES
>>>> * create the command line arguments for the compiler from that
>>>> * print "-I/opt/foo/include" to stdout
[snip]
> cmake-config would be a [portable] script (or even minimalistic
> binary), which basically call
> a cmake script (for portability).

This may be technically challenging, especially for the link options.
CMake's link line generation happens at generation time and is not
accessible to the CMake language.  Furthermore, it depends on a lot
of information about the final library or executable because it is
an expert system [1] (e.g. implicit language runtime libraries for
mixed executables, transitive dependencies, etc.).

-Brad

[1] http://en.wikipedia.org/wiki/Expert_system
_______________________________________________
cmake-developers mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to