Make UserSettings.BIN_DIR a property

This commit is contained in:
Kp 2013-07-04 03:29:02 +00:00
parent 9a5ed90100
commit 3ef181e5ce

View file

@ -695,10 +695,10 @@ class DXXProgram(DXXCommon):
'transform_target':_apply_target_name,
}])
class UserSettings(DXXCommon.UserSettings):
def __init__(self,ARGUMENTS,target):
DXXCommon.UserSettings.__init__(self, ARGUMENTS, target)
@property
def BIN_DIR(self):
# installation path
self.BIN_DIR = self.prefix + '/bin'
return self.prefix + '/bin'
# Settings to apply to mingw32 builds
class Win32PlatformSettings(DXXCommon.Win32PlatformSettings):
def __init__(self,program,user_settings):