[DEBUG] correct build

This commit is contained in:
Edouard DUPIN 2016-08-09 22:40:38 +02:00
parent 7120f32709
commit 38ddf807be
2 changed files with 88 additions and 1 deletions

View File

@ -0,0 +1,84 @@
// This file is auto-generated. Do not edit!
#include "opencv2/core/ocl.hpp"
#include "opencv2/core/ocl_genbase.hpp"
#include "opencv2/core/opencl/ocl_defs.hpp"
#ifdef HAVE_OPENCL
namespace cv
{
namespace ocl
{
namespace imgproc
{
extern const struct ProgramEntry accumulate;
extern ProgramSource accumulate_oclsrc;
extern const struct ProgramEntry bilateral;
extern ProgramSource bilateral_oclsrc;
extern const struct ProgramEntry blend_linear;
extern ProgramSource blend_linear_oclsrc;
extern const struct ProgramEntry boxFilter;
extern ProgramSource boxFilter_oclsrc;
extern const struct ProgramEntry calc_back_project;
extern ProgramSource calc_back_project_oclsrc;
extern const struct ProgramEntry canny;
extern ProgramSource canny_oclsrc;
extern const struct ProgramEntry clahe;
extern ProgramSource clahe_oclsrc;
extern const struct ProgramEntry corner;
extern ProgramSource corner_oclsrc;
extern const struct ProgramEntry covardata;
extern ProgramSource covardata_oclsrc;
extern const struct ProgramEntry cvtcolor;
extern ProgramSource cvtcolor_oclsrc;
extern const struct ProgramEntry filter2D;
extern ProgramSource filter2D_oclsrc;
extern const struct ProgramEntry filter2DSmall;
extern ProgramSource filter2DSmall_oclsrc;
extern const struct ProgramEntry filterSepCol;
extern ProgramSource filterSepCol_oclsrc;
extern const struct ProgramEntry filterSepRow;
extern ProgramSource filterSepRow_oclsrc;
extern const struct ProgramEntry filterSep_singlePass;
extern ProgramSource filterSep_singlePass_oclsrc;
extern const struct ProgramEntry filterSmall;
extern ProgramSource filterSmall_oclsrc;
extern const struct ProgramEntry gftt;
extern ProgramSource gftt_oclsrc;
extern const struct ProgramEntry histogram;
extern ProgramSource histogram_oclsrc;
extern const struct ProgramEntry hough_lines;
extern ProgramSource hough_lines_oclsrc;
extern const struct ProgramEntry integral_sum;
extern ProgramSource integral_sum_oclsrc;
extern const struct ProgramEntry laplacian5;
extern ProgramSource laplacian5_oclsrc;
extern const struct ProgramEntry match_template;
extern ProgramSource match_template_oclsrc;
extern const struct ProgramEntry medianFilter;
extern ProgramSource medianFilter_oclsrc;
extern const struct ProgramEntry moments;
extern ProgramSource moments_oclsrc;
extern const struct ProgramEntry morph;
extern ProgramSource morph_oclsrc;
extern const struct ProgramEntry precornerdetect;
extern ProgramSource precornerdetect_oclsrc;
extern const struct ProgramEntry pyr_down;
extern ProgramSource pyr_down_oclsrc;
extern const struct ProgramEntry pyr_up;
extern ProgramSource pyr_up_oclsrc;
extern const struct ProgramEntry remap;
extern ProgramSource remap_oclsrc;
extern const struct ProgramEntry resize;
extern ProgramSource resize_oclsrc;
extern const struct ProgramEntry threshold;
extern ProgramSource threshold_oclsrc;
extern const struct ProgramEntry warp_affine;
extern ProgramSource warp_affine_oclsrc;
extern const struct ProgramEntry warp_perspective;
extern ProgramSource warp_perspective_oclsrc;
}
}}
#endif

View File

@ -116,7 +116,10 @@ def create(target, module_name):
'cxx',
])
my_module.compile_version("C++", 2003)
my_module.add_path(os.path.join(tools.get_current_path(__file__), "generated"))
my_module.add_header_file([
'generated/*'
],
destination_path="")
# generate dynamic file
generate_config_file(my_module)
return my_module