Scenarios for creating a project for the first time
Let's consider scenarios that can occur when you are creating a project for the first time (compared to checking out an existing project, see Check out existing projects .) When creating a new IDE project, you have to determine what you'd like to do:
- Option #1: This is a new project and you want to create all of the source in the IDE
- Option #2: The source and structure currently exist in the file system, and you want to attach an IDE project to it
- Option #3: The project source and structure already exists in version control
To create a project for the first time:
- Option #1: For a new project, select one of the project types described above (use C /C++, and then determine the type of project you want to create:
, and then select
- For a Makefile, select C Project (or for C++, select C++ Project), click Next, select Makefile on the left, select a QNX Toolchain on the right, and then click Finish.
- For a managed project, select C Project (or for C++, select "C++ Project"). Select one the projects types or templates on the left, except Makefile. Select a QNX Toolchain on the right. Click Finish.
- Option #2: To attach to an existing folder, select one of the project types described above for your project, open the corresponding wizard as described in the steps for Option #1, but don't proceed further. The first page of the wizard presents you with the option to use a default location or to select one yourself. Deselect Use default location. Select the location of your existing project using the Browse button. Follow the wizard as in #1. Alternatively, you a create project in the default location, but later attach the other directory using linked folders (see Example 4 below).
- Option #3: If you want to check out source from version control, select one of the project types described above for your project. If the entire project is in one directory in your version control system, you can use the Check Out As… option from SVN or CVS plugins to perform the check out. Use Check out as a project configured using New Project Wizard option, and then select the wizard for the project type you require. For a QNX project, make sure that you deselect the Generate default file option.
If you want to perform a partial check out of the source, see Check out a partial source tree .