diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index d0d9d3f61..b0b749c75 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -1,9 +1,11 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/common.cmake (custom for this directory), +### then re-run ./make-cmake.py -if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../../ML_VERSION") +if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../../ML_VERSION") file(READ "${CMAKE_CURRENT_SOURCE_DIR}/../../ML_VERSION" MESHLAB_VERSION) add_definitions(-DMESHLAB_VERSION=${MESHLAB_VERSION}) endif() diff --git a/src/meshlab/CMakeLists.txt b/src/meshlab/CMakeLists.txt index 580f5a348..7a9ae3965 100644 --- a/src/meshlab/CMakeLists.txt +++ b/src/meshlab/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/meshlab.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES additionalgui.cpp @@ -94,12 +96,15 @@ target_link_libraries( set_property(TARGET meshlab PROPERTY FOLDER Core) -install(TARGETS meshlab DESTINATION ${MESHLAB_BIN_INSTALL_DIR} COMPONENT - MeshLab) +install( + TARGETS meshlab + DESTINATION ${MESHLAB_BIN_INSTALL_DIR} + COMPONENT MeshLab) if(Qt5_windeployqt_EXECUTABLE AND BUILD_WITH_WINDEPLOYQT_POST_BUILD) add_custom_command( - TARGET meshlab POST_BUILD + TARGET meshlab + POST_BUILD COMMAND "${Qt5_windeployqt_EXECUTABLE}" --no-translations $ WORKING_DIRECTORY $ diff --git a/src/meshlabplugins/decorate_background/CMakeLists.txt b/src/meshlabplugins/decorate_background/CMakeLists.txt index f39578b0f..906b132fb 100644 --- a/src/meshlabplugins/decorate_background/CMakeLists.txt +++ b/src/meshlabplugins/decorate_background/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/decorate_background.cmake, +### then re-run ./make-cmake.py set(SOURCES cubemap.cpp decorate_background.cpp) @@ -23,5 +26,7 @@ set_property(TARGET decorate_background PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET decorate_background PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS decorate_background DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS decorate_background + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/decorate_base/CMakeLists.txt b/src/meshlabplugins/decorate_base/CMakeLists.txt index 8e5b000eb..8c0e17646 100644 --- a/src/meshlabplugins/decorate_base/CMakeLists.txt +++ b/src/meshlabplugins/decorate_base/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/decorate_base.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES decorate_base.cpp ${VCGDIR}/wrap/gui/coordinateframe.cpp) @@ -24,5 +26,7 @@ set_property(TARGET decorate_base PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET decorate_base PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS decorate_base DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS decorate_base + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/decorate_raster_proj/CMakeLists.txt b/src/meshlabplugins/decorate_raster_proj/CMakeLists.txt index 022d14c04..172d54310 100644 --- a/src/meshlabplugins/decorate_raster_proj/CMakeLists.txt +++ b/src/meshlabplugins/decorate_raster_proj/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/decorate_raster_proj.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES decorate_raster_proj.cpp ${VCGDIR}/wrap/gui/trackball.cpp ${VCGDIR}/wrap/gui/trackmode.cpp) @@ -22,5 +24,7 @@ set_property(TARGET decorate_raster_proj PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET decorate_raster_proj PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS decorate_raster_proj DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS decorate_raster_proj + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/decorate_shadow/CMakeLists.txt b/src/meshlabplugins/decorate_shadow/CMakeLists.txt index 78036e8a0..f68f0dba9 100644 --- a/src/meshlabplugins/decorate_shadow/CMakeLists.txt +++ b/src/meshlabplugins/decorate_shadow/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/decorate_shadow.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES decorate_shadow.cpp @@ -38,5 +40,7 @@ set_property(TARGET decorate_shadow PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET decorate_shadow PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS decorate_shadow DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS decorate_shadow + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/edit_align/CMakeLists.txt b/src/meshlabplugins/edit_align/CMakeLists.txt index c7101b843..f0699be5b 100644 --- a/src/meshlabplugins/edit_align/CMakeLists.txt +++ b/src/meshlabplugins/edit_align/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/edit_align.cmake (custom for this directory), +### then re-run ./make-cmake.py # Only build if we have newuoa if(TARGET external-newuoa) @@ -61,8 +63,10 @@ if(TARGET external-newuoa) set_property(TARGET edit_align PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) - install(TARGETS edit_align DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) + install( + TARGETS edit_align + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) else() message( diff --git a/src/meshlabplugins/edit_hole/CMakeLists.txt b/src/meshlabplugins/edit_hole/CMakeLists.txt index 6090217db..576a83588 100644 --- a/src/meshlabplugins/edit_hole/CMakeLists.txt +++ b/src/meshlabplugins/edit_hole/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_hole.cmake, +### then re-run ./make-cmake.py set(SOURCES edit_hole.cpp edit_hole_factory.cpp fillerDialog.cpp holeListModel.cpp) @@ -32,5 +35,7 @@ set_property(TARGET edit_hole PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_hole PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_hole DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_hole + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/edit_manipulators/CMakeLists.txt b/src/meshlabplugins/edit_manipulators/CMakeLists.txt index b6e275d5f..5321da553 100644 --- a/src/meshlabplugins/edit_manipulators/CMakeLists.txt +++ b/src/meshlabplugins/edit_manipulators/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/edit_manipulators.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES edit_manipulators.cpp edit_manipulators_factory.cpp) @@ -25,5 +27,7 @@ set_property(TARGET edit_manipulators PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_manipulators PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_manipulators DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS edit_manipulators + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/edit_measure/CMakeLists.txt b/src/meshlabplugins/edit_measure/CMakeLists.txt index 8c80fb917..b2d3aa9cd 100644 --- a/src/meshlabplugins/edit_measure/CMakeLists.txt +++ b/src/meshlabplugins/edit_measure/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/edit_measure.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES edit_measure.cpp edit_measure_factory.cpp ${VCGDIR}/wrap/gui/rubberband.cpp) @@ -25,5 +27,7 @@ set_property(TARGET edit_measure PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_measure PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_measure DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS edit_measure + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/edit_mutualcorrs/CMakeLists.txt b/src/meshlabplugins/edit_mutualcorrs/CMakeLists.txt index 2b6493cce..81cc498ca 100644 --- a/src/meshlabplugins/edit_mutualcorrs/CMakeLists.txt +++ b/src/meshlabplugins/edit_mutualcorrs/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/edit_mutualcorrs.cmake (custom for this directory), +### then re-run ./make-cmake.py # Only build if we have newuoa and levmar if(TARGET external-newuoa AND TARGET external-levmar) @@ -51,8 +53,10 @@ if(TARGET external-newuoa AND TARGET external-levmar) set_property(TARGET edit_mutualcorrs PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) - install(TARGETS edit_mutualcorrs DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) + install( + TARGETS edit_mutualcorrs + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) else() message( diff --git a/src/meshlabplugins/edit_paint/CMakeLists.txt b/src/meshlabplugins/edit_paint/CMakeLists.txt index caf69de13..0fa91c5b9 100644 --- a/src/meshlabplugins/edit_paint/CMakeLists.txt +++ b/src/meshlabplugins/edit_paint/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/edit_paint.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES edit_paint.cpp edit_paint_factory.cpp paintbox.cpp) @@ -27,5 +29,7 @@ set_property(TARGET edit_paint PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_paint PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_paint DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_paint + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/edit_pickpoints/CMakeLists.txt b/src/meshlabplugins/edit_pickpoints/CMakeLists.txt index 184e418eb..632c21e3b 100644 --- a/src/meshlabplugins/edit_pickpoints/CMakeLists.txt +++ b/src/meshlabplugins/edit_pickpoints/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_pickpoints.cmake, +### then re-run ./make-cmake.py set(SOURCES edit_pickpoints_factory.cpp editpickpoints.cpp pickPointsTemplate.cpp pickedPoints.cpp pickpointsDialog.cpp) @@ -26,5 +29,7 @@ set_property(TARGET edit_pickpoints PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_pickpoints PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_pickpoints DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS edit_pickpoints + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/edit_point/CMakeLists.txt b/src/meshlabplugins/edit_point/CMakeLists.txt index 5bc7a9f21..ef1ef86d8 100644 --- a/src/meshlabplugins/edit_point/CMakeLists.txt +++ b/src/meshlabplugins/edit_point/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_point.cmake, +### then re-run ./make-cmake.py set(SOURCES edit_point.cpp edit_point_factory.cpp) @@ -22,5 +25,7 @@ set_property(TARGET edit_point PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_point PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_point DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_point + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/edit_quality/CMakeLists.txt b/src/meshlabplugins/edit_quality/CMakeLists.txt index 3a2357b12..624e99ae7 100644 --- a/src/meshlabplugins/edit_quality/CMakeLists.txt +++ b/src/meshlabplugins/edit_quality/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/edit_quality.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES common/meshmethods.cpp @@ -50,5 +52,7 @@ set_property(TARGET edit_quality PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_quality PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_quality DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS edit_quality + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/edit_referencing/CMakeLists.txt b/src/meshlabplugins/edit_referencing/CMakeLists.txt index 3c5912cb4..90c4ecc1a 100644 --- a/src/meshlabplugins/edit_referencing/CMakeLists.txt +++ b/src/meshlabplugins/edit_referencing/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/edit_referencing.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES edit_referencing.cpp edit_referencingDialog.cpp edit_referencing_factory.cpp) @@ -28,5 +30,7 @@ set_property(TARGET edit_referencing PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_referencing PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_referencing DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS edit_referencing + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/edit_sample/CMakeLists.txt b/src/meshlabplugins/edit_sample/CMakeLists.txt index 89e71fca1..586011890 100644 --- a/src/meshlabplugins/edit_sample/CMakeLists.txt +++ b/src/meshlabplugins/edit_sample/CMakeLists.txt @@ -1,11 +1,13 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/edit_sample.cmake (custom for this directory), +### then re-run ./make-cmake.py -set(SOURCES edit_sample_factory.cpp edit_sample.cpp) +set(SOURCES edit_sample.cpp edit_sample_factory.cpp) -set(HEADERS edit_sample_factory.h edit_sample.h) +set(HEADERS edit_sample.h edit_sample_factory.h) set(RESOURCES edit_sample.qrc) @@ -19,10 +21,12 @@ target_link_libraries(edit_sample PRIVATE OpenGL::GLU) set_property(TARGET edit_sample PROPERTY FOLDER Plugins) set_property(TARGET edit_sample PROPERTY RUNTIME_OUTPUT_DIRECTORY - ${MESHLAB_PLUGIN_OUTPUT_DIR}) + ${MESHLAB_PLUGIN_OUTPUT_DIR}) set_property(TARGET edit_sample PROPERTY LIBRARY_OUTPUT_DIRECTORY - ${MESHLAB_PLUGIN_OUTPUT_DIR}) + ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_sample DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_sample + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/edit_select/CMakeLists.txt b/src/meshlabplugins/edit_select/CMakeLists.txt index 7e517fabb..01faabd3b 100644 --- a/src/meshlabplugins/edit_select/CMakeLists.txt +++ b/src/meshlabplugins/edit_select/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_select.cmake, +### then re-run ./make-cmake.py set(SOURCES edit_select.cpp edit_select_factory.cpp) @@ -22,5 +25,7 @@ set_property(TARGET edit_select PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_select PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_select DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_select + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/edit_slice/CMakeLists.txt b/src/meshlabplugins/edit_slice/CMakeLists.txt index 3e8fcbf45..7d26c3410 100644 --- a/src/meshlabplugins/edit_slice/CMakeLists.txt +++ b/src/meshlabplugins/edit_slice/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_slice.cmake, +### then re-run ./make-cmake.py set(SOURCES edit_slice_factory.cpp editslice.cpp slicedialog.cpp svgpro.cpp) @@ -24,5 +27,7 @@ set_property(TARGET edit_slice PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_slice PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_slice DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_slice + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/edit_texture/CMakeLists.txt b/src/meshlabplugins/edit_texture/CMakeLists.txt index 4c0d4f46f..a81925d8b 100644 --- a/src/meshlabplugins/edit_texture/CMakeLists.txt +++ b/src/meshlabplugins/edit_texture/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_texture.cmake, +### then re-run ./make-cmake.py set(SOURCES edit_texture_factory.cpp edittexture.cpp renderarea.cpp textureeditor.cpp) @@ -25,5 +28,7 @@ set_property(TARGET edit_texture PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_texture PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_texture DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS edit_texture + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_aging/CMakeLists.txt b/src/meshlabplugins/filter_aging/CMakeLists.txt index 3dd916961..ef52b5091 100644 --- a/src/meshlabplugins/filter_aging/CMakeLists.txt +++ b/src/meshlabplugins/filter_aging/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_aging.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_aging.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_aging PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_aging PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_aging DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_aging + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_ao/CMakeLists.txt b/src/meshlabplugins/filter_ao/CMakeLists.txt index e8d620673..db066df05 100644 --- a/src/meshlabplugins/filter_ao/CMakeLists.txt +++ b/src/meshlabplugins/filter_ao/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_ao.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES filter_ao.cpp) @@ -24,5 +26,7 @@ set_property(TARGET filter_ao PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_ao PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_ao DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS filter_ao + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_bnpts/CMakeLists.txt b/src/meshlabplugins/filter_bnpts/CMakeLists.txt index 40ee0c718..bd689f44b 100644 --- a/src/meshlabplugins/filter_bnpts/CMakeLists.txt +++ b/src/meshlabplugins/filter_bnpts/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_bnpts.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_bnpts.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_bnpts PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_bnpts PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_bnpts DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_bnpts + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_camera/CMakeLists.txt b/src/meshlabplugins/filter_camera/CMakeLists.txt index 3fa1ce334..88be5df47 100644 --- a/src/meshlabplugins/filter_camera/CMakeLists.txt +++ b/src/meshlabplugins/filter_camera/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_camera.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_camera.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_camera PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_camera PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_camera DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_camera + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_clean/CMakeLists.txt b/src/meshlabplugins/filter_clean/CMakeLists.txt index 6d74d9441..f2801b6be 100644 --- a/src/meshlabplugins/filter_clean/CMakeLists.txt +++ b/src/meshlabplugins/filter_clean/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_clean.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES cleanfilter.cpp) @@ -20,5 +22,7 @@ set_property(TARGET filter_clean PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_clean PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_clean DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_clean + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_color_projection/CMakeLists.txt b/src/meshlabplugins/filter_color_projection/CMakeLists.txt index 526a511fb..9dbebb4d5 100644 --- a/src/meshlabplugins/filter_color_projection/CMakeLists.txt +++ b/src/meshlabplugins/filter_color_projection/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_color_projection.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES filter_color_projection.cpp) @@ -22,5 +24,7 @@ set_property(TARGET filter_color_projection set_property(TARGET filter_color_projection PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_color_projection DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS filter_color_projection + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_colorproc/CMakeLists.txt b/src/meshlabplugins/filter_colorproc/CMakeLists.txt index 375c06c17..3be29c8e5 100644 --- a/src/meshlabplugins/filter_colorproc/CMakeLists.txt +++ b/src/meshlabplugins/filter_colorproc/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_colorproc.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_colorproc.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_colorproc PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_colorproc PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_colorproc DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_colorproc + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_create/CMakeLists.txt b/src/meshlabplugins/filter_create/CMakeLists.txt index 6a728b036..d27511df5 100644 --- a/src/meshlabplugins/filter_create/CMakeLists.txt +++ b/src/meshlabplugins/filter_create/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_create.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_create.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_create PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_create PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_create DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_create + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_createiso/CMakeLists.txt b/src/meshlabplugins/filter_createiso/CMakeLists.txt index e5a36c07b..47dc5920d 100644 --- a/src/meshlabplugins/filter_createiso/CMakeLists.txt +++ b/src/meshlabplugins/filter_createiso/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_createiso.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_createiso.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_createiso PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_createiso PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_createiso DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_createiso + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_csg/CMakeLists.txt b/src/meshlabplugins/filter_csg/CMakeLists.txt index fed5aae4e..f0c657784 100644 --- a/src/meshlabplugins/filter_csg/CMakeLists.txt +++ b/src/meshlabplugins/filter_csg/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_csg.cmake (custom for this directory), +### then re-run ./make-cmake.py # Only build if we have gmp/gmpxx or mpir if(TARGET external-gmp OR TARGET external-mpir) @@ -30,8 +32,10 @@ if(TARGET external-gmp OR TARGET external-mpir) set_property(TARGET filter_csg PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) - install(TARGETS filter_csg DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) + install( + TARGETS filter_csg + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) else() message( diff --git a/src/meshlabplugins/filter_dirt/CMakeLists.txt b/src/meshlabplugins/filter_dirt/CMakeLists.txt index 54bd0926e..870cb0edf 100644 --- a/src/meshlabplugins/filter_dirt/CMakeLists.txt +++ b/src/meshlabplugins/filter_dirt/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_dirt.cmake, +### then re-run ./make-cmake.py set(SOURCES dirt_utils.cpp filter_dirt.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_dirt PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_dirt PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_dirt DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS filter_dirt + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_fractal/CMakeLists.txt b/src/meshlabplugins/filter_fractal/CMakeLists.txt index 48ab0398c..ab5aab228 100644 --- a/src/meshlabplugins/filter_fractal/CMakeLists.txt +++ b/src/meshlabplugins/filter_fractal/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_fractal.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_fractal.cpp) @@ -22,5 +25,7 @@ set_property(TARGET filter_fractal PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_fractal PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_fractal DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_fractal + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_func/CMakeLists.txt b/src/meshlabplugins/filter_func/CMakeLists.txt index f488c917b..1822d23cd 100644 --- a/src/meshlabplugins/filter_func/CMakeLists.txt +++ b/src/meshlabplugins/filter_func/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_func.cmake (custom for this directory), +### then re-run ./make-cmake.py # Only build if we have muparser if(TARGET external-muparser) @@ -25,8 +27,10 @@ if(TARGET external-muparser) set_property(TARGET filter_func PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) - install(TARGETS filter_func DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) + install( + TARGETS filter_func + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) else() message(STATUS "Skipping filter_func - don't have muparser.") diff --git a/src/meshlabplugins/filter_geodesic/CMakeLists.txt b/src/meshlabplugins/filter_geodesic/CMakeLists.txt index 950386d5d..b37ff488a 100644 --- a/src/meshlabplugins/filter_geodesic/CMakeLists.txt +++ b/src/meshlabplugins/filter_geodesic/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_geodesic.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_geodesic.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_geodesic PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_geodesic PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_geodesic DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_geodesic + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_img_patch_param/CMakeLists.txt b/src/meshlabplugins/filter_img_patch_param/CMakeLists.txt index 081567d96..c81048e01 100644 --- a/src/meshlabplugins/filter_img_patch_param/CMakeLists.txt +++ b/src/meshlabplugins/filter_img_patch_param/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_img_patch_param.cmake, +### then re-run ./make-cmake.py set(SOURCES TexturePainter.cpp VisibilityCheck.cpp VisibleSet.cpp filter_img_patch_param.cpp) @@ -23,5 +26,7 @@ set_property(TARGET filter_img_patch_param set_property(TARGET filter_img_patch_param PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_img_patch_param DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS filter_img_patch_param + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_isoparametrization/CMakeLists.txt b/src/meshlabplugins/filter_isoparametrization/CMakeLists.txt index 396b73596..b97aed5d2 100644 --- a/src/meshlabplugins/filter_isoparametrization/CMakeLists.txt +++ b/src/meshlabplugins/filter_isoparametrization/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_isoparametrization.cmake (custom for this directory), +### then re-run ./make-cmake.py # Only build if we have newuoa and levmar if(TARGET external-newuoa AND TARGET external-levmar) @@ -54,8 +56,10 @@ if(TARGET external-newuoa AND TARGET external-levmar) set_property(TARGET filter_isoparametrization PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) - install(TARGETS filter_isoparametrization DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) + install( + TARGETS filter_isoparametrization + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) else() message( diff --git a/src/meshlabplugins/filter_layer/CMakeLists.txt b/src/meshlabplugins/filter_layer/CMakeLists.txt index 7cf1e9e4b..ca3254080 100644 --- a/src/meshlabplugins/filter_layer/CMakeLists.txt +++ b/src/meshlabplugins/filter_layer/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_layer.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_layer.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_layer PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_layer PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_layer DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_layer + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_measure/CMakeLists.txt b/src/meshlabplugins/filter_measure/CMakeLists.txt index 5a14d287e..6664615cb 100644 --- a/src/meshlabplugins/filter_measure/CMakeLists.txt +++ b/src/meshlabplugins/filter_measure/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_measure.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_measure.cpp) @@ -24,5 +27,7 @@ set_property(TARGET filter_measure PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_measure PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_measure DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_measure + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_meshing/CMakeLists.txt b/src/meshlabplugins/filter_meshing/CMakeLists.txt index 6e112cd91..409a21637 100644 --- a/src/meshlabplugins/filter_meshing/CMakeLists.txt +++ b/src/meshlabplugins/filter_meshing/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_meshing.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES meshfilter.cpp quadric_simp.cpp) @@ -22,5 +24,7 @@ set_property(TARGET filter_meshing PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_meshing PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_meshing DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_meshing + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_mls/CMakeLists.txt b/src/meshlabplugins/filter_mls/CMakeLists.txt index c055b7b4f..ff58e2d28 100644 --- a/src/meshlabplugins/filter_mls/CMakeLists.txt +++ b/src/meshlabplugins/filter_mls/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_mls.cmake, +### then re-run ./make-cmake.py set(SOURCES apss.cpp balltree.cpp mlsplugin.cpp rimls.cpp) @@ -29,5 +32,7 @@ set_property(TARGET filter_mls PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_mls PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_mls DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS filter_mls + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_mutualglobal/CMakeLists.txt b/src/meshlabplugins/filter_mutualglobal/CMakeLists.txt index f2ae4213b..18c1818af 100644 --- a/src/meshlabplugins/filter_mutualglobal/CMakeLists.txt +++ b/src/meshlabplugins/filter_mutualglobal/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_mutualglobal.cmake (custom for this directory), +### then re-run ./make-cmake.py # Only build if we have newuoa and levmar if(TARGET external-newuoa AND TARGET external-levmar) @@ -45,8 +47,10 @@ if(TARGET external-newuoa AND TARGET external-levmar) set_property(TARGET filter_mutualglobal PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) - install(TARGETS filter_mutualglobal DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) + install( + TARGETS filter_mutualglobal + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) else() message( diff --git a/src/meshlabplugins/filter_mutualinfo/CMakeLists.txt b/src/meshlabplugins/filter_mutualinfo/CMakeLists.txt index 53288a657..c99fc58e0 100644 --- a/src/meshlabplugins/filter_mutualinfo/CMakeLists.txt +++ b/src/meshlabplugins/filter_mutualinfo/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_mutualinfo.cmake (custom for this directory), +### then re-run ./make-cmake.py # Only build if we have newuoa and levmar if(TARGET external-newuoa AND TARGET external-levmar) @@ -47,8 +49,10 @@ if(TARGET external-newuoa AND TARGET external-levmar) set_property(TARGET filter_mutualinfo PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) - install(TARGETS filter_mutualinfo DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) + install( + TARGETS filter_mutualinfo + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) else() message( diff --git a/src/meshlabplugins/filter_plymc/CMakeLists.txt b/src/meshlabplugins/filter_plymc/CMakeLists.txt index b2af831b1..ed02ccd1b 100644 --- a/src/meshlabplugins/filter_plymc/CMakeLists.txt +++ b/src/meshlabplugins/filter_plymc/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_plymc.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES filter_plymc.cpp ${VCGDIR}/wrap/ply/plylib.cpp) @@ -22,5 +24,7 @@ set_property(TARGET filter_plymc PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_plymc PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_plymc DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_plymc + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_qhull/CMakeLists.txt b/src/meshlabplugins/filter_qhull/CMakeLists.txt index 9593be875..e00f38210 100644 --- a/src/meshlabplugins/filter_qhull/CMakeLists.txt +++ b/src/meshlabplugins/filter_qhull/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_qhull.cmake (custom for this directory), +### then re-run ./make-cmake.py # Only build if we have qhull if(TARGET external-qhull) @@ -25,8 +27,10 @@ if(TARGET external-qhull) set_property(TARGET filter_qhull PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) - install(TARGETS filter_qhull DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) + install( + TARGETS filter_qhull + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) else() message(STATUS "Skipping filter_qhull - missing qhull") diff --git a/src/meshlabplugins/filter_quality/CMakeLists.txt b/src/meshlabplugins/filter_quality/CMakeLists.txt index 80036fc22..b1847d9b0 100644 --- a/src/meshlabplugins/filter_quality/CMakeLists.txt +++ b/src/meshlabplugins/filter_quality/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_quality.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES filterqualitymapper.cpp ../edit_quality/common/meshmethods.cpp @@ -25,5 +27,7 @@ set_property(TARGET filter_quality PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_quality PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_quality DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_quality + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_sample/CMakeLists.txt b/src/meshlabplugins/filter_sample/CMakeLists.txt index bd53bbb81..d39f2f9e4 100644 --- a/src/meshlabplugins/filter_sample/CMakeLists.txt +++ b/src/meshlabplugins/filter_sample/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_sample.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_sample.cpp) @@ -15,10 +18,12 @@ target_link_libraries(filter_sample PUBLIC common) set_property(TARGET filter_sample PROPERTY FOLDER Plugins) set_property(TARGET filter_sample PROPERTY RUNTIME_OUTPUT_DIRECTORY - ${MESHLAB_PLUGIN_OUTPUT_DIR}) + ${MESHLAB_PLUGIN_OUTPUT_DIR}) set_property(TARGET filter_sample PROPERTY LIBRARY_OUTPUT_DIRECTORY - ${MESHLAB_PLUGIN_OUTPUT_DIR}) + ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_sample DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_sample + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_sample_dyn/CMakeLists.txt b/src/meshlabplugins/filter_sample_dyn/CMakeLists.txt index ec0aecf0c..9feaa4678 100644 --- a/src/meshlabplugins/filter_sample_dyn/CMakeLists.txt +++ b/src/meshlabplugins/filter_sample_dyn/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_sample_dyn.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_sample_dyn.cpp) @@ -9,16 +12,19 @@ set(HEADERS filter_sample_dyn.h) add_library(filter_sample_dyn MODULE ${SOURCES} ${HEADERS}) -target_include_directories(filter_sample_dyn PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) +target_include_directories(filter_sample_dyn + PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) target_link_libraries(filter_sample_dyn PUBLIC common) set_property(TARGET filter_sample_dyn PROPERTY FOLDER Plugins) set_property(TARGET filter_sample_dyn PROPERTY RUNTIME_OUTPUT_DIRECTORY - ${MESHLAB_PLUGIN_OUTPUT_DIR}) + ${MESHLAB_PLUGIN_OUTPUT_DIR}) set_property(TARGET filter_sample_dyn PROPERTY LIBRARY_OUTPUT_DIRECTORY - ${MESHLAB_PLUGIN_OUTPUT_DIR}) + ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_sample_dyn DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_sample_dyn + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_sample_gpu/CMakeLists.txt b/src/meshlabplugins/filter_sample_gpu/CMakeLists.txt index 70056e70b..5462b8a5c 100644 --- a/src/meshlabplugins/filter_sample_gpu/CMakeLists.txt +++ b/src/meshlabplugins/filter_sample_gpu/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_sample_gpu.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES filter_sample_gpu.cpp) @@ -9,7 +11,8 @@ set(HEADERS filter_sample_gpu.h) add_library(filter_sample_gpu MODULE ${SOURCES} ${HEADERS}) -target_include_directories(filter_sample_gpu PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) +target_include_directories(filter_sample_gpu + PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) target_link_libraries(filter_sample_gpu PUBLIC common) target_link_libraries(filter_sample_gpu PRIVATE OpenGL::GLU) @@ -17,10 +20,12 @@ target_link_libraries(filter_sample_gpu PRIVATE OpenGL::GLU) set_property(TARGET filter_sample_gpu PROPERTY FOLDER Plugins) set_property(TARGET filter_sample_gpu PROPERTY RUNTIME_OUTPUT_DIRECTORY - ${MESHLAB_PLUGIN_OUTPUT_DIR}) + ${MESHLAB_PLUGIN_OUTPUT_DIR}) set_property(TARGET filter_sample_gpu PROPERTY LIBRARY_OUTPUT_DIRECTORY - ${MESHLAB_PLUGIN_OUTPUT_DIR}) + ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_sample_gpu DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_sample_gpu + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_sampling/CMakeLists.txt b/src/meshlabplugins/filter_sampling/CMakeLists.txt index 6942af72f..67f461766 100644 --- a/src/meshlabplugins/filter_sampling/CMakeLists.txt +++ b/src/meshlabplugins/filter_sampling/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_sampling.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_sampling.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_sampling PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_sampling PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_sampling DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_sampling + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_screened_poisson/CMakeLists.txt b/src/meshlabplugins/filter_screened_poisson/CMakeLists.txt index 3cfef1a52..c9bb79c0c 100644 --- a/src/meshlabplugins/filter_screened_poisson/CMakeLists.txt +++ b/src/meshlabplugins/filter_screened_poisson/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_screened_poisson.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES filter_screened_poisson.cpp Src/MarchingCubes.cpp @@ -31,13 +33,13 @@ set(HEADERS Src/SparseMatrix.h Src/Time.h Src/Vector.h - poisson_utils.h - filter_screened_poisson.h) + filter_screened_poisson.h + poisson_utils.h) add_library(filter_screened_poisson MODULE ${SOURCES} ${HEADERS}) target_compile_definitions(filter_screened_poisson PRIVATE BRUNO_LEVY_FIX - FOR_RELEASE) + FOR_RELEASE) if(OpenMP_CXX_FOUND) target_link_libraries(filter_screened_poisson PRIVATE OpenMP::OpenMP_CXX) @@ -55,5 +57,7 @@ set_property(TARGET filter_screened_poisson set_property(TARGET filter_screened_poisson PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_screened_poisson DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS filter_screened_poisson + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_sdfgpu/CMakeLists.txt b/src/meshlabplugins/filter_sdfgpu/CMakeLists.txt index 023fd31cd..8617202c4 100644 --- a/src/meshlabplugins/filter_sdfgpu/CMakeLists.txt +++ b/src/meshlabplugins/filter_sdfgpu/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_sdfgpu.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES filter_sdfgpu.cpp @@ -42,5 +44,7 @@ set_property(TARGET filter_sdfgpu PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_sdfgpu PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_sdfgpu DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_sdfgpu + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_select/CMakeLists.txt b/src/meshlabplugins/filter_select/CMakeLists.txt index d5b0f890e..f2cf6a737 100644 --- a/src/meshlabplugins/filter_select/CMakeLists.txt +++ b/src/meshlabplugins/filter_select/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_select.cmake, +### then re-run ./make-cmake.py set(SOURCES meshselect.cpp) @@ -22,5 +25,7 @@ set_property(TARGET filter_select PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_select PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_select DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_select + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_sketchfab/CMakeLists.txt b/src/meshlabplugins/filter_sketchfab/CMakeLists.txt index 4c1a799cf..17f31d656 100644 --- a/src/meshlabplugins/filter_sketchfab/CMakeLists.txt +++ b/src/meshlabplugins/filter_sketchfab/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_sketchfab.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES filter_sketchfab.cpp ${VCGDIR}/wrap/ply/plylib.cpp) @@ -24,5 +26,7 @@ set_property(TARGET filter_sketchfab PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_sketchfab PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_sketchfab DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_sketchfab + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_ssynth/CMakeLists.txt b/src/meshlabplugins/filter_ssynth/CMakeLists.txt index 7c0177592..3f5528dbe 100644 --- a/src/meshlabplugins/filter_ssynth/CMakeLists.txt +++ b/src/meshlabplugins/filter_ssynth/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_ssynth.cmake (custom for this directory), +### then re-run ./make-cmake.py # Only build if we have structure-synth if(TARGET external-ssynth) @@ -37,8 +39,10 @@ if(TARGET external-ssynth) set_property(TARGET filter_ssynth PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) - install(TARGETS filter_ssynth DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) + install( + TARGETS filter_ssynth + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) else() message(STATUS "Skipping filter_ssynth - missing structure-synth sources.") diff --git a/src/meshlabplugins/filter_texture/CMakeLists.txt b/src/meshlabplugins/filter_texture/CMakeLists.txt index 571665a4c..18fa388b9 100644 --- a/src/meshlabplugins/filter_texture/CMakeLists.txt +++ b/src/meshlabplugins/filter_texture/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_texture.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES filter_texture.cpp ${VCGDIR}/wrap/ply/plylib.cpp ${VCGDIR}/wrap/qt/outline2_rasterizer.cpp) @@ -26,5 +28,7 @@ set_property(TARGET filter_texture PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_texture PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_texture DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_texture + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_trioptimize/CMakeLists.txt b/src/meshlabplugins/filter_trioptimize/CMakeLists.txt index d0854d76c..589e375d1 100644 --- a/src/meshlabplugins/filter_trioptimize/CMakeLists.txt +++ b/src/meshlabplugins/filter_trioptimize/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_trioptimize.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_trioptimize.cpp) @@ -21,5 +24,7 @@ set_property(TARGET filter_trioptimize PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_trioptimize PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_trioptimize DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_trioptimize + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_unsharp/CMakeLists.txt b/src/meshlabplugins/filter_unsharp/CMakeLists.txt index 56bcecd7a..ecb8b0640 100644 --- a/src/meshlabplugins/filter_unsharp/CMakeLists.txt +++ b/src/meshlabplugins/filter_unsharp/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_unsharp.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_unsharp.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_unsharp PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_unsharp PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_unsharp DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_unsharp + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/filter_voronoi/CMakeLists.txt b/src/meshlabplugins/filter_voronoi/CMakeLists.txt index 902b88fb0..8ede5d196 100644 --- a/src/meshlabplugins/filter_voronoi/CMakeLists.txt +++ b/src/meshlabplugins/filter_voronoi/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_voronoi.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_voronoi.cpp) @@ -24,5 +27,7 @@ set_property(TARGET filter_voronoi PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_voronoi PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_voronoi DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_voronoi + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/io_3ds/CMakeLists.txt b/src/meshlabplugins/io_3ds/CMakeLists.txt index 749797e07..2fbf80c3a 100644 --- a/src/meshlabplugins/io_3ds/CMakeLists.txt +++ b/src/meshlabplugins/io_3ds/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/io_3ds.cmake (custom for this directory), +### then re-run ./make-cmake.py # Only build if we have lib3ds if(TARGET external-lib3ds) @@ -25,8 +27,10 @@ if(TARGET external-lib3ds) set_property(TARGET io_3ds PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) - install(TARGETS io_3ds DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) + install( + TARGETS io_3ds + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) else() message( diff --git a/src/meshlabplugins/io_base/CMakeLists.txt b/src/meshlabplugins/io_base/CMakeLists.txt index ab4b45338..97ef56993 100644 --- a/src/meshlabplugins/io_base/CMakeLists.txt +++ b/src/meshlabplugins/io_base/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/io_base.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES baseio.cpp ${VCGDIR}/wrap/openfbx/src/miniz.c ${VCGDIR}/wrap/openfbx/src/ofbx.cpp ${VCGDIR}/wrap/ply/plylib.cpp) @@ -35,5 +37,7 @@ set_property(TARGET io_base PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_base PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_base DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_base + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/io_bre/CMakeLists.txt b/src/meshlabplugins/io_bre/CMakeLists.txt index 43352f8b9..726599947 100644 --- a/src/meshlabplugins/io_bre/CMakeLists.txt +++ b/src/meshlabplugins/io_bre/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/io_bre.cmake, +### then re-run ./make-cmake.py set(SOURCES io_bre.cpp) @@ -20,5 +23,7 @@ set_property(TARGET io_bre PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_bre PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_bre DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_bre + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/io_collada/CMakeLists.txt b/src/meshlabplugins/io_collada/CMakeLists.txt index 3996f071e..f107291b0 100644 --- a/src/meshlabplugins/io_collada/CMakeLists.txt +++ b/src/meshlabplugins/io_collada/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/io_collada.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES io_collada.cpp ${VCGDIR}/wrap/dae/xmldocumentmanaging.cpp) @@ -26,5 +28,7 @@ set_property(TARGET io_collada PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_collada PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_collada DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_collada + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/io_ctm/CMakeLists.txt b/src/meshlabplugins/io_ctm/CMakeLists.txt index ba4fcdf58..f16a94943 100644 --- a/src/meshlabplugins/io_ctm/CMakeLists.txt +++ b/src/meshlabplugins/io_ctm/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/io_ctm.cmake (custom for this directory), +### then re-run ./make-cmake.py # Only build if we have OpenCTM if(TARGET external-openctm) @@ -25,8 +27,10 @@ if(TARGET external-openctm) set_property(TARGET io_ctm PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) - install(TARGETS io_ctm DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) + install( + TARGETS io_ctm + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) else() message(STATUS "Skipping io_ctm - missing OpenCTM.") diff --git a/src/meshlabplugins/io_expe/CMakeLists.txt b/src/meshlabplugins/io_expe/CMakeLists.txt index 7a30acc77..aaa1bcf5a 100644 --- a/src/meshlabplugins/io_expe/CMakeLists.txt +++ b/src/meshlabplugins/io_expe/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/io_expe.cmake, +### then re-run ./make-cmake.py set(SOURCES io_expe.cpp) @@ -20,5 +23,7 @@ set_property(TARGET io_expe PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_expe PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_expe DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_expe + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/io_json/CMakeLists.txt b/src/meshlabplugins/io_json/CMakeLists.txt index 6e3aa95ef..5566031a3 100644 --- a/src/meshlabplugins/io_json/CMakeLists.txt +++ b/src/meshlabplugins/io_json/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/io_json.cmake, +### then re-run ./make-cmake.py set(SOURCES io_json.cpp) @@ -20,5 +23,7 @@ set_property(TARGET io_json PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_json PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_json DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_json + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/io_pdb/CMakeLists.txt b/src/meshlabplugins/io_pdb/CMakeLists.txt index 7afa73a17..f393461e4 100644 --- a/src/meshlabplugins/io_pdb/CMakeLists.txt +++ b/src/meshlabplugins/io_pdb/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/io_pdb.cmake, +### then re-run ./make-cmake.py set(SOURCES io_pdb.cpp) @@ -20,5 +23,7 @@ set_property(TARGET io_pdb PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_pdb PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_pdb DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_pdb + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/io_tri/CMakeLists.txt b/src/meshlabplugins/io_tri/CMakeLists.txt index 1aa6c87f2..bfb17f7ec 100644 --- a/src/meshlabplugins/io_tri/CMakeLists.txt +++ b/src/meshlabplugins/io_tri/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/io_tri.cmake, +### then re-run ./make-cmake.py set(SOURCES io_tri.cpp) @@ -20,5 +23,7 @@ set_property(TARGET io_tri PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_tri PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_tri DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_tri + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/io_txt/CMakeLists.txt b/src/meshlabplugins/io_txt/CMakeLists.txt index 8c784dfb2..924a4f7cc 100644 --- a/src/meshlabplugins/io_txt/CMakeLists.txt +++ b/src/meshlabplugins/io_txt/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/io_txt.cmake, +### then re-run ./make-cmake.py set(SOURCES io_txt.cpp) @@ -20,5 +23,7 @@ set_property(TARGET io_txt PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_txt PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_txt DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_txt + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/io_u3d/CMakeLists.txt b/src/meshlabplugins/io_u3d/CMakeLists.txt index 5afa1dc3c..be9434bee 100644 --- a/src/meshlabplugins/io_u3d/CMakeLists.txt +++ b/src/meshlabplugins/io_u3d/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/io_u3d.cmake, +### then re-run ./make-cmake.py set(SOURCES io_u3d.cpp) @@ -20,5 +23,7 @@ set_property(TARGET io_u3d PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_u3d PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_u3d DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_u3d + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/io_x3d/CMakeLists.txt b/src/meshlabplugins/io_x3d/CMakeLists.txt index 3566783f2..5adda8c4c 100644 --- a/src/meshlabplugins/io_x3d/CMakeLists.txt +++ b/src/meshlabplugins/io_x3d/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/io_x3d.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES io_x3d.cpp vrml/Parser.cpp vrml/Scanner.cpp) @@ -23,5 +25,7 @@ set_property(TARGET io_x3d PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_x3d PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_x3d DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_x3d + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/render_gdp/CMakeLists.txt b/src/meshlabplugins/render_gdp/CMakeLists.txt index 34753336f..7b27c289e 100644 --- a/src/meshlabplugins/render_gdp/CMakeLists.txt +++ b/src/meshlabplugins/render_gdp/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/render_gdp.cmake, +### then re-run ./make-cmake.py set(SOURCES meshrender.cpp shaderDialog.cpp textfile.cpp) @@ -22,5 +25,7 @@ set_property(TARGET render_gdp PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET render_gdp PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS render_gdp DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS render_gdp + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabplugins/render_radiance_scaling/CMakeLists.txt b/src/meshlabplugins/render_radiance_scaling/CMakeLists.txt index 63d67964c..10c4f22df 100644 --- a/src/meshlabplugins/render_radiance_scaling/CMakeLists.txt +++ b/src/meshlabplugins/render_radiance_scaling/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/render_radiance_scaling.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES framebufferObject.cpp @@ -43,5 +45,7 @@ set_property(TARGET render_radiance_scaling set_property(TARGET render_radiance_scaling PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS render_radiance_scaling DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS render_radiance_scaling + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/meshlabserver/CMakeLists.txt b/src/meshlabserver/CMakeLists.txt index 75ae5037f..2d230bed8 100644 --- a/src/meshlabserver/CMakeLists.txt +++ b/src/meshlabserver/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/meshlabserver.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES mainserver.cpp) @@ -16,11 +18,13 @@ add_executable(meshlabserver ${SOURCES} ${HEADERS} ${RESOURCES} ${UI}) target_compile_definitions( meshlabserver PUBLIC QT_DISABLE_DEPRECATED_BEFORE=0x000000 - NO_XSERVER_DEPENDENCY) + NO_XSERVER_DEPENDENCY) target_include_directories(meshlabserver PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) target_link_libraries(meshlabserver PUBLIC common Qt5::Network) set_property(TARGET meshlabserver PROPERTY FOLDER Core) -install(TARGETS meshlabserver DESTINATION ${MESHLAB_BIN_INSTALL_DIR} COMPONENT - MeshLab-Server) +install( + TARGETS meshlabserver + DESTINATION ${MESHLAB_BIN_INSTALL_DIR} + COMPONENT MeshLab-Server) diff --git a/src/plugins_experimental/edit_CADtexturing/CMakeLists.txt b/src/plugins_experimental/edit_CADtexturing/CMakeLists.txt index 84409cd92..1024d0af0 100644 --- a/src/plugins_experimental/edit_CADtexturing/CMakeLists.txt +++ b/src/plugins_experimental/edit_CADtexturing/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_CADtexturing.cmake, +### then re-run ./make-cmake.py set(SOURCES CADtexturingControl.cpp CADtexturingedit.cpp edit_CADtexturing_factory.cpp @@ -29,5 +32,7 @@ set_property(TARGET edit_CADtexturing PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_CADtexturing PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_CADtexturing DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS edit_CADtexturing + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/edit_kinect/CMakeLists.txt b/src/plugins_experimental/edit_kinect/CMakeLists.txt index 141473cb0..134e2dc6f 100644 --- a/src/plugins_experimental/edit_kinect/CMakeLists.txt +++ b/src/plugins_experimental/edit_kinect/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_kinect.cmake, +### then re-run ./make-cmake.py set(SOURCES calibration_load.cpp edit_kinect.cpp edit_kinect_factory.cpp freenect.cpp glarea.cpp) @@ -26,5 +29,7 @@ set_property(TARGET edit_kinect PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_kinect PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_kinect DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_kinect + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/edit_ocme/CMakeLists.txt b/src/plugins_experimental/edit_ocme/CMakeLists.txt index cbd72a309..684fc06d4 100644 --- a/src/plugins_experimental/edit_ocme/CMakeLists.txt +++ b/src/plugins_experimental/edit_ocme/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_ocme.cmake, +### then re-run ./make-cmake.py set(SOURCES edit_ocme.cpp @@ -110,5 +113,7 @@ set_property(TARGET edit_ocme PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_ocme PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_ocme DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_ocme + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/edit_paint/CMakeLists.txt b/src/plugins_experimental/edit_paint/CMakeLists.txt index caf69de13..0fa91c5b9 100644 --- a/src/plugins_experimental/edit_paint/CMakeLists.txt +++ b/src/plugins_experimental/edit_paint/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/edit_paint.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES edit_paint.cpp edit_paint_factory.cpp paintbox.cpp) @@ -27,5 +29,7 @@ set_property(TARGET edit_paint PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_paint PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_paint DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_paint + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/edit_panosample/CMakeLists.txt b/src/plugins_experimental/edit_panosample/CMakeLists.txt index 85dd14353..17657b731 100644 --- a/src/plugins_experimental/edit_panosample/CMakeLists.txt +++ b/src/plugins_experimental/edit_panosample/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_panosample.cmake, +### then re-run ./make-cmake.py set(SOURCES edit_panosample.cpp edit_panosample_factory.cpp qualitychecker.cpp) @@ -23,5 +26,7 @@ set_property(TARGET edit_panosample PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_panosample PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_panosample DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS edit_panosample + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/edit_scan/CMakeLists.txt b/src/plugins_experimental/edit_scan/CMakeLists.txt index 65de72bba..2dabebaa8 100644 --- a/src/plugins_experimental/edit_scan/CMakeLists.txt +++ b/src/plugins_experimental/edit_scan/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_scan.cmake, +### then re-run ./make-cmake.py set(SOURCES edit_scan.cpp) @@ -24,5 +27,7 @@ set_property(TARGET edit_scan PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_scan PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_scan DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_scan + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/edit_vase/CMakeLists.txt b/src/plugins_experimental/edit_vase/CMakeLists.txt index c75844222..d88e6ddd5 100644 --- a/src/plugins_experimental/edit_vase/CMakeLists.txt +++ b/src/plugins_experimental/edit_vase/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_vase.cmake, +### then re-run ./make-cmake.py set(SOURCES balloon.cpp @@ -42,5 +45,7 @@ set_property(TARGET edit_vase PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_vase PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_vase DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_vase + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/filter_3dcoform/CMakeLists.txt b/src/plugins_experimental/filter_3dcoform/CMakeLists.txt index 15e74eed0..934399dff 100644 --- a/src/plugins_experimental/filter_3dcoform/CMakeLists.txt +++ b/src/plugins_experimental/filter_3dcoform/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_3dcoform.cmake, +### then re-run ./make-cmake.py set(SOURCES coform_interface.cpp filter_3dcoform.cpp metadatafile_generator.cpp) @@ -22,5 +25,7 @@ set_property(TARGET filter_3dcoform PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_3dcoform PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_3dcoform DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_3dcoform + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/filter_info_vmust/CMakeLists.txt b/src/plugins_experimental/filter_info_vmust/CMakeLists.txt index e44e3a8a2..2d9506367 100644 --- a/src/plugins_experimental/filter_info_vmust/CMakeLists.txt +++ b/src/plugins_experimental/filter_info_vmust/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_info_vmust.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_info.cpp) @@ -21,5 +24,7 @@ set_property(TARGET filter_info_vmust PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_info_vmust PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_info_vmust DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_info_vmust + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/filter_multiscale_align/CMakeLists.txt b/src/plugins_experimental/filter_multiscale_align/CMakeLists.txt index 32c808ffe..e5bb66cd0 100644 --- a/src/plugins_experimental/filter_multiscale_align/CMakeLists.txt +++ b/src/plugins_experimental/filter_multiscale_align/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_multiscale_align.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_multiscale_align.cpp generic_align.cpp multiscale_align.cpp) @@ -74,5 +77,7 @@ set_property(TARGET filter_multiscale_align set_property(TARGET filter_multiscale_align PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_multiscale_align DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS filter_multiscale_align + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/filter_musical_instruments/CMakeLists.txt b/src/plugins_experimental/filter_musical_instruments/CMakeLists.txt index 4f4e06ff6..6454b7d97 100644 --- a/src/plugins_experimental/filter_musical_instruments/CMakeLists.txt +++ b/src/plugins_experimental/filter_musical_instruments/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_musical_instruments.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_musical_instruments.cpp) @@ -21,5 +24,7 @@ set_property(TARGET filter_musical_instruments set_property(TARGET filter_musical_instruments PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_musical_instruments DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS filter_musical_instruments + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/filter_ouput_optical_flow/CMakeLists.txt b/src/plugins_experimental/filter_ouput_optical_flow/CMakeLists.txt index 0117bd6a9..eaf0183ef 100644 --- a/src/plugins_experimental/filter_ouput_optical_flow/CMakeLists.txt +++ b/src/plugins_experimental/filter_ouput_optical_flow/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_ouput_optical_flow.cmake, +### then re-run ./make-cmake.py set(SOURCES DominancyClassifier.cpp @@ -42,5 +45,7 @@ set_property(TARGET filter_ouput_optical_flow set_property(TARGET filter_ouput_optical_flow PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_ouput_optical_flow DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS filter_ouput_optical_flow + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/filter_perceptualmetric/CMakeLists.txt b/src/plugins_experimental/filter_perceptualmetric/CMakeLists.txt index 6183a70a4..28de6559f 100644 --- a/src/plugins_experimental/filter_perceptualmetric/CMakeLists.txt +++ b/src/plugins_experimental/filter_perceptualmetric/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_perceptualmetric.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_perceptualmetric.cpp) @@ -21,5 +24,7 @@ set_property(TARGET filter_perceptualmetric set_property(TARGET filter_perceptualmetric PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_perceptualmetric DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS filter_perceptualmetric + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/filter_polygonal_polychord_collapse/CMakeLists.txt b/src/plugins_experimental/filter_polygonal_polychord_collapse/CMakeLists.txt index 2938b56fe..51da7a90a 100644 --- a/src/plugins_experimental/filter_polygonal_polychord_collapse/CMakeLists.txt +++ b/src/plugins_experimental/filter_polygonal_polychord_collapse/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_polygonal_polychord_collapse.cmake, +### then re-run ./make-cmake.py set(SOURCES polygonalpolychordcollapsefilter.cpp) @@ -21,5 +24,7 @@ set_property(TARGET filter_polygonal_polychord_collapse set_property(TARGET filter_polygonal_polychord_collapse PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_polygonal_polychord_collapse DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS filter_polygonal_polychord_collapse + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/filter_segmentation/CMakeLists.txt b/src/plugins_experimental/filter_segmentation/CMakeLists.txt index a15254ddc..d3fe7382c 100644 --- a/src/plugins_experimental/filter_segmentation/CMakeLists.txt +++ b/src/plugins_experimental/filter_segmentation/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_segmentation.cmake, +### then re-run ./make-cmake.py set(SOURCES HC_Segmenter.cpp RG_Segmenter.cpp Segmenter.cpp Utils.cpp meshsegmentation.cpp) @@ -23,5 +26,7 @@ set_property(TARGET filter_segmentation PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_segmentation PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_segmentation DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_segmentation + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/filter_vsa/CMakeLists.txt b/src/plugins_experimental/filter_vsa/CMakeLists.txt index 24b7d19ad..e5e612d11 100644 --- a/src/plugins_experimental/filter_vsa/CMakeLists.txt +++ b/src/plugins_experimental/filter_vsa/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_vsa.cmake, +### then re-run ./make-cmake.py set(SOURCES vsa.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_vsa PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_vsa PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_vsa DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS filter_vsa + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/filter_watermark/CMakeLists.txt b/src/plugins_experimental/filter_watermark/CMakeLists.txt index f65c8254a..62036d166 100644 --- a/src/plugins_experimental/filter_watermark/CMakeLists.txt +++ b/src/plugins_experimental/filter_watermark/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_watermark.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_watermark.cpp utilsWatermark.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_watermark PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_watermark PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_watermark DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_watermark + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/filter_web_export_vmust/CMakeLists.txt b/src/plugins_experimental/filter_web_export_vmust/CMakeLists.txt index d46d70896..67c806ecd 100644 --- a/src/plugins_experimental/filter_web_export_vmust/CMakeLists.txt +++ b/src/plugins_experimental/filter_web_export_vmust/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_web_export_vmust.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_web_export.cpp) @@ -21,5 +24,7 @@ set_property(TARGET filter_web_export_vmust set_property(TARGET filter_web_export_vmust PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_web_export_vmust DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS filter_web_export_vmust + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/io_3dcoform/CMakeLists.txt b/src/plugins_experimental/io_3dcoform/CMakeLists.txt index 636f9efcd..fff7a2ee4 100644 --- a/src/plugins_experimental/io_3dcoform/CMakeLists.txt +++ b/src/plugins_experimental/io_3dcoform/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/io_3dcoform.cmake, +### then re-run ./make-cmake.py set(SOURCES coformimportdialog.cpp io_3dcoform.cpp metadatafile_generator.cpp) @@ -22,5 +25,7 @@ set_property(TARGET io_3dcoform PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_3dcoform PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_3dcoform DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_3dcoform + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_experimental/render_splatpyramid/CMakeLists.txt b/src/plugins_experimental/render_splatpyramid/CMakeLists.txt index 4b440a93e..cf9dda2c5 100644 --- a/src/plugins_experimental/render_splatpyramid/CMakeLists.txt +++ b/src/plugins_experimental/render_splatpyramid/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/render_splatpyramid.cmake, +### then re-run ./make-cmake.py set(SOURCES dialog.cpp) @@ -32,5 +35,7 @@ set_property(TARGET render_splatpyramid PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET render_splatpyramid PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS render_splatpyramid DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS render_splatpyramid + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/edit_arc3D/CMakeLists.txt b/src/plugins_unsupported/edit_arc3D/CMakeLists.txt index cc4182e15..d55b2b29e 100644 --- a/src/plugins_unsupported/edit_arc3D/CMakeLists.txt +++ b/src/plugins_unsupported/edit_arc3D/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_arc3D.cmake, +### then re-run ./make-cmake.py set(SOURCES arc3D_camera.cpp @@ -47,5 +50,7 @@ set_property(TARGET edit_arc3D PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_arc3D PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_arc3D DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_arc3D + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/edit_fit/CMakeLists.txt b/src/plugins_unsupported/edit_fit/CMakeLists.txt index a38e34fb2..a00caa85f 100644 --- a/src/plugins_unsupported/edit_fit/CMakeLists.txt +++ b/src/plugins_unsupported/edit_fit/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_fit.cmake, +### then re-run ./make-cmake.py set(SOURCES edit_fit_factory.cpp editfit.cpp fittoolbox.cpp primitive.cpp) @@ -23,5 +26,7 @@ set_property(TARGET edit_fit PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_fit PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_fit DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS edit_fit + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/edit_phototexturing/CMakeLists.txt b/src/plugins_unsupported/edit_phototexturing/CMakeLists.txt index 627afa8e9..bce266675 100644 --- a/src/plugins_unsupported/edit_phototexturing/CMakeLists.txt +++ b/src/plugins_unsupported/edit_phototexturing/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_phototexturing.cmake, +### then re-run ./make-cmake.py set(SOURCES PhotoTexturingWidget.cpp @@ -54,5 +57,7 @@ set_property(TARGET edit_phototexturing PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_phototexturing PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_phototexturing DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS edit_phototexturing + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/edit_straightener/CMakeLists.txt b/src/plugins_unsupported/edit_straightener/CMakeLists.txt index 902b2e454..e1c51bc60 100644 --- a/src/plugins_unsupported/edit_straightener/CMakeLists.txt +++ b/src/plugins_unsupported/edit_straightener/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/edit_straightener.cmake, +### then re-run ./make-cmake.py set(SOURCES edit_straightener_factory.cpp editstraightener.cpp editstraightenerdialog.cpp) @@ -27,5 +30,7 @@ set_property(TARGET edit_straightener PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET edit_straightener PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS edit_straightener DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS edit_straightener + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/editpaint/CMakeLists.txt b/src/plugins_unsupported/editpaint/CMakeLists.txt index 7813b6f08..fbd06b2ee 100644 --- a/src/plugins_unsupported/editpaint/CMakeLists.txt +++ b/src/plugins_unsupported/editpaint/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/editpaint.cmake, +### then re-run ./make-cmake.py set(SOURCES edit_paint_factory.cpp editpaint.cpp paintbox.cpp) @@ -24,5 +27,7 @@ set_property(TARGET editpaint PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET editpaint PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS editpaint DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS editpaint + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/editrgbtri/CMakeLists.txt b/src/plugins_unsupported/editrgbtri/CMakeLists.txt index 02f15b196..eb29e46ab 100644 --- a/src/plugins_unsupported/editrgbtri/CMakeLists.txt +++ b/src/plugins_unsupported/editrgbtri/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/editrgbtri.cmake, +### then re-run ./make-cmake.py set(SOURCES controlPoint.cpp @@ -42,5 +45,7 @@ set_property(TARGET editrgbtri PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET editrgbtri PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS editrgbtri DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS editrgbtri + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/editsegment/CMakeLists.txt b/src/plugins_unsupported/editsegment/CMakeLists.txt index 78b4bf132..2ab10d038 100644 --- a/src/plugins_unsupported/editsegment/CMakeLists.txt +++ b/src/plugins_unsupported/editsegment/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/editsegment.cmake, +### then re-run ./make-cmake.py set(SOURCES colorpiker.cpp edit_segment_factory.cpp editsegment.cpp meshcutdialog.cpp) @@ -26,5 +29,7 @@ set_property(TARGET editsegment PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET editsegment PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS editsegment DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS editsegment + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/filter_autoalign/CMakeLists.txt b/src/plugins_unsupported/filter_autoalign/CMakeLists.txt index fd3a6add2..73d918330 100644 --- a/src/plugins_unsupported/filter_autoalign/CMakeLists.txt +++ b/src/plugins_unsupported/filter_autoalign/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_autoalign.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_autoalign.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_autoalign PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_autoalign PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_autoalign DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_autoalign + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/filter_colorize/CMakeLists.txt b/src/plugins_unsupported/filter_colorize/CMakeLists.txt index 560a47da1..703449fee 100644 --- a/src/plugins_unsupported/filter_colorize/CMakeLists.txt +++ b/src/plugins_unsupported/filter_colorize/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_colorize.cmake, +### then re-run ./make-cmake.py set(SOURCES meshcolorize.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_colorize PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_colorize PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_colorize DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_colorize + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/filter_curvature_from_sliding/CMakeLists.txt b/src/plugins_unsupported/filter_curvature_from_sliding/CMakeLists.txt index 0c890212e..cb45f60c9 100644 --- a/src/plugins_unsupported/filter_curvature_from_sliding/CMakeLists.txt +++ b/src/plugins_unsupported/filter_curvature_from_sliding/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_curvature_from_sliding.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_curvature_from_sliding.cpp) @@ -21,5 +24,7 @@ set_property(TARGET filter_curvature_from_sliding set_property(TARGET filter_curvature_from_sliding PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_curvature_from_sliding DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS filter_curvature_from_sliding + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/filter_feature_alignment/CMakeLists.txt b/src/plugins_unsupported/filter_feature_alignment/CMakeLists.txt index e4dd0583d..148e7856a 100644 --- a/src/plugins_unsupported/filter_feature_alignment/CMakeLists.txt +++ b/src/plugins_unsupported/filter_feature_alignment/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_feature_alignment.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_feature_alignment.cpp) @@ -22,5 +25,7 @@ set_property(TARGET filter_feature_alignment set_property(TARGET filter_feature_alignment PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_feature_alignment DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS filter_feature_alignment + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/filter_mutualinfo/CMakeLists.txt b/src/plugins_unsupported/filter_mutualinfo/CMakeLists.txt index 93834fd65..acdee749b 100644 --- a/src/plugins_unsupported/filter_mutualinfo/CMakeLists.txt +++ b/src/plugins_unsupported/filter_mutualinfo/CMakeLists.txt @@ -1,41 +1,58 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_mutualinfo.cmake (custom for this directory), +### then re-run ./make-cmake.py -set(SOURCES - alignset.cpp - filter_mutualinfo.cpp - levmarmethods.cpp - mutual.cpp - parameters.cpp - pointCorrespondence.cpp - solver.cpp) +# Only build if we have newuoa and levmar +if(TARGET external-newuoa AND TARGET external-levmar) -set(HEADERS - alignset.h - filter_mutualinfo.h - levmarmethods.h - mutual.h - parameters.h - pointCorrespondence.h - pointOnLayer.h - shutils.h - solver.h) + set(SOURCES + alignset.cpp + filter_mutualinfo.cpp + levmarmethods.cpp + mutual.cpp + parameters.cpp + pointCorrespondence.cpp + solver.cpp) -add_library(filter_mutualinfo MODULE ${SOURCES} ${HEADERS}) + set(HEADERS + alignset.h + filter_mutualinfo.h + levmarmethods.h + mutual.h + parameters.h + pointCorrespondence.h + pointOnLayer.h + shutils.h + solver.h) -target_include_directories(filter_mutualinfo - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) -target_link_libraries(filter_mutualinfo PUBLIC common) + add_library(filter_mutualinfo MODULE ${SOURCES} ${HEADERS}) -set_property(TARGET filter_mutualinfo PROPERTY FOLDER Plugins) + target_include_directories(filter_mutualinfo + PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) + target_link_libraries(filter_mutualinfo PUBLIC common) -set_property(TARGET filter_mutualinfo PROPERTY RUNTIME_OUTPUT_DIRECTORY - ${MESHLAB_PLUGIN_OUTPUT_DIR}) + target_link_libraries(filter_mutualinfo PRIVATE external-newuoa + external-levmar) -set_property(TARGET filter_mutualinfo PROPERTY LIBRARY_OUTPUT_DIRECTORY - ${MESHLAB_PLUGIN_OUTPUT_DIR}) + set_property(TARGET filter_mutualinfo PROPERTY FOLDER Plugins) -install(TARGETS filter_mutualinfo DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) + set_property(TARGET filter_mutualinfo PROPERTY RUNTIME_OUTPUT_DIRECTORY + ${MESHLAB_PLUGIN_OUTPUT_DIR}) + + set_property(TARGET filter_mutualinfo PROPERTY LIBRARY_OUTPUT_DIRECTORY + ${MESHLAB_PLUGIN_OUTPUT_DIR}) + + install( + TARGETS filter_mutualinfo + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) + +else() + message( + STATUS + "Skipping filter_mutualinfo - missing either newuoa or levmar in external directory." + ) +endif() diff --git a/src/plugins_unsupported/filter_photosynth/CMakeLists.txt b/src/plugins_unsupported/filter_photosynth/CMakeLists.txt index bc5498e2b..d020ed1f0 100644 --- a/src/plugins_unsupported/filter_photosynth/CMakeLists.txt +++ b/src/plugins_unsupported/filter_photosynth/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_photosynth.cmake, +### then re-run ./make-cmake.py set(SOURCES SoapTest/main.cpp downloader.cpp filter_photosynth.cpp) @@ -21,5 +24,7 @@ set_property(TARGET filter_photosynth PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_photosynth PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_photosynth DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_photosynth + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/filter_poisson/CMakeLists.txt b/src/plugins_unsupported/filter_poisson/CMakeLists.txt index 163ec6efb..69e2d257e 100644 --- a/src/plugins_unsupported/filter_poisson/CMakeLists.txt +++ b/src/plugins_unsupported/filter_poisson/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_poisson.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_poisson.cpp src/Factor.cpp src/Geometry.cpp src/MarchingCubes.cpp src/MultiGridOctest.cpp) @@ -36,5 +39,7 @@ set_property(TARGET filter_poisson PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_poisson PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_poisson DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_poisson + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/filter_rangemap/CMakeLists.txt b/src/plugins_unsupported/filter_rangemap/CMakeLists.txt index 9fe041374..75e92df93 100644 --- a/src/plugins_unsupported/filter_rangemap/CMakeLists.txt +++ b/src/plugins_unsupported/filter_rangemap/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_rangemap.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_rangemap.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_rangemap PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_rangemap PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_rangemap DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_rangemap + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/filter_screened_poisson_xml/CMakeLists.txt b/src/plugins_unsupported/filter_screened_poisson_xml/CMakeLists.txt index 2f02f6dd7..251cb04a3 100644 --- a/src/plugins_unsupported/filter_screened_poisson_xml/CMakeLists.txt +++ b/src/plugins_unsupported/filter_screened_poisson_xml/CMakeLists.txt @@ -1,7 +1,9 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/filter_screened_poisson_xml.cmake (custom for this directory), +### then re-run ./make-cmake.py set(SOURCES filter_screened_poisson.cpp Src/MarchingCubes.cpp @@ -40,7 +42,7 @@ list(APPEND SOURCES ${XML_OUT}) add_library(filter_screened_poisson MODULE ${SOURCES} ${HEADERS}) target_compile_definitions(filter_screened_poisson PRIVATE BRUNO_LEVY_FIX - FOR_RELEASE) + FOR_RELEASE) if(OpenMP_CXX_FOUND) target_link_libraries(filter_screened_poisson PRIVATE OpenMP::OpenMP_CXX) @@ -58,5 +60,7 @@ set_property(TARGET filter_screened_poisson set_property(TARGET filter_screened_poisson PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_screened_poisson DESTINATION - ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT Plugins) +install( + TARGETS filter_screened_poisson + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/filter_sdf/CMakeLists.txt b/src/plugins_unsupported/filter_sdf/CMakeLists.txt index ae109945f..a693068be 100644 --- a/src/plugins_unsupported/filter_sdf/CMakeLists.txt +++ b/src/plugins_unsupported/filter_sdf/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_sdf.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_sdf+.cpp filter_sdf.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_sdf PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_sdf PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_sdf DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS filter_sdf + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/filter_zippering/CMakeLists.txt b/src/plugins_unsupported/filter_zippering/CMakeLists.txt index aaa88fef7..01cdd5325 100644 --- a/src/plugins_unsupported/filter_zippering/CMakeLists.txt +++ b/src/plugins_unsupported/filter_zippering/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filter_zippering.cmake, +### then re-run ./make-cmake.py set(SOURCES filter_zippering.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filter_zippering PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filter_zippering PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filter_zippering DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filter_zippering + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/filterborder/CMakeLists.txt b/src/plugins_unsupported/filterborder/CMakeLists.txt index b1cc4fea5..ceeac8e1a 100644 --- a/src/plugins_unsupported/filterborder/CMakeLists.txt +++ b/src/plugins_unsupported/filterborder/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/filterborder.cmake, +### then re-run ./make-cmake.py set(SOURCES filterborder.cpp) @@ -20,5 +23,7 @@ set_property(TARGET filterborder PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET filterborder PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS filterborder DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS filterborder + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/io_epoch/CMakeLists.txt b/src/plugins_unsupported/io_epoch/CMakeLists.txt index 49acfd2b8..864419a84 100644 --- a/src/plugins_unsupported/io_epoch/CMakeLists.txt +++ b/src/plugins_unsupported/io_epoch/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/io_epoch.cmake, +### then re-run ./make-cmake.py set(SOURCES epoch_camera.cpp @@ -40,5 +43,7 @@ set_property(TARGET io_epoch PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_epoch PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_epoch DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_epoch + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/io_m/CMakeLists.txt b/src/plugins_unsupported/io_m/CMakeLists.txt index f0a36b8ec..e92f2bb2d 100644 --- a/src/plugins_unsupported/io_m/CMakeLists.txt +++ b/src/plugins_unsupported/io_m/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/io_m.cmake, +### then re-run ./make-cmake.py set(SOURCES io_m.cpp) @@ -20,5 +23,7 @@ set_property(TARGET io_m PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET io_m PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS io_m DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS io_m + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/oldplymc/CMakeLists.txt b/src/plugins_unsupported/oldplymc/CMakeLists.txt index 230e7fc79..7c6be20ee 100644 --- a/src/plugins_unsupported/oldplymc/CMakeLists.txt +++ b/src/plugins_unsupported/oldplymc/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/oldplymc.cmake, +### then re-run ./make-cmake.py set(SOURCES) @@ -27,5 +30,7 @@ set_property(TARGET oldplymc PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET oldplymc PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS oldplymc DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS oldplymc + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/render_rfx/CMakeLists.txt b/src/plugins_unsupported/render_rfx/CMakeLists.txt index 13dd54bca..7bec60f71 100644 --- a/src/plugins_unsupported/render_rfx/CMakeLists.txt +++ b/src/plugins_unsupported/render_rfx/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/render_rfx.cmake, +### then re-run ./make-cmake.py set(SOURCES plugins/rfx_dds.cpp @@ -54,5 +57,7 @@ set_property(TARGET render_rfx PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET render_rfx PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS render_rfx DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS render_rfx + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/render_rm/CMakeLists.txt b/src/plugins_unsupported/render_rm/CMakeLists.txt index 7ce28b07e..7d452dd08 100644 --- a/src/plugins_unsupported/render_rm/CMakeLists.txt +++ b/src/plugins_unsupported/render_rm/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/render_rm.cmake, +### then re-run ./make-cmake.py set(SOURCES glstateholder.cpp parser/RmPass.cpp parser/RmXmlParser.cpp parser/UniformVar.cpp rmmeshrender.cpp rmshaderdialog.cpp) @@ -31,5 +34,7 @@ set_property(TARGET render_rm PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET render_rm PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS render_rm DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS render_rm + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/render_splatting/CMakeLists.txt b/src/plugins_unsupported/render_splatting/CMakeLists.txt index e72f9459d..d784d0d27 100644 --- a/src/plugins_unsupported/render_splatting/CMakeLists.txt +++ b/src/plugins_unsupported/render_splatting/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/render_splatting.cmake, +### then re-run ./make-cmake.py set(SOURCES splatrenderer_plugin.cpp) @@ -22,5 +25,7 @@ set_property(TARGET render_splatting PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET render_splatting PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS render_splatting DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS render_splatting + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/sample_pclfilter/CMakeLists.txt b/src/plugins_unsupported/sample_pclfilter/CMakeLists.txt index fac9d7740..738c369d2 100644 --- a/src/plugins_unsupported/sample_pclfilter/CMakeLists.txt +++ b/src/plugins_unsupported/sample_pclfilter/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/sample_pclfilter.cmake, +### then re-run ./make-cmake.py set(SOURCES sample_pclfilter.cpp) @@ -20,5 +23,7 @@ set_property(TARGET sample_pclfilter PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET sample_pclfilter PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS sample_pclfilter DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS sample_pclfilter + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/sample_xmlfilter/CMakeLists.txt b/src/plugins_unsupported/sample_xmlfilter/CMakeLists.txt index f88c87940..8b1e6a320 100644 --- a/src/plugins_unsupported/sample_xmlfilter/CMakeLists.txt +++ b/src/plugins_unsupported/sample_xmlfilter/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/sample_xmlfilter.cmake, +### then re-run ./make-cmake.py set(SOURCES sample_xmlfilter.cpp) @@ -24,5 +27,7 @@ set_property(TARGET sample_xmlfilter PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET sample_xmlfilter PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS sample_xmlfilter DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS sample_xmlfilter + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/samplefilterdoc/CMakeLists.txt b/src/plugins_unsupported/samplefilterdoc/CMakeLists.txt index 30b436a49..027b7bf17 100644 --- a/src/plugins_unsupported/samplefilterdoc/CMakeLists.txt +++ b/src/plugins_unsupported/samplefilterdoc/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/samplefilterdoc.cmake, +### then re-run ./make-cmake.py set(SOURCES samplefilterdoc.cpp) @@ -20,5 +23,7 @@ set_property(TARGET samplefilterdoc PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET samplefilterdoc PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS samplefilterdoc DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} - COMPONENT Plugins) +install( + TARGETS samplefilterdoc + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/plugins_unsupported/sampleio/CMakeLists.txt b/src/plugins_unsupported/sampleio/CMakeLists.txt index 87ce5d48f..758ea6744 100644 --- a/src/plugins_unsupported/sampleio/CMakeLists.txt +++ b/src/plugins_unsupported/sampleio/CMakeLists.txt @@ -1,7 +1,10 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/CMakeLists.template.cmake (shared with all other directories), +### or create a derived template in src/templates/sampleio.cmake, +### then re-run ./make-cmake.py set(SOURCES sampleio.cpp) @@ -20,5 +23,7 @@ set_property(TARGET sampleio PROPERTY RUNTIME_OUTPUT_DIRECTORY set_property(TARGET sampleio PROPERTY LIBRARY_OUTPUT_DIRECTORY ${MESHLAB_PLUGIN_OUTPUT_DIR}) -install(TARGETS sampleio DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} COMPONENT - Plugins) +install( + TARGETS sampleio + DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR} + COMPONENT Plugins) diff --git a/src/templates/CMakeLists.template.cmake b/src/templates/CMakeLists.template.cmake index 5c9d3f5dd..f21655918 100644 --- a/src/templates/CMakeLists.template.cmake +++ b/src/templates/CMakeLists.template.cmake @@ -1,8 +1,15 @@ -# Copyright 2019 Collabora, Ltd. +# Copyright 2019-2020, Collabora, Ltd. # SPDX-License-Identifier: BSL-1.0 -### Generated file! Edit the templates in src/templates then re-run ./make-cmake.py +### Generated file! Edit the templates in src/templates, +### specifically src/templates/{{template}}, +{% if assumed_custom_template_name -%} +### or create a derived template in src/templates/{{assumed_custom_template_name}}, +{% endif -%} +### then re-run ./make-cmake.py +{# To customize this for just one or a few directories, you create a derived template: see any other template for examples. #} +{# Templates are chosen based on the leaf directory name: e.g. src/meshlabplugins/filter_qhull uses templates/filter_qhull.cmake if available. #} {% block whole_build %} {% block before_vars %}{% endblock %}