Split the UI code into multiple files

This commit is contained in:
Martin Dvořák 2026-09-11 11:42:13 +02:00
commit 56fe5ae6fc
23 changed files with 10140 additions and 9559 deletions

View file

@ -44,10 +44,11 @@ endif()
# WIN32 suppresses the console window on Windows; the app still uses main(),
# so MSVC needs mainCRTStartup as the entry point.
file(GLOB MATURITA_SOURCES CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/*.c")
if(WIN32)
add_executable(maturita WIN32 maturita.c)
add_executable(maturita WIN32 ${MATURITA_SOURCES})
else()
add_executable(maturita maturita.c)
add_executable(maturita ${MATURITA_SOURCES})
endif()
if(MSVC)