Build as library

This commit is contained in:
simon987 2020-11-13 12:58:40 -05:00
parent 0c80784022
commit 1da8dbdb01
2 changed files with 4 additions and 3 deletions

4
.gitignore vendored
View File

@ -1,8 +1,10 @@
*.o
antiword
libantiword.a
CMakeCache.txt
CMakeFiles
cmake_install.cmake
.idea/
Makefile
*.cbp
*.cbp
*.swp

View File

@ -4,8 +4,7 @@ set(CMAKE_C_STANDARD 11)
project(antiword C)
add_executable(antiword
src/main_u.c
add_library(antiword
src/asc85enc.c src/blocklist.c src/chartrans.c src/datalist.c
src/depot.c src/dib2eps.c src/doclist.c src/fail.c src/finddata.c
src/findtext.c src/fmt_text.c src/fontlist.c src/fonts.c src/fonts_u.c