Files
3d_audio/lib_sw_pll/CMakeLists.txt

28 lines
766 B
CMake
Raw Normal View History

2025-12-11 09:43:42 +08:00
cmake_minimum_required(VERSION 3.21)
## Disable in-source build.
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
message(FATAL_ERROR "In-source build is not allowed! Please specify a build folder.\n\tex:cmake -B build")
endif()
## Project declaration
project(lib_sw_pll)
## Enable languages for project
enable_language(CXX C ASM)
## Add library subdirectories
add_subdirectory(lib_sw_pll)
## Add top level project targets
if(PROJECT_IS_TOP_LEVEL)
include(examples/examples.cmake)
add_subdirectory(modules/fwk_core)
add_subdirectory(modules/fwk_io)
add_subdirectory(tests/test_app)
add_subdirectory(tests/test_app_low_level_api)
add_subdirectory(tests/test_app_sdm_dco)
add_subdirectory(tests/test_app_sdm_ctrl)
endif()