Skip to content

Compiler Options Mapping

tajmone edited this page Dec 24, 2017 · 6 revisions
PureBASIC v5.61

This reference page documents how each of the PureBASIC IDE compiler settings for a source file are stored in the file's configuration as preference keys (ie: <KEY> = <VALUE> pairs, or just simple <KEY> entries).


Table of Contents


Introduction

PureBASIC IDE saves the compiler settings for each source file as <KEY> = <VALUE> pairs, or simple <KEY> entries. Depending on the IDE preferences for "Editor » Save Settings to:", these options will be stored in either:

  • The end of the source file — as a comments block.
  • __The <filename>.pb.cfg file __ — each source file has its own preference file.
  • A common file project.cfg for every directory — a preference file divided into groups/sections, one for each source file in the folder

For more info, see the Wiki page dedicated to these IDE settings:

Regardless of where the settings are stored, the keys/values used for mapping the IDE source setttings to file are exactly the same.

IDE Compiler Options

The Compiler Options dialog can be accessed from PureBASIC IDE's menu "Compiler » Compiler Options...". The dialog has 5 tabs, and we'll examine how the options of each tab are mapped to file settings.

NOTE — The following screenshots and settings apply to non-project files only. Project source files will show a slightly different Compiler Options dialog.

For more details on the various compiler options, see:

1. Compiler Options

PureBASIC IDE Compiler Options

... to be continued ...

2. Compile/Run Options

PureBASIC IDE Compile/Run Options

... to be continued ...

3. Compiler Constants Options

PureBASIC IDE Compiler Constants Options

... to be continued ...

4. Version Information Options

PureBASIC IDE Version Information Options

... to be continued ...

5. Compiler Resources Options

PureBASIC IDE Compiler Resources Options

... to be continued ...

External Links

PureBASIC Documentation: