[DEV] update to future lutin 2.0

This commit is contained in:
Edouard DUPIN 2016-09-08 21:35:02 +02:00
parent f06311184e
commit 4b4aad9046
2 changed files with 6 additions and 6 deletions

View File

@ -30,15 +30,15 @@ def get_version():
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
my_module.add_module_depend(['linearmath'])
my_module.add_depend(['linearmath'])
#remove compilation warning (specific for external libs):
my_module.remove_compile_warning()
my_module.compile_flags('c++', [
my_module.add_flag('c++', [
'-Wno-write-strings',
'-DHAVE_CONFIG_H',
'-O2'])
my_module.add_export_path(os.path.join(tools.get_current_path(__file__), "bullet-physics/src/"))
my_module.add_export_path(tools.get_current_path(__file__))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "bullet-physics/src/"), export=True)
my_module.add_path(tools.get_current_path(__file__), export=True)
my_module.add_path(os.path.join(tools.get_current_path(__file__), "bullet-physics/Extras/ConvexDecomposition"))
# lib BulletCollision
my_module.add_src_file([

View File

@ -42,7 +42,7 @@ def create(target, module_name):
'bullet-physics/src/LinearMath/btVector3.cpp',
'bullet-physics/src/LinearMath/btConvexHullComputer.cpp'
])
my_module.compile_flags('c++', [
my_module.add_flag('c++', [
'-Wno-write-strings',
'-DHAVE_CONFIG_H',
'-O2'])
@ -78,7 +78,7 @@ def create(target, module_name):
],
destination_path="LinearMath")
# depend on the cxx library (need <new> and somes things ...)
my_module.add_module_depend([
my_module.add_depend([
'cxx',
'm'
])