forked from etc/pineapple-src
26 lines
425 B
CMake
Executable file
26 lines
425 B
CMake
Executable file
cmake_minimum_required(VERSION 3.4)
|
|
project(libjbig C)
|
|
|
|
set(SOURCES
|
|
"libjbig/jbig.c"
|
|
"libjbig/jbig_ar.c"
|
|
"libjbig/jbig85.c")
|
|
|
|
set(HEADERS
|
|
"libjbig/jbig.h"
|
|
"libjbig/jbig_ar.h"
|
|
"libjbig/jbig85.h"
|
|
)
|
|
|
|
add_library(libjbig ${SOURCES})
|
|
|
|
install(
|
|
TARGETS libjbig
|
|
RUNTIME DESTINATION bin
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
)
|
|
|
|
install(
|
|
FILES ${HEADERS}
|
|
DESTINATION include)
|