Hi Pritpal,

> In hbIDE project sources I included .ch, .h files
> to have them editable from within project node tree.
> All went fine upto the point I did not build the project.
> hbMK2 is passing all types of sources without checking
> if it is a valid source, i.e., .prg, .c, .cpp, .rc, .res, .o, .obj.
> 
> Is it possible ? 
> If not, I have to devise a little different interface to 
> present these files in the project tree.

hbmk2 will sort the input files by type 
(looking at the extension), and use them 
accordingly. It's true there is no negative 
filter for headers though, and the reason 
is that also harbour compiler doesn't limit 
the compilable set of extensions this way.
(IOW you can do: 'harbour hello.ch').
It _does_ however recognize objects, 
resources and C/CPP files and handles 
them accordingly, so I believe only 
program headers and other misc extensions 
(like .txt, .ini) can cause you such 
problem for you.

If you need to store such misc files in 
.hbp files without wanting them to be 
processed by hbmk2, just use '-3rd' 
options to store them, f.e.:
  -3rd=hbide_extrafile=my.txt

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to