summaryrefslogtreecommitdiff
path: root/macros/findDeps/getAllLibraries.sci
blob: 7ac9e5be766786515f61231bfdc6f0cfba39cf15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
function allLibraries = getAllLibraries(SharedInfo)
  Target = SharedInfo.Target;
  //Library files required for "RasberryPi" target
  RPi_libs = [
      "src/c/hardware/rasberrypi/libraries/wiringPi/libwiringPi.so"
      "src/c/hardware/rasberrypi/libraries/libcblas.a"
      "src/c/hardware/rasberrypi/libraries/librefblas.a"
      "src/c/hardware/rasberrypi/libraries/liblapack.a"
      "src/c/hardware/rasberrypi/libraries/libgfortran.a"
      "src/c/hardware/rasberrypi/libraries/libgsl.a"
		];

  RPi_cvlibs = [
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_calib3d.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_contrib.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_core.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_features2d.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_flann.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_gpu.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_highgui.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_imgproc.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_legacy.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_ml.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_nonfree.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_objdetect.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_ocl.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_photo.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_stitching.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_superres.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_video.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_videostab.a"
      "src/c/hardware/rasberrypi/libraries/opencv/libopencv_ts.a"
      "src/c/hardware/rasberrypi/libraries/libjpeg.a"
      "src/c/hardware/rasberrypi/libraries/libjasper.a"
      "src/c/hardware/rasberrypi/libraries/libpng.a"
      "src/c/hardware/rasberrypi/libraries/libIlmImf.a"
      "src/c/hardware/rasberrypi/libraries/libzlib.a"
      "src/c/hardware/rasberrypi/libraries/libtiff.a"
];  

  if Target == "RPi"
    allLibraries = RPi_libs;
    if (SharedInfo.OpenCVUsed == %T)
      allLibraries = cat(1,allLibraries,RPi_cvlibs)  
    end
  
  else
  allLibraries = [];
  end

endfunction