openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patricia Shanahan <p...@acm.org>
Subject Re: How to make a new include work
Date Tue, 05 Sep 2017 17:42:14 GMT
After some experiments, including manually copying a header file, I 
decided that approach was getting me into a mess. In effect the build 
system was warning me that I was breaking module boundaries.

I found a cleaner solution.

On 9/5/2017 6:55 AM, Peter Kovacs wrote:
> Did you manage to solve this?
> What did you do in the end?
> 
> Thanks the Information! :-D
> 
> Am Montag, den 28.08.2017, 12:18 -0700 schrieb Patricia Shanahan:
>> Looks interesting. An include I needed from sfx2 worked just fine,
>> so
>> I'll make sc look the same way in that file.
>>
>> On 8/28/2017 12:12 PM, Peter Kovacs wrote:
>>> sry. The message got probable stuck due to ID mess on my side.
>>>
>>>
>>> On 28.08.2017 20:49, Peter Kovacs wrote:
>>>> Not sure, if it needed.
>>>>
>>>> But have you added the path to Library_sfx.mk?
>>>>
>>>> For 4.1.3 it looks like this:
>>>>
>>>> $(eval $(call gb_Library_set_componentfile,sfx,sfx2/util/sfx))
>>>>
>>>> $(eval $(call gb_Library_set_include,sfx,\
>>>>      -I$(SRCDIR)/sfx2/inc \
>>>>      -I$(SRCDIR)/sfx2/inc/sfx2 \
>>>>      -I$(SRCDIR)/sfx2/source/inc \
>>>>      -I$(SRCDIR)/sfx2/inc/pch \
>>>>      -I$(WORKDIR)/SdiTarget/sfx2/sdi \
>>>>      -I$(WORKDIR)/inc/ \
>>>>      $$(INCLUDE) \
>>>>      -I$(OUTDIR)/inc/offuh \
>>>>      -I$(OUTDIR)/inc \
>>>>      $(LIBXML_CFLAGS) \
>>>>
>>>>
>>>> But maybe my understanding on including is wrong :-)
>>>>
>>>> All the best
>>>> Peter
>>>>
>>>> On 28.08.2017 19:41, Patricia Shanahan wrote:
>>>>> I need to include main/sc/inc/document.hxx in
>>>>> main/sfx2/source/view/frmload.cxx. It is proving surprisingly
>>>>> difficult - there seems to be some copying of header files???
>>>>>
>>>>> Any suggestions? What should the include line look like? Do I
>>>>> need to
>>>>> run configure and/or bootstrap again?
>>>>>
>>>>> -------------------------------------------------------------
>>>>> --------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>>>
>>>
>>>
>>> -----------------------------------------------------------------
>>> ----
>>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message