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