[DEV] set etk specificity for windows board
This commit is contained in:
parent
91b9d60599
commit
46b81ecbbf
27
lutin_etk.py
27
lutin_etk.py
@ -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'])
|
||||||
# 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 ...
|
if target.buildMode == "release":
|
||||||
#,'-DMODE_RELEASE'])
|
# 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 ...
|
||||||
|
myModule.CompileFlags_CC("-DMODE_RELEASE")
|
||||||
|
|
||||||
|
|
||||||
myModule.AddExportPath(lutinTools.GetCurrentPath(__file__))
|
myModule.AddExportPath(lutinTools.GetCurrentPath(__file__))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user