This website requires JavaScript.
Explore
Help
Sign in
Stowage
/
ladybird
Watch
2
Star
0
Fork
You've already forked ladybird
0
mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced
2025-12-08 06:09:58 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
ddf60ebe9e
ladybird
/
Libraries
/
LibMain
/
CMakeLists.txt
6 lines
67 B
Text
Raw
Normal View
History
Unescape
Escape
LibMain: Add a new library for more ergonomic userspace entry functions By linking with LibMain, your program no longer needs to provide main(). Instead, execution begins in this function: ErrorOr<int> serenity_main(Main::Arguments); This allows programs that link with LibMain to use TRY() already in their entry function, without having to do manual ErrorOr unwrapping. This is very experimental, but it seems like a nice idea so let's try it out. :^)
2021-11-22 15:44:54 +01:00
set(SOURCES
Main.cpp
)
CMake: Rename serenity_* helper functions/macros to ladybird_*
2025-06-30 08:11:44 -07:00
ladybird_lib(LibMain main TYPE STATIC)
Reference in a new issue
Copy permalink