Add File to Project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add File to Project

623 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dsystem on Mon Jan 10 22:49:33 MST 2011
I am new to eclips.

I created  new c files using file wizard.
Refreshed project.

Now all new files do not compile.

When I right click on file in project window, I see "compile selected File" is gray.

How to include these files in to project compilation?

Regards
Vimal
0 Kudos
Reply
1 Reply

604 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Jan 11 06:34:50 MST 2011
How did you create the project that you are trying to add a file to?

To create a project use the project wizards, which can be found at [FONT=Courier New][SIZE=1]Quickstart Panel -> New project

[/SIZE][/FONT]To create a new source file in a project, right click on the subdirectory you wish to create the source file in in the Project Explorer view (typically) '[FONT=Courier New][SIZE=1]src[/SIZE][/FONT]', then select[FONT=Courier New][SIZE=1] New -> Source File[/SIZE][/FONT].

If you wish to place your files in a different subdirectory, you can create this using [FONT=Courier New][SIZE=1]New -> Source Folder

[/SIZE][/FONT]Regards,
CodeRedSupport.
0 Kudos
Reply