moved the css to an external file

This commit is contained in:
Martin Dvořák 2026-09-11 09:59:12 +02:00
commit 4cc68e3e46
5 changed files with 804 additions and 769 deletions

View file

@ -60,3 +60,10 @@ else()
target_compile_options(maturita PRIVATE
-Wall -Wextra -Wno-deprecated-declarations)
endif()
# The GTK stylesheet is loaded at runtime from the working directory, so keep
# a copy next to the built binary as well.
add_custom_command(TARGET maturita POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${CMAKE_CURRENT_SOURCE_DIR}/style.css
$<TARGET_FILE_DIR:maturita>/style.css)