|
|
|
Re: Create project from existing files [message #1732469 is a reply to message #1732410] |
Tue, 17 May 2016 14:05 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
Quote:If I point to MyProject directory it doesn't see anything...
I followed your suggestion, pointed to the MyProject folder and hit Finish, but Project Explorer is empty...
Well, I'm using MARS.1 and contrary to the mars sr1 documentation:
http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_new_proj_wiz.htm&cp=10_4_8
I get this after File --> New --> Project
According to this:
http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fconcepts%2Fcdt_c_projects.htm
Quote:Makefile Project - Creates an empty project without the meta-data files.
Whatever that means. If your project is truly empty then I guess you need to use File --> Import after creating the project.
There must be a .cproject file in the main project directory and that should show up in the project view unless it is being filtered.
What I don't understand is that when you target your project to the Debug you apparently have the files and the project is not empty. The only difference is that your project has only directories. There should be a directory structure in the project. When I do it, I get the expected structure. Maybe it's a bug or maybe not. Eclipse documentation is not entirely reliable. Menus changes seem to occur with every release. So, who knows?
Maybe you can post the image of the project view when targeting the MyProj directory.
BTW: Eclipse expects that the main project directory contains a master make file which recurses into the selected configuration directory (usually Debug and Release). I don't have separate configurations for these so I have only one make file. Personal thing,. If the only differences is whether the executable contains debug info, there are tools for removing it. If there are other differences such as different code then you are releasing code which you haven't debugged/verified if you don't have a separate test and verification process.
-
Attachment: ProjWiz2.png
(Size: 35.00KB, Downloaded 11699 times)
[Updated on: Tue, 17 May 2016 14:24] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01815 seconds