Commit 5413e696 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau Committed by Andrius Štikonas
Browse files

Generate libpartitionmanagerexport.h

parent 2bf69932
......@@ -37,6 +37,11 @@ target_link_libraries( kpmcore PUBLIC
KF5::CoreAddons
KF5::WidgetsAddons
)
generate_export_header(kpmcore
BASE_NAME LIBKPMCORE
EXPORT_FILE_NAME util/libpartitionmanagerexport.h
)
list(APPEND UTIL_LIB_HDRS ${CMAKE_CURRENT_BINARY_DIR}/util/libpartitionmanagerexport.h)
install(TARGETS kpmcore EXPORT KPMcoreTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES ${CORE_LIB_HDRS} DESTINATION ${INCLUDE_INSTALL_DIR}/kpmcore/core/ COMPONENT Devel)
......
......@@ -36,7 +36,6 @@ set(UTIL_SRC
)
set(UTIL_LIB_HDRS
util/libpartitionmanagerexport.h
util/capacity.h
util/externalcommand.h
util/globallog.h
......
/*
SPDX-FileCopyrightText: 2008 Volker Lanz <vl@fidra.de>
SPDX-FileCopyrightText: 2014-2018 Andrius Štikonas <andrius@stikonas.eu>
SPDX-FileCopyrightText: 2015 Chris Campbell <c.j.campbell@ed.ac.uk>
SPDX-License-Identifier: GPL-3.0-or-later
*/
#ifndef LIBKPMCORE_EXPORT
#include <QtGlobal>
#define LIBKPMCORE_EXPORT Q_DECL_EXPORT
#endif
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment