You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
777 B
29 lines
777 B
# SPDX-License-Identifier: GPL-2.0-only
|
|
#/*
|
|
# * Digital Voice Modem Shared Vocoder - CMake Build System
|
|
# * GPLv2 Open Source. Use is subject to license terms.
|
|
# * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
# *
|
|
# * Copyright (C) 2024 Bryan Biedenkapp, N2PLL
|
|
# * Copyright (C) 2025 Patrick McDonnell, W3AXL
|
|
# *
|
|
# */
|
|
|
|
cmake_minimum_required(VERSION 3.16.0)
|
|
|
|
project(dvmvocoder)
|
|
|
|
set(CMAKE_STATIC_LIBRARY_PREFIX "")
|
|
set(CMAKE_SHARED_LIBRARY_PREFIX "")
|
|
|
|
# Set up export symbols (Windows only)
|
|
if(WIN32)
|
|
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
|
endif()
|
|
|
|
#
|
|
# Build Vocoder as a Shared Library (dll or so)
|
|
#
|
|
include(vocoder/CMakeLists.txt)
|
|
add_library(libvocoder SHARED ${vocoder_SRC} ${vocoder_INCLUDE})
|
|
target_include_directories(libvocoder PRIVATE vocoder) |