Hi,

On Monday 10 October 2011, Michael Hertling wrote:
> AFAICS from Mathias' FindRTI1516{,E}.cmake modules, the libraries have
> different names, but their respective header files are named the same:
>
> FIND_LIBRARY(RTI1516_LIBRARY  NAMES rti1516  RTI1516 ...)
> FIND_LIBRARY(RTI1516E_LIBRARY NAMES rti1516e RTI1516E ...)
>
> FIND_PATH(RTI1516_INCLUDE_DIR  NAMES RTI/RTI1516.h ...)
> FIND_PATH(RTI1516E_INCLUDE_DIR NAMES RTI/RTI1516.h ...)
Yes.

> Therefore, the usage of both libraries for the same binary should be
> quite possible as long as they don't violate the one-definition-rule,
> whereas the inclusion of both headers for the same compilation unit
> will require some trickery, e.g. an intermediate header containing
> configured #include directives with the other headers' full paths.
Yes.
Having different include paths for different object files would be sufficient 
to include all in the same application.
Cmake can do this fine.

Greetings

Mathias

-- 
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Roland Niemeier, 
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 


--
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