Previous Section
2. 6 View Menu
| Contents | Next Section
2.8 Make Menu

2.7 Project Menu



New Project: Opens a dialog for creating a new project. If there is an active project, it is closed. Projects will be saved in their own folder located at HIDE\Projects (default), or at the current user-specified projects folder. The current projects folder is displayed in the dialog.

To create a project, give it a name. This name will be used as a root name for the project folder and the first HLA source file for the project.

There is also a template selection. To use a template, either type in the location of the template or select the button next to it to open a template selection dialog. Once a template is selected, other sections of the New Project dialog will be ignored since the template already contains the information.

The second part of the New Project dialog is the ability to choose extra folders to create along with the project.

TEMP: creates a Temp folder within the new project folder to hold all the HLA generated temporary files. If this is not used, the temporary files will be created in the HIDE\Temp instead. In order for HIDE to produce temporary files, it must be enabled (see HIDE Settings).

UNIT: creates a Unit folder within the new project folder. All object files will be stored in this folder. Otherwise, object files will be created at the root of the new project folder.

SRC: creates a Src folder within the new project folder. All source files will be generated in this folder automatically.

RES: creates a Res folder within the new project folder. All resource files will be created in this folder.

BAK: creates a BAK folder within the new project folder. Backup files are stored in this folder.

DOC: creates a DOC folder within the new project folder. This is not used at this time.


The "Project Type" section:

At this time, there are 4 options here:
Console: Produces a Windows Console PE.
Window: Produces a Windows PE GUI.
Lib: Produces a library file (.lib).
DLL: Produces a DLL file (.dll) and import library (.lib).

These options can be changed later from the Option>Compiler Settings, but do so with care as they are not all compatible . Eg: it is safe to switch from console to windows, but not safe to switch from console to DLL.



Open Project: Opens a previously created project. If there is an active project, it is closed.

Close Project: Closes current project.

New File: From here, you may add new files to your projects. Selections include HLA source, HLA Unit, Header and resource.

HLA Source: This just adds a new file to the project while making no changes to the internal make-file. This is useful when making mono-source programs with manually included extensions.

HLA Unit: This adds a new unit to the program. HIDE also modifies the internal make-file to build and link the added unit to the project. HIDE will maintain the make-file automatically without need for user input.

Header: Creates an HLA header file. No internal changes occur, user must include the header file manually.

Resource: Creates an RC file. The first created RC file will become the main resource for the project. The dialog editor will look for this file when launched from the Tools menu. HIDE will make sure the resource is compiled and linked to the main program.

Add Existing: From here, you may add existing files to your projects. Selections include HLA source, HLA Unit, Header and resources. The path is absolute.

Import Existing: This works similar to "Add Existing", except it makes a copy of the existing file and the path remains relative to the project rather than absolute. Use this if you plan on redistributing the source to work on other HIDE systems.

Add To Link List: Use this to add pre-compiled objects, resources (if doing so separately) and libraries used by your project. These files will be linked to the main program.

Removing a File: To remove a file from the project, right-click on the item in the Project window.

Consolidate Windows Headers: Selecting this option activates wscan.exe which scans your project sources for any Window header labels ( namespace w ). It then scans the main w.hhf header files and creates a smaller sub-set of this file using only the labels (direct and indirect) declared in your sources. This automatically creates a "win_inc.hhf" header file and adds it to your project. To use this file, you must #include ("win_inc.hhf") with any unit that needs them (see the wscan documents for more information).