mirror of
https://github.com/barkeser2002/winlator.git
synced 2026-09-25 05:10:12 +03:00
13 lines
423 B
CMake
13 lines
423 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(AlsaPlugins C)
|
|
message("Building ${PROJECT_NAME}")
|
|
|
|
set(CMAKE_VERBOSE_MAKEFILE on)
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -lasound -O2 -fPIC -DPIC")
|
|
|
|
MESSAGE(STATUS "Compiler options: ${CMAKE_C_FLAGS}")
|
|
|
|
add_library(asound_module_pcm_android_aserver SHARED module_pcm_android_aserver.c)
|
|
|
|
target_link_libraries(asound_module_pcm_android_aserver "${CROSS_PATH}/libasound.so.2") |