News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

question about specific function in cbproject.h

Started by frithjofh, March 20, 2015, 07:40:03 PM

Previous topic - Next topic

frithjofh

Hi everyone,

I did myself some research, but to be really sure, i would like a developers comment on this, i someone would be so kind.

The following function is from cbprojec.h :


          /** Provides an easy way to iterate all the files belonging in this target.
          * @return A list of files belonging in this target.
          */
        virtual FilesList& GetFilesList(){ return m_Files; }


My question is, if this file returns all files of a project, all corresponding -Includes included? I guess it does, but maybe I am overlooking something... just to be sure...

Many thanks for any feedback

regards

frithjofh
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

oBFusCATed

This function returns all file objects that you see in the project tree in the management -> projects tab.
It can return sources files, headers, some other files.

I'm not sure I understand the question about the includes, but probably this function doesn't return the include paths.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

frithjofh

i probably didn't express myself very well...

... but the answer suits me perfectly. It was exactly what i needed to know, many thanks.

For the confusing part of my original question: your answer pointed out an error I made reasoning about the function in the first place, so my question really became pointless... :)

thx
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100