[DEV] set etk specificity for windows board

This commit is contained in:
Edouard DUPIN 2013-04-23 22:24:54 +02:00
parent 91b9d60599
commit 46b81ecbbf

View File

@ -32,25 +32,26 @@ def Create(target):
'etk/os/FSNodeRight.cpp', 'etk/os/FSNodeRight.cpp',
'etk/os/Memory.cpp']) 'etk/os/Memory.cpp'])
#ifeq ("$(TARGET_OS)","Windows") if target.name=="Windows":
# myModule.AddSrcFile('etk/os/Mutex.Windows.cpp') myModule.AddSrcFile('etk/os/Mutex.Windows.cpp')
# myModule.AddSrcFile('etk/os/Semaphore.Windows.cpp') myModule.AddSrcFile('etk/os/Semaphore.Windows.cpp')
#else else:
myModule.AddSrcFile('etk/os/Mutex.Generic.cpp') myModule.AddSrcFile('etk/os/Mutex.Generic.cpp')
myModule.AddSrcFile('etk/os/Semaphore.Generic.cpp') myModule.AddSrcFile('etk/os/Semaphore.Generic.cpp')
#endif
# name of the dependency # name of the dependency
#ifeq ("$(PLATFORM)","Android") myModule.AddModuleDepend('linearmath')
myModule.AddModuleDepend(['linearmath', 'zip']) if target.name=="Android":
myModule.AddModuleDepend('zip')
myModule.CompileFlags_CC([ myModule.CompileFlags_CC([
'-Wno-write-strings', '-Wno-write-strings',
'-Wall']) '-Wall'])
if target.buildMode == "release":
# TODO : The other way is to remove this ... # TODO : The other way is to remove this ...
# TODO : Fore release mode : the etk folder are absolutly not at the same position in the tree ... # TODO : Fore release mode : the etk folder are absolutly not at the same position in the tree ...
#,'-DMODE_RELEASE']) myModule.CompileFlags_CC("-DMODE_RELEASE")
myModule.AddExportPath(lutinTools.GetCurrentPath(__file__)) myModule.AddExportPath(lutinTools.GetCurrentPath(__file__))