# SPDX-FileCopyrightText: (C) 2024 Chris Rizzitello # SPDX-License-Identifier: MIT set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON) configure_file(constants.h.in constants.h @ONLY) add_library(common INTERFACE common.h version.h IInterface.h stddeque.h stdexcept.h stdfstream.h stdistream.h stdlist.h stdmap.h stdostream.h stdpost.h stdpre.h stdset.h stdvector.h ${CMAKE_CURRENT_BINARY_DIR}/constants.h ) target_link_libraries(common INTERFACE Qt6::Core) if(APPLE) target_sources(common INTERFACE MacOSXPrecomp.h) endif()