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

2016-12-20 Thread Miklos Vajna
Hi,

On Mon, Dec 19, 2016 at 09:28:48PM +0100, Michael Stahl  
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


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2016-12-19 Thread Michael Stahl
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
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2016-12-18 Thread Regis Perdreau
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
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


vs2013-ide-integration: sfx2 include path incomplete

2016-12-18 Thread Kaganski Mike
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
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice