Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-ui-dev] compile from different directories

Hi,

I just started using eclipse cdt. I have been struggling to do the following
for days without success:

(1) set up multi source folder so compiler can look for *.c files from those
folders. It seems the Make could not find c files apart from the initial
'source' folder. I just like to keep different group source files in
different folders.
(2) put a output file *.o to a different folder other than the 'source'
folder where all the *.c are.
(3) set up header files in different folders.

I have a makefile of my own. I tried all the settings in the cdt
project/propery and windows/preference, but the settings in there do not
seem to have any effect. I have to copy all the files into the single
'source' directory and setup the header include directories using -I option
in makefile.

Please help or point me to a document link.



Thanks.

learner
-- 
View this message in context: http://www.nabble.com/compile-from-different-directories-tf4628950.html#a13217349
Sent from the Eclipse CDT - UI mailing list archive at Nabble.com.



Back to the top