2024-11-27 03:03:11 +00:00
|
|
|
# SPDX-FileCopyrightText: (C) 2024 Chris Rizzitello <sithlord48@gmail.com>
|
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
2024-11-27 03:16:34 +00:00
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
|
|
|
|
|
|
|
|
|
|
configure_file(constants.h.in constants.h @ONLY)
|
2024-11-27 03:03:11 +00:00
|
|
|
|
|
|
|
|
add_library(common INTERFACE
|
|
|
|
|
common.h
|
2025-03-05 17:17:07 +00:00
|
|
|
version.h
|
2024-11-27 03:03:11 +00:00
|
|
|
IInterface.h
|
|
|
|
|
stddeque.h
|
|
|
|
|
stdexcept.h
|
|
|
|
|
stdistream.h
|
|
|
|
|
stdlist.h
|
|
|
|
|
stdmap.h
|
|
|
|
|
stdostream.h
|
|
|
|
|
stdpost.h
|
|
|
|
|
stdpre.h
|
|
|
|
|
stdset.h
|
|
|
|
|
stdvector.h
|
2024-11-27 03:16:34 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/constants.h
|
2024-11-27 03:03:11 +00:00
|
|
|
)
|
|
|
|
|
|
2025-03-05 17:17:07 +00:00
|
|
|
target_link_libraries(common INTERFACE Qt6::Core)
|
|
|
|
|
|
2024-11-27 03:03:11 +00:00
|
|
|
if(APPLE)
|
|
|
|
|
target_sources(common INTERFACE MacOSXPrecomp.h)
|
|
|
|
|
endif()
|