# # Brisk # # Cross-platform application framework # -------------------------------------------------------------- # # Copyright (C) 2024 Brisk Developers # # This file is part of the Brisk library. # # Brisk is dual-licensed under the GNU General Public License, version 2 (GPL-2.0+), and a commercial license. You may # use, modify, and distribute this software under the terms of the GPL-2.0+ license if you comply with its conditions. # # You should have received a copy of the GNU General Public License along with this program. If not, see # . # # If you do not wish to be bound by the GPL-2.0+ license, you must purchase a commercial license. For commercial # licensing options, please visit: https://brisklib.com # add_library( decNumber STATIC decSingle.c # decBasic.c # decCommon.c decContext.c decDouble.c decimal32.c decimal64.c decimal128.c decNumber.c decPacked.c decQuad.c) if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU") target_compile_options(decNumber PRIVATE -Wno-deprecated-declarations -Wno-unused-but-set-variable) endif () target_include_directories(decNumber PUBLIC ${CMAKE_CURRENT_LIST_DIR})