From 5021522c1fa7d413e8b03dd7bf3b7cbbe89edc72 Mon Sep 17 00:00:00 2001 From: Eugen Betke Date: Tue, 27 Feb 2024 09:33:36 +0000 Subject: [PATCH] C++ Migration: Add CMakeLists.txt for C++ accessors --- .../converted/eccodes/accessor/CMakeLists.txt | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/cpp/converted/eccodes/accessor/CMakeLists.txt diff --git a/src/cpp/converted/eccodes/accessor/CMakeLists.txt b/src/cpp/converted/eccodes/accessor/CMakeLists.txt new file mode 100644 index 000000000..d4f00cedd --- /dev/null +++ b/src/cpp/converted/eccodes/accessor/CMakeLists.txt @@ -0,0 +1,27 @@ +# +# (C) Copyright 2005- ECMWF. +# +# This software is licensed under the terms of the Apache Licence Version 2.0 +# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. +# +# In applying this licence, ECMWF does not waive the privileges and immunities +# granted to it by virtue of its status as an intergovernmental organisation +# nor does it submit to any jurisdiction. +# + +set(converted_accessor_data_dir ${CMAKE_CURRENT_LIST_DIR}) + +# Define all the source files to build for the C++ accessors +# Note the PARENT_SCOPE option sets the variable in the calling CMakeLists.txt +# file - it remains undefined in this file: https://cmake.org/cmake/help/latest/command/set.html +set(converted_accessor_data_src_files + ${converted_accessor_data_dir}/CodeflagData.cc + ${converted_accessor_data_dir}/CodeflagData.h + ${converted_accessor_data_dir}/UnsignedData.cc + ${converted_accessor_data_dir}/UnsignedData.h + ${converted_accessor_data_dir}/LongData.cc + ${converted_accessor_data_dir}/LongData.h + #${converted_accessor_data_dir}/CodetableData.cc + #${converted_accessor_data_dir}/CodetableData.h + PARENT_SCOPE +)