View Issue Details

IDProjectCategoryView StatusLast Update
0018151FPCPackagespublic2010-12-05 14:01
ReporterDarius Blaszijk Assigned ToJoost van der Sluis  
PrioritynormalSeverityminorReproducibilityhave not tried
Status feedbackResolutionopen 
Summary0018151: fpmkunit compile example programs
DescriptionThe following patch makes it possible to compile the example programs you add in fpmake.pp
Fixed in Revision
Attached Files


2010-12-04 12:42


fpmkuntit.diff (394 bytes)   
Index: fpmkunit.pp
--- fpmkunit.pp	(revision 16502)
+++ fpmkunit.pp	(working copy)
@@ -4428,7 +4428,7 @@
         case T.TargetType of
-        ttUnit,ttProgram:
+        ttUnit, ttProgram, ttExampleProgram:
             if TargetOK(T) then
fpmkuntit.diff (394 bytes)   

Joost van der Sluis

2010-12-04 13:52

manager   ~0043977

That the examples aren't compiled is by design. I want to add a special command to compile&install the compiled examples. (Just as an option to run the tests have to be added, or to render the documentation)

Darius Blaszijk

2010-12-04 17:21

reporter   ~0043983

I understand. Could you provide some sort of outline how this should look in the future? Once available I can help you with implementing everything. Now it's just trial and error. Would prefer to put it on the wiki.

Joost van der Sluis

2010-12-05 14:01

manager   ~0044012

I have no idea. This is completely new, now we don't ship compiled examples. We have to come up with something that is flexible and generally usable.

This is a general problem of working on fpmake. Implementing things is easy. But designing it is rather complicated, because in fact you are creating an installer which should work on several completely different platforms...

Let's continue this on the ML.

Issue History

Date Modified Username Field Change
2010-12-04 12:42 Darius Blaszijk New Issue
2010-12-04 12:42 Darius Blaszijk File Added: fpmkuntit.diff
2010-12-04 13:52 Joost van der Sluis Note Added: 0043977
2010-12-04 13:52 Joost van der Sluis Status new => assigned
2010-12-04 13:52 Joost van der Sluis Assigned To => Joost van der Sluis
2010-12-04 13:52 Joost van der Sluis Status assigned => feedback
2010-12-04 17:21 Darius Blaszijk Note Added: 0043983
2010-12-05 14:01 Joost van der Sluis Note Added: 0044012
2012-06-04 21:30 Florian Tag Attached: fpmake