Discussion:
[OSPL-Dev] Using OpenSplice with CMake
Knut Krause
2011-05-06 16:27:24 UTC
Permalink
Hi,

I want to use OpenSplice with CMake. The example code just includes dds_dcps.h
This is on the one hand for example at
/opt/opensplice/src/api/dcps/sacpp/include/dds_dcps.h
on the other hand after an installation
/opt/opensplice/install/HDE/x86_64.linux2.6/include/dcps/C++/SACPP/dds_dcps.h

Which one should I use? I try to write a FindOpenSplice module for CMake so
that the header files are located on our development systems (linux and
windows).

Is there something like that already present? I don't know that much about
cmake yet and run into a missing os_defs.h if I write a plain find_path() for
dds_dcps.h

Is it btw common to include a plain dds_dcps.h? It also exists for C and some
CMake guys recommended using
/opt/opensplice/install/HDE/x86_64.linux2.6/include/
as base path and include
dcps/C++/SACPP/dds_dcps.h
later on. What's correct?

regards


Knut

Loading...