Make UserSettings.BIN_DIR a property
This commit is contained in:
parent
9a5ed90100
commit
3ef181e5ce
|
@ -695,10 +695,10 @@ class DXXProgram(DXXCommon):
|
||||||
'transform_target':_apply_target_name,
|
'transform_target':_apply_target_name,
|
||||||
}])
|
}])
|
||||||
class UserSettings(DXXCommon.UserSettings):
|
class UserSettings(DXXCommon.UserSettings):
|
||||||
def __init__(self,ARGUMENTS,target):
|
@property
|
||||||
DXXCommon.UserSettings.__init__(self, ARGUMENTS, target)
|
def BIN_DIR(self):
|
||||||
# installation path
|
# installation path
|
||||||
self.BIN_DIR = self.prefix + '/bin'
|
return self.prefix + '/bin'
|
||||||
# Settings to apply to mingw32 builds
|
# Settings to apply to mingw32 builds
|
||||||
class Win32PlatformSettings(DXXCommon.Win32PlatformSettings):
|
class Win32PlatformSettings(DXXCommon.Win32PlatformSettings):
|
||||||
def __init__(self,program,user_settings):
|
def __init__(self,program,user_settings):
|
||||||
|
|
Loading…
Reference in a new issue