| 1 |
if (PODOFO_BUILD_UNSUPPORTED_TOOLS) |
| 2 |
message(WARNING "PoDoFo tools are enabled: tools are currently untested and unsupported") |
| 3 |
else() |
| 4 |
return() |
| 5 |
endif() |
| 6 |
|
| 7 |
add_subdirectory(private) |
| 8 |
|
| 9 |
if (MSVC) |
| 10 |
# Force requirement for unicode entry point |
| 11 |
add_link_options(/ENTRY:wmainCRTStartup) |
| 12 |
else() |
| 13 |
if (MINGW) |
| 14 |
add_link_options(-municode) |
| 15 |
endif() |
| 16 |
# TODO: Remove me when all the tools are cleaned of use of C functions |
| 17 |
add_compile_options(-Wno-deprecated-declarations) |
| 18 |
endif() |
| 19 |
|
| 20 |
add_subdirectory(podofobox) |
| 21 |
add_subdirectory(podofocolor) |
| 22 |
add_subdirectory(podofocountpages) |
| 23 |
add_subdirectory(podofocrop) |
| 24 |
add_subdirectory(podofoencrypt) |
| 25 |
add_subdirectory(podofogc) |
| 26 |
add_subdirectory(podofoimgextract) |
| 27 |
add_subdirectory(podofoimg2pdf) |
| 28 |
add_subdirectory(podofomerge) |
| 29 |
add_subdirectory(podofopages) |
| 30 |
add_subdirectory(podofopdfinfo) |
| 31 |
add_subdirectory(podofotxt2pdf) |
| 32 |
add_subdirectory(podofotxtextract) |
| 33 |
add_subdirectory(podofouncompress) |
| 34 |
add_subdirectory(podofoimpose) |
| 35 |
add_subdirectory(podofoincrementalupdates) |
| 36 |
add_subdirectory(podofoxmp) |
| 37 |
add_subdirectory(podofonooc) |
| 38 |
add_subdirectory(podofosign) |