17 OpenCV_files =
"README OpenCVConfig.cmake" 22 (
"include/opencv",
"*.h *.hpp"),
24 (
"doc",
"license.txt opencv.pdf")
28 base_dir = os.getenv(
"OPENCV_ROOT")
29 base_dir = base_dir.replace(
"\"",
"")
32 base_dir=
"C:\\OpenCV2.1" 40 output = prefix +
"_" +
"_".join(path.split(
"/"))
41 return output.replace(
".",
"_")
49 for c
in path.split(
"/"):
50 output += c.capitalize()
51 return output.replace(
".",
"_")
55 for (path, files)
in data:
61 path = path.replace(
"/",
"\\")
64 full_path = base_dir +
"\\\\" + path
68 for f
in files.split(
" "):
69 flist += glob.glob(full_path +
"\\" + f)
73 "-o", dir_name +
".yaml",
74 "-p", base_dir + path]
80 if None != re.search(
'2\.2',base_dir):
82 "-o",
"OpenCV_inc.wxs",
83 "-i",
"OpenCV22_inc.wxs.in"]
86 "-o",
"OpenCV_inc.wxs",
87 "-i",
"OpenCV_inc.wxs.in"]
89 cmd += glob.glob(
"*.yaml")
def path_to_comp_id(path, prefix)
def path_to_dir_id(path, prefix)