# This file is part of the KD Reports library. # # SPDX-FileCopyrightText: 2015 Klarälvdalens Datakonsult AB, a KDAB Group company # # SPDX-License-Identifier: MIT # set(SOURCES TableModel.cpp) add_library( kdreporttesttools ${KDReports_LIBRARY_MODE} ${SOURCES} ) if(${PROJECT_NAME}_STATIC) target_compile_definitions(kdreporttesttools PUBLIC TESTTOOLS_STATICLIB) else() target_compile_definitions(kdreporttesttools PRIVATE -DKDREPORT_BUILD_TESTTOOLS_LIB) endif() target_link_libraries( kdreporttesttools ${QT_LIBRARIES} ) target_include_directories( kdreporttesttools PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ) set_target_properties(kdreporttesttools PROPERTIES DEFINE_SYMBOL KDREPORT_BUILD_TESTTOOLS_LIB) set_target_properties( kdreporttesttools PROPERTIES SOVERSION ${${PROJECT_NAME}_SOVERSION} VERSION ${${PROJECT_NAME}_VERSION} )