Difference between revisions of "IDE Window: Package Editor"

From Free Pascal wiki
Jump to navigationJump to search
Line 27: Line 27:
 
== Remove ==
 
== Remove ==
  
Remopve the currently selected item (e.g. file or dependency) from the pacakge. A dialog will open to confirm.
+
Remove the currently selected item (e.g. file or dependency) from the package. A dialog will open to confirm.
  
 
== Compiler Options ==
 
== Compiler Options ==
Line 47: Line 47:
 
* '''Create Makefile''' - Creates a Makefile.fpc and a Makefile for this package, which can be used to compile the package without the IDE. Beware, that the Makefile is simple and requires, that all needed packages are at the same places. That means, that copying this Makefile to another computer needs exactly the same paths of all packages, including lazarus, or you must adapt the Makefile yourself.
 
* '''Create Makefile''' - Creates a Makefile.fpc and a Makefile for this package, which can be used to compile the package without the IDE. Beware, that the Makefile is simple and requires, that all needed packages are at the same places. That means, that copying this Makefile to another computer needs exactly the same paths of all packages, including lazarus, or you must adapt the Makefile yourself.
 
* '''Add''' - Opens [[IDE Window: Add to Package|Add to Package]] to add a new item (unit, file, dependency, ...) to the package.
 
* '''Add''' - Opens [[IDE Window: Add to Package|Add to Package]] to add a new item (unit, file, dependency, ...) to the package.
* '''Remove''' -  
+
* '''Remove''' - Remove the currently selected item (e.g. file or dependency) from the package. A dialog will open to confirm.
* '''General Options''' -  
+
* '''General Options''' - Opens the dialog [[IDE Window: Package Options|Package Options]] to setup the Usage options, version information, author and other general information of the package.
* '''Compiler Options''' -  
+
* '''Compiler Options''' - Opens the [[IDE Window: Compiler Options|Compiler Options]] of the package.
* '''View Package Source''' -
+
* '''View Package Source''' - Opens the main source file of the package. This unit is automatically created by the IDE on each compile. So, do not edit it manually, as all your changes will be lost.

Revision as of 14:29, 13 July 2006

Deutsch (de) English (en) suomi (fi) français (fr) 日本語 (ja) português (pt)

Save

Save changes to disk. (.lpk file)

Add

Opens the dialog Add to Package to add a new item (unit, file, dependency, ...) to the package.

Options

Opens the dialog Package Options to setup the Usage options, version information, author and other general information of the package.

Install

Compiles the package and all dependencies, adds it to the list of install packages of the IDE and rebuilds the IDE.

Help

Show this help.

Compile

Compiles the package and all dependencies.

Remove

Remove the currently selected item (e.g. file or dependency) from the package. A dialog will open to confirm.

Compiler Options

Opens the Compiler Options of the package.

More

  • Add to project -
  • Install - Compiles the package and all dependencies, adds it to the list of install packages of the IDE and rebuilds the IDE.
  • Uninstall - Remove this package and all dependend packages from hte list of IDE install packages. It will ask to rebuild the IDE. To uninstall a static packages, the IDE must be rebuild and restarted. (At the moment all IDE packages are static).
  • Save - Save changes to the .lpk file.
  • Save As - Opens a dialog and to choose a new filename for the .lpk file. The package will be renamed. The package files are not moved/renamed. If you save it in a new directory check the paths in the compiler options.
  • Revert - Discard changes and load the package (.lpk) from disk.
  • Publish Package - Opens Publish Project / Package to copy the package and its files to another directory. This is useful to create a package without compiled, version files (svn, cvs, ...) and create a zip.
  • Compile - Compile this package. If any required package needs compiling, they will be rebuilt first.
  • Recompile clean - Normally the compiler checks for each unit, if it needs to be rebuild. With this, the compiler does not check, but compiles every unit of the package. And if any required package needs compiling, they will be rebuilt first.
  • Recompile all requires - Same as Recompile Clean, but for this and any required package. Keep in mind that some base packages like the FCL and LCL are set to never compile automatically and are therefore never recompiled by this call.
  • Create Makefile - Creates a Makefile.fpc and a Makefile for this package, which can be used to compile the package without the IDE. Beware, that the Makefile is simple and requires, that all needed packages are at the same places. That means, that copying this Makefile to another computer needs exactly the same paths of all packages, including lazarus, or you must adapt the Makefile yourself.
  • Add - Opens Add to Package to add a new item (unit, file, dependency, ...) to the package.
  • Remove - Remove the currently selected item (e.g. file or dependency) from the package. A dialog will open to confirm.
  • General Options - Opens the dialog Package Options to setup the Usage options, version information, author and other general information of the package.
  • Compiler Options - Opens the Compiler Options of the package.
  • View Package Source - Opens the main source file of the package. This unit is automatically created by the IDE on each compile. So, do not edit it manually, as all your changes will be lost.