The following tutorial takes you though the process of importing a simple application using the CDT.
Step 1: You want to create a single project that will reflect all of the components for the existing source tree.
The New Project wizard displays. Click here to see an illustration (displayed in a separate window).
You will see the new project in the C/C++ Projects view. In addition, new 'dot' files in your legacy project's root directory, these are CDT project files.
Step 2: You are now ready to build your project.
After the project build completes, the results display in the Console view and new objects, such as binaries and includes, show in the Projects view.
Note: By default, the indexer is set to Fast indexer for the project to parse your project in the same way that a compiler does; beginning with each compilation unit and parsing that file and all files that it includes, except that it parses each header file included in a project only once. This method provides the most accurate index information. For large projects using complex C++ code, this indexer can be slow. For example, if a header file is included and takes two compilation units, the parsing of the second unit reuses the results of parsing the first unit. This is similar to how precompiled headers work. The indexing of large projects using the Fast indexer uses fewer resources than the Full indexer, but the resulting index is not quite as accurate.
Step 3: You are now ready to run your application.
The Run Configurations dialog displays.
The application runs in the Console view. The Console also shows which application it is currently running in the title bar. You can configure the view to display different elements, such as user input elements using different colors.