Place one or multiple stamps on scanned pages in defined locations. A stamp is understood here as - a transparent text in a transparent frame with no borders - an opaque text on an opaque background with no borders. Stamp parameters: - text - font - foreground colour - background colour - angle of rotation - transparency. Locations: - centre - cardinal directions - inter-cardinal directions.
23 lines
597 B
CMake
23 lines
597 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
|
|
project(StampWidget)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/CMake")
|
|
|
|
find_package(wxWidgets COMPONENTS base core CONFIG REQUIRED)
|
|
|
|
include_directories(${CMAKE_CURRENT_LIST_DIR}
|
|
${CMAKE_CURRENT_LIST_DIR}/UI)
|
|
|
|
add_library(stampwidget STATIC
|
|
|
|
DefsStampWidget.h
|
|
UI/StampWidget.cpp
|
|
UI/StampWidgets.cpp
|
|
XStampWidget.cpp
|
|
XStampWidgets.cpp
|
|
StampWorker.cpp)
|
|
|
|
target_link_libraries(stampwidget
|
|
${wxWidgets_LIBRARIES})
|