File: CMakeLists.txt

package info (click to toggle)
meshlab 2020.09%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 45,124 kB
  • sloc: cpp: 400,238; ansic: 31,952; javascript: 1,578; sh: 387; yacc: 238; lex: 139; python: 86; makefile: 29
file content (58 lines) | stat: -rw-r--r-- 1,581 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright 2019-2020, Collabora, Ltd.
# SPDX-License-Identifier: BSL-1.0

### 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
    common/transferfunction.cpp
    common/util.cpp
    edit_quality_factory.cpp
    eqhandle.cpp
    handle.cpp
    qualitymapper.cpp
    qualitymapperdialog.cpp
    tfhandle.cpp
    common/meshmethods.cpp
    common/transferfunction.cpp
    common/util.cpp)

set(HEADERS
    common/const_types.h
    common/meshmethods.h
    common/transferfunction.h
    common/util.h
    edit_quality_factory.h
    eqhandle.h
    handle.h
    qualitymapper.h
    qualitymapperdialog.h
    tfhandle.h
    common/const_types.h
    common/meshmethods.h
    common/transferfunction.h
    common/util.h)

set(RESOURCES qualitymapper.qrc)

set(UI qualitymapperdialog.ui)

add_library(edit_quality MODULE ${SOURCES} ${HEADERS} ${RESOURCES} ${UI})

target_include_directories(edit_quality PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(edit_quality PUBLIC common)

set_property(TARGET edit_quality PROPERTY FOLDER Plugins)

set_property(TARGET edit_quality PROPERTY RUNTIME_OUTPUT_DIRECTORY
                                          ${MESHLAB_PLUGIN_OUTPUT_DIR})

set_property(TARGET edit_quality PROPERTY LIBRARY_OUTPUT_DIRECTORY
                                          ${MESHLAB_PLUGIN_OUTPUT_DIR})

install(
    TARGETS edit_quality
    DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR}
    COMPONENT Plugins)