mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
Lagom: Add LibMain as a lagom_lib()
This commit is contained in:
parent
b14a64b3c8
commit
ba0f89a4d1
1 changed files with 10 additions and 0 deletions
|
@ -345,6 +345,16 @@ if (BUILD_LAGOM)
|
|||
SOURCES ${LIBLINE_SOURCES}
|
||||
)
|
||||
|
||||
# Main
|
||||
file(GLOB LIBMAIN_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibMain/*.cpp")
|
||||
lagom_lib(Main main
|
||||
SOURCES ${LIBMAIN_SOURCES}
|
||||
)
|
||||
# The macOS linker is not happy about LibMain's main() calling an undefined symbol (serenity_main()).
|
||||
if (APPLE)
|
||||
target_link_options(LagomMain PRIVATE -undefined dynamic_lookup)
|
||||
endif()
|
||||
|
||||
# Markdown
|
||||
file(GLOB LIBMARKDOWN_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibMarkdown/*.cpp")
|
||||
lagom_lib(Markdown markdown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue