Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
CMakeLists.txt 2.49 KiB
#
# This file is a part of the CaosDB Project.
#
# Copyright (C) 2021 Timm Fitschen <t.fitschen@indiscale.com>
# Copyright (C) 2021 IndiScale GmbH <info@indiscale.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#

# add all header files to this list
set(libcaosdb_INCL
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/authentication.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/certificate_provider.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/configuration.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/connection.h
    ${CMAKE_CURRENT_BINARY_DIR}/caosdb/constants.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/entity.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/exceptions.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/handler_interface.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/info.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/log_level.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/logging.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/message_code.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/protobuf_helper.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/status_code.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/transaction.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/transaction_handler.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/transaction_status.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/unary_rpc_handler.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/utility.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/file_transmission/register_file_upload_handler.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/file_transmission/upload_request_handler.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/file_transmission/download_request_handler.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/file_transmission/file_writer.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/file_transmission/file_reader.h
    ${CMAKE_CURRENT_SOURCE_DIR}/caosdb/file_transmission/file_error.h
    )

# pass variable to parent scope
set(libcaosdb_INCL ${libcaosdb_INCL} PARENT_SCOPE)

# initialize constants
configure_file(caosdb/constants.h.in caosdb/constants.h)