{  "targets": [
    {
      "target_name": "addon",
      "sources": [
        "cpp_src/StructureFromMotion.cpp",
        "socket.io/socket.io-client-cpp/src/sio_client.cpp",
        "socket.io/socket.io-client-cpp/src/sio_socket.cpp"
      ],
      "link_settings": {
        "libraries": [
          "-lopencv_calib3d",
          "-lopencv_core",
          "-lopencv_contrib",
          "-lopencv_features2d",
          "-lopencv_flann",
          "-lopencv_gpu",
          "-lopencv_highgui",
          "-lopencv_imgproc",
          "-lopencv_imgcodecs",
          "-lopencv_legacy",
          "-lopencv_ml",
          "-lopencv_objdetect",
          "-lopencv_xfeatures2d",
          "-lopenMVG_image",
          "-lopenMVG_features",
          "-lopenMVG_geometry",
          "-lopenMVG_matching",
          "-lopenMVG_matching_image_collection",
          "-lopenMVG_kvld",
          "-lopenMVG_multiview",
          "-lopenMVG_lInftyComputerVision",
          "-lopenMVG_system",
          "-lopenMVG_sfm",
          "-llemon",
          "-lstlplus",
          "-lvlsift",
          "-leasyexif",
          "-lsqlite3",
          "-lboost_date_time",
          "-lboost_random",
          "-lboost_system",
          "-lsioclient"
        ],
        "ldflags": [
          "-L/home/joy/Documents/sp/backend/socket.io/socket.io-client-cpp/build/lib/Release",
          "-Wl,-rpath,/home/joy/Documents/sp/backend/socket.io/socket.io-client-cpp/build/lib/Release",
          "-L/home/joy/Documents/sp/backend/socket.io/boost_install/lib",
          "-Wl,-rpath,/home/joy/Documents/sp/backend/socket.io/boost_install/lib",
          "-L/usr/local/lib",
          "-L/home/joy/Documents/openMVG_Build/openMVG_install/lib",
          "-Wl,-rpath,/home/joy/Documents/openMVG_Build/openMVG_install/lib"
        ]
      },
      "include_dirs": [
        "<!(node -e \"require('nan')\")",
        "<!(node -e \"require('streaming-worker-sdk')\")",
        "/usr/include",
        "/home/joy/Documents/openMVG_Build/openMVG_install/include",
        "/home/joy/Documents/openMVG_Build/openMVG_install/include/openMVG_dependencies",
        "/home/joy/Documents/openMVG_Build/openMVG_install/include/openMVG_dependencies/cereal/include",
        "/home/joy/Documents/openMVG_Build/openMVG_install/include/openMVG/third_party/eigen",
        "/home/joy/Documents/openMVG_Build/openMVG_install/include/openMVG/third_party/flann/src/cpp",
        "/home/joy/Documents/openMVG_Build/openMVG_install/include/openMVG",
        "/home/joy/Documents/sp/backend/cpp_src",
        "/home/joy/Documents/sp/backend/socket.io/socket.io-client-cpp/src",
        "/home/joy/Documents/sp/backend/socket.io/socket.io-client-cpp/lib/rapidjson/include",
        "/home/joy/Documents/sp/backend/socket.io/socket.io-client-cpp/lib/websocketpp",
        "/home/joy/Documents/sp/backend/socket.io/boost_install/include"

      ],
      "cflags": [
        "-Wall",
        "-std=c++11"
      ],
      "cflags!": [
        "-fno-exceptions"
      ],
      "cflags_cc!": [
        "-fno-rtti",
        "-fno-exceptions",
        "-std=c++11"
      ]
    }
  ]
}
