mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
Also using a newer cmake-format version from https://github.com/rpavlik/cmake_format so formatting is better.
30 lines
955 B
CMake
30 lines
955 B
CMake
# Copyright 2019-2020, Collabora, Ltd.
|
|
# SPDX-License-Identifier: BSL-1.0
|
|
|
|
### 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)
|
|
|
|
set(HEADERS io_json.h)
|
|
|
|
add_library(io_json MODULE ${SOURCES} ${HEADERS})
|
|
|
|
target_include_directories(io_json PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
target_link_libraries(io_json PUBLIC common)
|
|
|
|
set_property(TARGET io_json PROPERTY FOLDER Plugins)
|
|
|
|
set_property(TARGET io_json PROPERTY RUNTIME_OUTPUT_DIRECTORY
|
|
${MESHLAB_PLUGIN_OUTPUT_DIR})
|
|
|
|
set_property(TARGET io_json PROPERTY LIBRARY_OUTPUT_DIRECTORY
|
|
${MESHLAB_PLUGIN_OUTPUT_DIR})
|
|
|
|
install(
|
|
TARGETS io_json
|
|
DESTINATION ${MESHLAB_PLUGIN_INSTALL_DIR}
|
|
COMPONENT Plugins)
|