What am I doing:
"File" → "New" → "Project ..."
Select a command line tool:

Fill in some things if you want:

Run the dummy project:

Click the project file and add the files to your project:

Go to your source heap. Expand the options. I prefer to use "added folders" as "Create Groups":

Go through and trim the files you don't want:

Build. You will probably need to delete files or add them until your project runs.
source share