diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-13 08:14:07 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-13 08:14:07 +0100 |
| commit | 10673f00dfece584ba81d581b69c9ba706a5ea5a (patch) | |
| tree | 25f9c0025e4a4b2e93d51711ce721ab2fc7c622c /src/app/stub_main.cc | |
| parent | 8b30cadfc19647487986d14dba9ddba7908dd1d0 (diff) | |
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
Diffstat (limited to 'src/app/stub_main.cc')
| -rw-r--r-- | src/app/stub_main.cc | 13 |
1 files changed, 13 insertions, 0 deletions
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 |
