| 1 | = Codelite Workspace Layout for building Cobra compiler = |
| 2 | |
| 3 | One workspace cobrac |
| 4 | |
| 5 | Three projects |
| 6 | * cobra - compiler |
| 7 | * Cobra.Lang - compiler runtime Library |
| 8 | * testify - compiler tests |
| 9 | * ( should be an additional project for building compiler !ObjectExplorer |
| 10 | |
| 11 | The cobra project uses the Snapshot compiler and libs to build itself. The build uses provided build filelist from 'files-to-compile.text'. |
| 12 | |
| 13 | Cobra.Lang has dependency on cobra and builds Cobra.Lang.dll uses build filelist Cobra.Lang/files.text. |
| 14 | |
| 15 | testify runs through Test directory sources building and running everything - results stored in file r-testify |
| 16 | |
| 17 | == cobra == |
| 18 | Builds compiler from 'Source' directory and associated subdirectories (shown as sibling virtual directories). |
| 19 | * 00-Resources - build files list, small sample app, test output file. |
| 20 | * 01-Batchfiles - Windows batchfiles for commandline build on windows |
| 21 | * 01-Scripts - bash scripts for a linux build |
| 22 | * 02-Doc - (Developer) Documentation files, License and Readme for project |
| 23 | * 04-!HowTo - Sources showing hoto do various things in cobra |
| 24 | * 06-Samples - sample sources showing some examples of larger apps. |
| 25 | |
| 26 | == Cobra.Lang == |
| 27 | Resources virtual dir has build files list. Remaining sources are listed under srcs virtual directory. |
| 28 | |
| 29 | The '''Build''' (project popup) menu item creates Cobra.Lang.dll in the Source directory. |
| 30 | |
| 31 | |
| 32 | |
| 33 | == testify == |
| 34 | One virtual directory for each dir in ./Tests. |
| 35 | |
| 36 | Run all tests with '''Build''' menu item on testify project. |
| 37 | |
| 38 | Can test run a single file with '''Compile''' menu item on a single file. |
| 39 | |
| 40 | Can run tests for all files in a particular directory by selecting the 'Preprocess' menu item on any file in the directory. |
| 41 | ( unfortunately no build/compile options for a !CodeLite virtual directory) |
| 42 | |
| 43 | |