Skip to content
Snippets Groups Projects
Commit 86202bc0 authored by Timothée Couble's avatar Timothée Couble
Browse files

Merge branch 'fix/minorFixesNewVTKModules' into 'master'

[refact] minor fixes new vtk modules + add testing unit

See merge request !396
parents 11330ed3 553a690f
No related branches found
No related tags found
1 merge request!396[refact] minor fixes new vtk modules + add testing unit
Pipeline #323624 passed
Pipeline: LidarView

#323625

    Showing
    with 39 additions and 3 deletions
    ......@@ -12,13 +12,14 @@ vtk_module_scan(
    #--------------------------------------
    # Create plugin
    #--------------------------------------
    paraview_add_plugin(LidarPlugin
    paraview_add_plugin(LidarPlugin
    VERSION "2.0"
    MODULES ${lidarplugin_modules}
    MODULE_FILES ${lidarplugin_module_files}
    MODULE_ARGS
    LICENSE_DESTINATION "${LV_INSTALL_INCLUDE_DIR}" #wip Temporary fix
    TEST_DIRECTORY_NAME "NONE" # Do not let vtk_module build the default 'Testing' subdir, it complexifies paths
    TEST_DIRECTORY_NAME "None" # Deactivate testing - incompatible with LidarPlugin
    TEST_INPUT_DATA_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Testing/Data"
    )
    #-----------------------------------------------------------------------------
    ......
    add_subdirectory(Cxx)
    vtk_add_test_cxx(lvCommonCoreCxxTests tests
    NO_VALID NO_OUTPUT
    TestBoundingBox.cxx
    # TestVtkEigenTools.cxx
    )
    vtk_test_cxx_executable(lvCommonCoreCxxTests tests)
    ......@@ -25,7 +25,7 @@
    #include <vtkMath.h>
    // LOCAL
    #include "Common/BoundingBox.h"
    #include "BoundingBox.h"
    #include "vtkEigenTools.h"
    //-----------------------------------------------------------------------------
    ......
    ......@@ -13,3 +13,5 @@ PRIVATE_DEPENDS
    Boost::system
    VTK::RenderingCore # For vtkCustomTransformInterpolator
    YAML::yamlcpp
    TEST_DEPENDS
    LidarView::TestingCore
    add_subdirectory(Cxx)
    vtk_add_test_cxx(lvFiltersCalibrationCxxTests tests
    NO_VALID NO_OUTPUT
    TestCameraCalibration.cxx
    TestCarGeometricCalibration-LaDoua.cxx
    TestCarGeometricCalibration-MM.cxx
    TestGeometricCalibration-LaDoua.cxx
    TestGeometricCalibration-MM.cxx
    # TestScaleCalibration-MM.cxx
    )
    vtk_test_cxx_executable(lvFiltersCalibrationCxxTests tests)
    ......@@ -8,9 +8,12 @@ DEPENDS
    Eigen3::Eigen
    VTK::CommonExecutionModel
    PRIVATE_DEPENDS
    Boost::system
    Ceres::ceres
    LidarView::CommonCeres
    LidarView::CommonCore
    VTK::CommonCore
    VTK::CommonDataModel
    VTK::CommonMath
    TEST_DEPENDS
    LidarView::IOCore
    add_subdirectory(Cxx)
    vtk_add_test_cxx(lvFiltersCameraOpenCVCxxTests tests
    NO_VALID NO_OUTPUT
    TestMIDHOG.cxx)
    vtk_test_cxx_executable(lvFiltersCameraOpenCVCxxTests tests)
    ......@@ -15,3 +15,6 @@ PRIVATE_DEPENDS
    Boost::filesystem
    LidarView::CommonOpenCV
    LidarView::CommonPCL
    TEST_DEPENDS
    LidarView::FiltersCalibration
    VTK::IOXML
    add_subdirectory(Cxx)
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment