vs2013-ide-integration: sfx2 include path incomplete

classic Classic list List threaded Threaded
4 messages Options
Mike Kaganski Mike Kaganski
Reply | Threaded
Open this post in threaded view
|

vs2013-ide-integration: sfx2 include path incomplete

Hello,

sfx2 source files include e.g. viewimp.hxx from sfx2/source/view/. But that path isn't set in Library_sfx.mk.

How can vs2013-ide-integration detect this path to be added to project file?

--
Best regards,
Mike Kaganski

_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
Regis Perdreau Regis Perdreau
Reply | Threaded
Open this post in threaded view
|

Re: vs2013-ide-integration: sfx2 include path incomplete

Hi

I haveVS2015 update 3  and now i have an issue with autogen.sh script...

This command line generated by autogen.sh script doesn't work
(contest.c is a copy of the conftest.c file used by autogen.sh script)

Even if i enter this in a cmd terminal, the result is the same (as i expect)

C:/PROGRA~2/MICROS~1.0/VC/bin/cl.exe -arch:SSE -c
-IC:/PROGRA~2/WI3CF2~1/10/Include/10.0.14393/ucrt
c:\sources\lode\dev\conftest.c

c:\sources\lode\dev\conftest.c(43): fatal error C1083: Cannot open
include file: 'assert.h': No such file or directory


to troubleshoot this issue, i use windows path format  and  it works !

C:\Users\regis>C:/PROGRA~2/MICROS~1.0/VC/bin/cl.exe -arch:SSE -c
-IC:"\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\ucrt"
-IC:"\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include"
c:\sources\lode\dev\conftest.c

(i have added the VC\include directory because cl.exe complains the
vcruntime.h is missing)

it seems to be a PATH issue with 8.3 format filename...A clue to know
what to do ?

Best Regards

RĂ©gis Perdreau
_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
Michael Stahl-2 Michael Stahl-2
Reply | Threaded
Open this post in threaded view
|

Re: vs2013-ide-integration: sfx2 include path incomplete

In reply to this post by Mike Kaganski
On 12/18/2016 03:11 PM, Kaganski Mike wrote:
> Hello,
>
> sfx2 source files include e.g. viewimp.hxx from sfx2/source/view/. But
> that path isn't set in Library_sfx.mk.
>
> How can vs2013-ide-integration detect this path to be added to project file?

these directories are added like so in gbuild:

define gb_CObject__command_pattern
[...]
                -c $(3) \
                -I$(dir $(3)) \
[...]

so that just adds the directory the source cxx file everywhere, probably
the ide-integration can do the same.

_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice
Miklos Vajna-4 Miklos Vajna-4
Reply | Threaded
Open this post in threaded view
|

Re: vs2013-ide-integration: sfx2 include path incomplete

Hi,

On Mon, Dec 19, 2016 at 09:28:48PM +0100, Michael Stahl <[hidden email]> wrote:

> > How can vs2013-ide-integration detect this path to be added to project file?
>
> these directories are added like so in gbuild:
>
> define gb_CObject__command_pattern
> [...]
> -c $(3) \
> -I$(dir $(3)) \
> [...]
>
> so that just adds the directory the source cxx file everywhere, probably
> the ide-integration can do the same.
bin/gbuild-to-ide:367 does that for compile_commands.json, maybe move
that code up to the generic part of gbuild-to-ide?

Regards,

Miklos

_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice

signature.asc (188 bytes) Download Attachment