Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 03/06/2013 09:44 PM, Neeraj Rai wrote:
1. how is the header XDesktop.hpp generated and should it be in the path
pointed by any of the standard vars
  (OO_SDK_HOME, (OO_SDK_URE_HOME, OO_SDK_OUT)

Those .hpp (and internal .hdl) files corresponding to UNOIDL entities (declared in .idl files) are not included in the SDK, but rather need to be generated via cppumaker. The SDK's settings/stdtarget.mk has target $(SDKTYPEFLAG) for wholesale generation of those C++ header files corresponding to all of LO's .idl files.

See e.g. SDK's examples/cpp/DocumentLoader/Makefile for including std.mk and stdtarget.mk and making compilation of C++ sources depend on $(SDKTYPEFLAGS). (This also explains why building your own C++ code against the SDK sometimes happens to work and sometimes not---if you already built one of the C++ examples, the headers are already generated. All of this is hopelessly ugly.)

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.