CMakeLists.txt (1088B)
1 # Copyright (C) 2016-2023 Dan Cazarin (https://www.kfrlib.com) 2 # This file is part of KFR 3 # 4 # KFR is free software: you can redistribute it and/or modify 5 # it under the terms of the GNU General Public License as published by 6 # the Free Software Foundation, either version 2 of the License, or 7 # (at your option) any later version. 8 # 9 # KFR is distributed in the hope that it will be useful, 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 # GNU General Public License for more details. 13 # 14 # You should have received a copy of the GNU General Public License 15 # along with KFR. 16 17 cmake_minimum_required(VERSION 3.12) 18 19 # Binary output directories 20 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${PROJECT_BINARY_DIR}/bin) 21 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${PROJECT_BINARY_DIR}/bin) 22 23 add_executable(sample_rate_converter sample_rate_converter.cpp) 24 target_link_libraries(sample_rate_converter kfr kfr_dsp kfr_io use_arch) 25 26 add_executable(ebu_test ebu_test.cpp) 27 target_link_libraries(ebu_test kfr kfr_io use_arch)