Commit 4d30b933 authored by Mart Lubbers's avatar Mart Lubbers

Add default project files for all examples and update ci-test.sh to use cpm

parent 31ccc704
Pipeline #12097 canceled with stage
......@@ -2,15 +2,15 @@ Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/main.exe
Exec: {Project}/TheTaxMan.exe
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 524288000
StackSize: 10485760
HeapSize: 167772160
StackSize: 1048576
ExtraMemory: 81920
IntialHeapSize: 8388608
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
......@@ -23,6 +23,8 @@ Global
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: True
DescExL: False
Output
Output: ShowConstructors
Font: Courier
......@@ -42,16 +44,16 @@ Global
Precompile:
Postlink:
MainModule
Name: main
Name: TheTaxMan
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: NoTypes
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReadableABC: True
ReuseUniqueNodes: True
Fusion: False
Version: 1.4
Global
ProjectRoot: .
Target: iTasks
Exec: {Project}/LeafletMapExample
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 167772160
StackSize: 1048576
ExtraMemory: 81920
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
ShowStackSize: False
MarkingCollector: False
DisableRTSFlags: False
StandardRuntimeEnv: True
Profile
Memory: False
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: True
GenericFusion: True
DescExL: False
Output
Output: ShowConstructors
Font: Courier
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}
Precompile:
Postlink:
MainModule
Name: LeafletMapExample
Dir: {Project}
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: True
ReuseUniqueNodes: True
Fusion: False
Version: 1.4
Global
ProjectRoot: .
ProjectRoot: ...
Target: iTasks
Exec: {Project}\Ligretto.exe
Exec: {Project}/Games/Ligretto/Ligretto.exe
CodeGen
CheckStacks: False
CheckIndexes: True
......@@ -24,6 +24,7 @@ Global
Time: False
Stack: False
Dynamics: True
GenericFusion: False
DescExL: False
Output
Output: ShowConstructors
......@@ -40,14 +41,14 @@ Global
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}
Path: {Application}\Examples\iTasks\Games
Path: {Application}\Examples\iTasks\Graphics
Path: {Project}*Games*Ligretto
Path: {Project}*Games
Path: {Project}*Graphics
Precompile:
Postlink:
MainModule
Name: Ligretto
Dir: {Project}
Dir: {Project}*Games*Ligretto
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
......
Version: 1.4
Global
ProjectRoot: ...
Target: iTasks
Exec: {Project}/Games/Trax/Trax.exe
CodeGen
CheckStacks: False
CheckIndexes: True
Application
HeapSize: 134217728
StackSize: 512000
ExtraMemory: 8192
IntialHeapSize: 204800
HeapSizeMultiplier: 4096
ShowExecutionTime: False
ShowGC: False
ShowStackSize: False
MarkingCollector: False
DisableRTSFlags: False
StandardRuntimeEnv: True
Profile
Memory: False
MemoryMinimumHeapSize: 0
Time: False
Stack: False
Dynamics: True
GenericFusion: False
DescExL: False
Output
Output: ShowConstructors
Font: Monaco
FontSize: 9
WriteStdErr: False
Link
LinkMethod: Static
GenerateRelocations: False
GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
GenerateDLL: False
ExportedNames:
Paths
Path: {Project}*Games*Trax
Path: {Project}*Games
Precompile:
Postlink:
MainModule
Name: Trax
Dir: {Project}*Games*Trax
Compiler
NeverMemoryProfile: False
NeverTimeProfile: False
StrictnessAnalysis: True
ListTypes: StrictExportTypes
ListAttributes: True
Warnings: True
Verbose: True
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
#!/bin/bash
set -e
CLMFLAGS="-dynamics -h 200m -s 10m"
CLMLIBS="-IL Dynamics -IL GraphCopy -IL Sapl -IL TCPIP -IL Platform -IL Platform/Deprecated/StdLib -I $(pwd)/Libraries"
CLM="clm $CLMFLAGS $CLMLIBS"
( cd Examples; $CLM BasicAPIExamples; )
( cd Examples/Games/Ligretto; $CLM -I .. -I ../../Graphics Ligretto; )
( cd Examples/Games/Trax; $CLM -I .. Trax; )
( cd Examples/GIS; $CLM LeafletMapExample; )
( cd Examples/Graphics/BasicImagesExamples; for i in *.prj.default; do $CLM -I .. $(basename -s .prj.default $i); done; )
( cd Examples/Applications/TheTaxMan; $CLM TheTaxMan; )
#( cd Examples/Applications/Incidone; $CLM IncidoneCCC; )
#( cd Examples/Applications/ShipAdventure; $CLM main; )
trap 'mv -v /opt/clean/etc/IDEEnvs{.bak,}' EXIT
cp -v /opt/clean/etc/IDEEnvs{,.bak}
sed -i "s|{Application}/lib/iTasks|$(pwd)/Libraries|g" /opt/clean/etc/IDEEnvs
find . -name "*.prj" | xargs dirname | sort -u | xargs -I{} sh -c "cd {}; cpm make"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment