[Scons-users] MSVSProject Intellisense search paths

Albert Gil albert.gil at happycomputing.cat
Sat Apr 16 08:17:01 EDT 2016


Hi!

If I'm not wrong, what Sergio is trying to say is that, although the list
of paths in CPPPATH is copied into the NMakeIncludeSearchPath field of the
.vcxproj file created by the MSVSProject() function, its format is not
recognized by the Intellisense. And the whole point of doing this copy is
to be recognized by the Intellisense, right?
Is that right Sergio?
And if you put absolute paths in your CPPATH, then it does work, right?

So, the building works in both cases, but CPPATH values should be set with
absolute values to be useful in NMakeIncludeSearchPath?
To me, it doesn't have sense... I'm sure that Intellisene works with
relative paths.
So, it sounds like a format problem of relative paths?
Not sure...


Albert


On Fri, Apr 15, 2016 at 11:45 AM, Sergio Basurco <
sergio.b at coherentsynchro.com> wrote:

> Hi,
>
> It very likely is, however if it is the case that Intellisense requires
> absolute paths, or that the relative paths are not intuitively relative to
> the VS project, then maybe Scons could internally generate them as absolute
> within MSVSProject.
>
> These are the paths that go into the the NMakeIncludeSearchPath tag in
> .vcxproj files.
>
> I will try to find out what are the Intellisense assumptions and come back
> in case it's useful. Maybe it's an issue that was only related to my
> installation, I don't know if any other Scons user has found Intellisense
> to fail within the VS IDE.
>
> Best!
>
> El 15-Apr-16 a las 11:37 AM, William Blevins escribió:
>
> I'm not sure this is SCons related. Seems to be a question about
> Intellisense relative path assumptions.
> On Apr 15, 2016 9:22 AM, "Sergio Basurco" <sergio.b at coherentsynchro.com>
> wrote:
>
>> Hello all,
>>
>> I'm creating a MSVSProject from Scons. This project has some other
>> libraries as dependencies and everything is working well in compile time.
>>
>> However, in the IDE, Intellisense fails to find all the includes of the
>> external dependencies (the own project's include files are found). And
>> in order to solve this I had to change all paths used for building in
>> scons to absolute paths.
>>
>> Apparently Intellisense search paths needed to be absolute? or else
>> maybe they were not relative to the .vcxproj directory but some other
>> directory?
>>
>> I have no issues now but would like to know why this was necessary.
>>
>> Best!
>>
>> --
>> Sergio Basurco,
>> Coherent Synchro
>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>
>
> _______________________________________________
> Scons-users mailing listScons-users at scons.orghttps://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
> --
> Sergio Basurco,
> Coherent Synchro
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>


-- 
Albert Gil
HappyComputing <http://happycomputing.cat/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160416/afed30b8/attachment.html>


More information about the Scons-users mailing list