Difference between revisions of "IDE tricks"

From Free Pascal wiki
Jump to navigationJump to search
Line 10: Line 10:
 
== Getting the compiler command line options created by the IDE ==
 
== Getting the compiler command line options created by the IDE ==
  
The IDE
+
The IDE creates a xxxx.compiled files with the options. Just copy the options from this file and adjust the paths for your nodes.
 +
 
 +
This way, you can compile your (hopefully working and bugfree) code, outside of the lazarus IDE.

Revision as of 14:17, 23 May 2006

Create a new file with Open file

You can create a new file and save it, or you can create a new file with filename and filetype in one step: Just open file (Ctrl+o) and select an non existing file. For example: unit1.pas. The IDE will ask you if it should be created.

IDE macros

IDE Macros in paths and filenames

Getting the compiler command line options created by the IDE

The IDE creates a xxxx.compiled files with the options. Just copy the options from this file and adjust the paths for your nodes.

This way, you can compile your (hopefully working and bugfree) code, outside of the lazarus IDE.