--- a/ApplicationDefinition.st Mon Jul 20 19:05:21 2009 +0200
+++ b/ApplicationDefinition.st Tue Jul 21 16:44:46 2009 +0200
@@ -280,6 +280,16 @@
^ 'ALL'
!
+extraTargets
+ "extra targets to be built when creating the exe"
+
+ self needResources ifTrue:[
+ ^ #('RESOURCEFILES')
+ ].
+
+ ^ #()
+!
+
guiClassFileNames_unix
^ self guiClasses_unix
collect:[:cls | (cls classBaseFilename asFilename withSuffix:'so') baseName].
@@ -1884,11 +1894,11 @@
at: 'DEPENDENCIES' put: (self generateDependencies_win32);
at: 'SUBPROJECTS_LIBS' put: (self generateSubProjectLines_bc_dot_mak );
at: 'BUILD_TARGET' put: (self buildTarget );
+ at: 'REQUIRED_SUPPORT_DIRS' put: (self extraTargets asStringWith:' ');
yourself.
self needResources ifTrue:[
d
- at: 'REQUIRED_SUPPORT_DIRS' put: 'RESOURCEFILES';
at: 'RESOURCE_RULES' put:( self replaceMappings: d
in: self bc_dot_mak_resource_rules );
at: 'STX_RESOURCE_RULES' put: ( self replaceMappings: d
@@ -2552,5 +2562,5 @@
!ApplicationDefinition class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.140 2009-07-07 08:24:40 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.141 2009-07-21 14:44:46 stefan Exp $'
! !