mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 21:47:04 +03:00
move to new cspot
This commit is contained in:
14
components/spotify/cspot/bell/example/CMakeLists.txt
Normal file
14
components/spotify/cspot/bell/example/CMakeLists.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
project(bell_example)
|
||||
cmake_minimum_required(VERSION 3.18)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../ ${CMAKE_CURRENT_BINARY_DIR}/bell)
|
||||
|
||||
file(GLOB SOURCES "*.cpp")
|
||||
include_directories(".")
|
||||
|
||||
add_executable(bell_example ${SOURCES})
|
||||
target_link_libraries(bell_example bell ${CMAKE_DL_LIBS} ${THINGS_TO_LINK})
|
||||
get_property(dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES)
|
||||
Reference in New Issue
Block a user