From 10673f00dfece584ba81d581b69c9ba706a5ea5a Mon Sep 17 00:00:00 2001 From: skal Date: Fri, 13 Feb 2026 08:14:07 +0100 Subject: Refactor: Move application entry points to src/app/ Moved main.cc, stub_main.cc, and test_demo.cc from src/ to src/app/ for better organization. Updated cmake/DemoExecutables.cmake paths. handoff(Claude): App files reorganized into src/app/ directory --- src/app/stub_main.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/app/stub_main.cc (limited to 'src/app/stub_main.cc') diff --git a/src/app/stub_main.cc b/src/app/stub_main.cc new file mode 100644 index 0000000..8540fcd --- /dev/null +++ b/src/app/stub_main.cc @@ -0,0 +1,13 @@ +// Stub main for size measurement builds. +// Binary compiles but does NOT run. +// This file is only compiled when STRIP_EXTERNAL_LIBS is defined. + +#if defined(STRIP_EXTERNAL_LIBS) + +int main(int argc, char** argv) { + (void)argc; + (void)argv; + return 0; +} + +#endif // STRIP_EXTERNAL_LIBS -- cgit v1.2.3