Files
s7/CMakeLists.txt
Saleem Edah-Tally a2045aa1f6 Add a 'Stamp' widget.
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.
2025-07-09 21:12:02 +02:00

35 lines
941 B
CMake

cmake_minimum_required(VERSION 3.5)
project(s7)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/CMake")
find_package(wxWidgets COMPONENTS base core CONFIG REQUIRED)
# xpm include.
add_definitions(-Wno-write-strings)
include_directories(${CMAKE_CURRENT_LIST_DIR}
Resources/InsaneWidget
Resources/Utilities
Resources/InsaneWidget/UI
Resources/StampWidget
Resources/StampWidget/UI
Resources/UI/S7)
add_subdirectory(Resources/Utilities)
add_subdirectory(Resources/StampWidget)
add_subdirectory(Resources/InsaneWidget)
add_executable(s7
Resources/UI/S7/s7app.cpp
Resources/UI/S7/s7.cpp
XS7.cpp)
install(TARGETS s7 RUNTIME DESTINATION bin)
target_link_libraries(s7 insanewidget
${wxWidgets_LIBRARIES}
)