-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
CMakeLists.txt
cmake_minimum_required(VERSION 3.20)
project(libshine)
include_directories(src src/lib src/bin)
add_library(
shine STATIC
src/lib/bitstream.c src/lib/huffman.c
src/lib/l3bitstream.c
src/lib/l3loop.c
src/lib/l3mdct.c
src/lib/l3subband.c
src/lib/layer3.c
src/lib/reservoir.c
src/lib/tables.c)
install(
TARGETS shine
LIBRARY DESTINATION lib # for shared libs
ARCHIVE DESTINATION lib) # for static libs
install(
DIRECTORY libshine/include/
DESTINATION include
FILES_MATCHING PATTERN "*.h")
I integrated shine into prefix, a cmake ci project system. project ion is using shine. it needs CMake projects or ones with an autoconfigure, and for this one I had a generative autotools.cmake; however cmake did not launch with the appropriate environment vars so that configure would generate and then invoke & succeed. So I made this one manually
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels