[DEV] Update new lutin 2.2.0 (no legacy support)

This commit is contained in:
Edouard DUPIN 2016-10-04 23:41:29 +02:00
parent e079f1e4fc
commit 4a83423255
12 changed files with 36 additions and 48 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [3,1,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'opencv/modules/calib3d/src/polynom_solver.cpp',
'opencv/modules/calib3d/src/circlesgrid.cpp',
@ -85,6 +84,6 @@ def create(target, module_name):
if "Android" in target.get_type():
my_module.add_flag('c++', "-DANDROID")
my_module.compile_version("C++", 2003)
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [3,1,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'opencv/modules/core/src/stl.cpp',
'opencv/modules/core/src/matrix_decomp.cpp',
@ -117,7 +116,7 @@ def create(target, module_name):
destination_path="")
# generate dynamic file
generate_config_file(my_module)
return my_module
return True
def generate_config_file(my_module):

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [3,1,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'opencv/modules/features2d/src/bagofwords.cpp',
'opencv/modules/features2d/src/kaze/fed.cpp',
@ -86,6 +85,6 @@ def create(target, module_name):
if "Android" in target.get_type():
my_module.add_flag('c++', "-DANDROID")
my_module.compile_version("C++", 2003)
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [3,1,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'opencv/modules/flann/src/flann.cpp',
'opencv/modules/flann/src/miniflann.cpp',
@ -59,6 +58,6 @@ def create(target, module_name):
if "Android" in target.get_type():
my_module.add_flag('c++', "-DANDROID")
my_module.compile_version("C++", 2003)
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [3,1,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'opencv/modules/imgproc/src/geometry.cpp',
'opencv/modules/imgproc/src/connectedcomponents.cpp',
@ -109,6 +108,6 @@ def create(target, module_name):
if "Android" in target.get_type():
my_module.add_flag('c++', "-DANDROID")
my_module.compile_version("C++", 2003)
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [3,1,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'opencv/modules/ml/src/rtrees.cpp',
'opencv/modules/ml/src/nbayes.cpp',
@ -72,6 +71,6 @@ def create(target, module_name):
if "Android" in target.get_type():
my_module.add_flag('c++', "-DANDROID")
my_module.compile_version("C++", 2003)
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [3,1,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'opencv/modules/objdetect/src/detection_based_tracker.cpp',
'opencv/modules/objdetect/src/cascadedetect_convert.cpp',
@ -68,6 +67,6 @@ def create(target, module_name):
if "Android" in target.get_type():
my_module.add_flag('c++', "-DANDROID")
my_module.compile_version("C++", 2003)
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [3,1,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'opencv/modules/photo/src/tonemap.cpp',
'opencv/modules/photo/src/contrast_preserve.cpp',
@ -74,6 +73,6 @@ def create(target, module_name):
if "Android" in target.get_type():
my_module.add_flag('c++', "-DANDROID")
my_module.compile_version("C++", 2003)
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [3,1,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'opencv/modules/shape/src/tps_trans.cpp',
'opencv/modules/shape/src/aff_trans.cpp',
@ -66,6 +65,6 @@ def create(target, module_name):
if "Android" in target.get_type():
my_module.add_flag('c++', "-DANDROID")
my_module.compile_version("C++", 2003)
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [3,1,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'opencv/modules/stitching/src/timelapsers.cpp',
'opencv/modules/stitching/src/autocalib.cpp',
@ -74,6 +73,6 @@ def create(target, module_name):
if "Android" in target.get_type():
my_module.add_flag('c++', "-DANDROID")
my_module.compile_version("C++", 2003)
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [3,1,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'opencv/modules/superres/src/btv_l1_cuda.cpp',
'opencv/modules/superres/src/btv_l1.cpp',
@ -67,6 +66,6 @@ def create(target, module_name):
if "Android" in target.get_type():
my_module.add_flag('c++', "-DANDROID")
my_module.compile_version("C++", 2003)
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [3,1,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'opencv/modules/video/src/bgfg_gaussmix2.cpp',
'opencv/modules/video/src/bgfg_KNN.cpp',
@ -72,6 +71,6 @@ def create(target, module_name):
if "Android" in target.get_type():
my_module.add_flag('c++', "-DANDROID")
my_module.compile_version("C++", 2003)
return my_module
return True