Camera tracking integration
[blender.git] / extern / libmv / CMakeLists.txt
index 2e67e70a2e7c0b43606a5b033c32734cf2febdeb..b2360889f7f74fd450c3e999d4ba1fed059fbbeb 100644 (file)
@@ -46,11 +46,13 @@ set(SRC
        libmv/simple_pipeline/initialize_reconstruction.cc
        libmv/simple_pipeline/camera_intrinsics.cc
        libmv/simple_pipeline/pipeline.cc
+       libmv/simple_pipeline/detect.cc
        libmv/simple_pipeline/tracks.cc
        libmv/simple_pipeline/bundle.cc
        libmv/image/convolve.cc
        libmv/image/array_nd.cc
        libmv/tracking/pyramid_region_tracker.cc
+       libmv/tracking/sad.cc
        libmv/tracking/trklt_region_tracker.cc
        libmv/tracking/klt_region_tracker.cc
        libmv/tracking/retrack_region_tracker.cc
@@ -65,6 +67,12 @@ set(SRC
        third_party/gflags/gflags.cc
        third_party/gflags/gflags_reporting.cc
        third_party/gflags/gflags_completions.cc
+       third_party/fast/fast_9.c
+       third_party/fast/fast_10.c
+       third_party/fast/fast_11.c
+       third_party/fast/fast_12.c
+       third_party/fast/fast.c
+       third_party/fast/nonmax.c
        third_party/ldl/Source/ldl.c
 
        libmv-capi.h
@@ -78,6 +86,7 @@ set(SRC
        libmv/simple_pipeline/reconstruction.h
        libmv/simple_pipeline/camera_intrinsics.h
        libmv/simple_pipeline/tracks.h
+       libmv/simple_pipeline/detect.h
        libmv/simple_pipeline/pipeline.h
        libmv/simple_pipeline/intersect.h
        libmv/simple_pipeline/bundle.h
@@ -89,6 +98,7 @@ set(SRC
        libmv/image/image.h
        libmv/tracking/region_tracker.h
        libmv/tracking/retrack_region_tracker.h
+       libmv/tracking/sad.h
        libmv/tracking/pyramid_region_tracker.h
        libmv/tracking/trklt_region_tracker.h
        libmv/tracking/klt_region_tracker.h
@@ -115,6 +125,7 @@ set(SRC
        third_party/gflags/mutex.h
        third_party/gflags/config.h
        third_party/gflags/gflags.h
+       third_party/fast/fast.h
        third_party/ldl/Include/ldl.h
        third_party/msinttypes/stdint.h
        third_party/msinttypes/inttypes.h
@@ -151,6 +162,14 @@ IF(WIN32)
                ./third_party/glog/src/windows
                ./third_party/msinttypes
        )
+
+       IF(MSVC)
+               set(MSVC_OFLAGS O1 O2 Ox)
+               foreach(FLAG )
+                       string(REPLACE "" "Od" CMAKE_CXX_FLAGS_RELEASE "")
+                       string(REPLACE "" "Od" CMAKE_C_FLAGS_RELWITHDEBINFO "")
+               endforeach()
+       ENDIF(MSVC)
 ELSE(WIN32)
        list(APPEND SRC
                third_party/glog/src/utilities.cc