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.

32 lines
840 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 "")
option(COMPILE_WIN32 "Compile for Win32" off)
# Set up wion
if(COMPILE_WIN32)
set(CMAKE_SYSTEM_NAME "Windows")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
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)

Powered by TurnKey Linux.