Debian Codegraph @

doc/example-plugin/src/atlas-example-plugin/CMakeLists.txt

raw
1 # (C) Copyright 2023- ECMWF.
2 #
3 # This software is licensed under the terms of the Apache Licence Version 2.0
4 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
5 #
6 # In applying this licence, ECMWF does not waive the privileges and immunities
7 # granted to it by virtue of its status as an intergovernmental organisation nor
8 # does it submit to any jurisdiction.
9
10 configure_file(version.cc.in version.cc)
11
12 ecbuild_add_library(
13 TARGET atlas-example-plugin
14 TYPE SHARED
15 SOURCES
16 Library.cc
17 Library.h
18 version.h
19 ${CMAKE_CURRENT_BINARY_DIR}/version.cc
20 HEADER_DESTINATION "include/atlas-example-plugin"
21 PUBLIC_LIBS atlas
22 PUBLIC_INCLUDES
23 $<INSTALL_INTERFACE:include/atlas-example-plugin>
24 $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src>
25 $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/src> )
26