Create a Project

SmartGuides will step you through the process of creating a project.

To create a project:

  1. First, close the sample project. Pull down the Project Workbook menu and select Close Project.
  2. From the Project Workbook menu, select Create Project.
    The Project SmartGuide opens.
  3. Click Next until the Project Configuration page is displayed.
    First, you are prompted to create the configuration file. This is a plan for the new project. You do not need to decide all of the details yet. You can always modify the configuration file later.

    Type a name, such as helloworld, to name your configuration file. The default extension is .icc.

    Choose a directory where this file and the codestore (.ics) will be located for this project. This is not necessarily where your source files (.cpp, .hpp, .c, .h, etc.) will be located. If you choose a directory that does not currently exist, the SmartGuide will create it for you.
  4. Click Next.
    The Target Type page is displayed.
  5. From the pull-down list on this page, choose the type of target you want to create. Select Executable, and click Add Target (rather than Next).

    The Target SmartGuide opens.
  6. Click Next until the Target Name page is displayed.
  7. On the Target Name page, type helloworld to name your target file and select a directory where it will be stored. (The program type, in the lower part of the window, will remain "Default").
  8. Click Next to get to the Part Type page.
  9. On the Part Type page, you can specify the types of parts that you want to create if you are using the Visual Builder or Data Access Builder. You will not be using parts for this example, so click Next to skip this step and move on to the Source Files page.
  10. On the Source Files page, you can specify new or existing source files to include in your project in the field Files to add or create:



    Source files can come from any directory.
  11. Type a source file name, such as helloworld. At the bottom of the window, pull down the Type menu and select cpp as your source type.
  12. Click Add to add it to the project. It doesn't matter if the file already exists or not: you will be prompted to confirm the name, and the SmartGuide will create the file for you. The file name appears in the Source files added list, on the right side of the window.
  13. For now, we are only creating one source file, so click OK.
    The dialog closes, and you are taken back to the Target Type SmartGuide. Now the target you defined is listed in the Current targets list.
  14. Click Finish.
    The Open Project window appears, and asks if you want to open your project in the IDE. Click Yes.
  15. Finally, you are asked whether you would like to build the new project. Since you haven't added any code yet, click No.

    The IDE display has now added two new tabs: a Project tab and a Configuration tab. The panes are mostly blank because no code has been entered and compiled yet.

You have created a project, and you are ready to add content to your source file. Now, we will look at what you just created.