2016-10-30 19:25:51 +00:00
|
|
|
cmake_minimum_required(VERSION 3.5)
|
2016-10-29 23:58:09 +00:00
|
|
|
project(zero-epwing)
|
2016-10-30 19:25:51 +00:00
|
|
|
include_directories(eb)
|
2016-12-04 02:24:56 +00:00
|
|
|
link_directories(eb/eb/.libs jansson/lib)
|
2016-11-29 05:16:43 +00:00
|
|
|
add_executable(zero-epwing main.c book.c font.c convert.c hooks.c)
|
2016-12-04 02:24:56 +00:00
|
|
|
target_link_libraries(zero-epwing libm.a libeb.a libm.a libz.a libjansson.a)
|
2016-12-04 02:36:30 +00:00
|
|
|
if (WIN32)
|
|
|
|
target_link_libraries(zero-epwing libiconv.a)
|
|
|
|
endif (WIN32)
|