mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
631d36fd98
This adds component declarations so that users can select to not build certain parts of the OS.
33 lines
682 B
CMake
33 lines
682 B
CMake
serenity_component(
|
|
Shell
|
|
REQUIRED
|
|
TARGETS Shell
|
|
)
|
|
|
|
set(SOURCES
|
|
AST.cpp
|
|
Builtin.cpp
|
|
Formatter.cpp
|
|
ImmediateFunctions.cpp
|
|
Job.cpp
|
|
NodeVisitor.cpp
|
|
Parser.cpp
|
|
Shell.cpp
|
|
SyntaxHighlighter.cpp
|
|
)
|
|
|
|
serenity_lib(LibShell shell)
|
|
target_link_libraries(LibShell LibCore LibLine LibSyntax LibRegex)
|
|
|
|
set(SOURCES
|
|
main.cpp
|
|
)
|
|
|
|
serenity_bin(Shell)
|
|
target_link_libraries(Shell LibShell)
|
|
|
|
install(DIRECTORY Tests/ DESTINATION usr/Tests/Shell
|
|
PATTERN "Tests/*"
|
|
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
|
|
GROUP_EXECUTE GROUP_READ
|
|
WORLD_EXECUTE WORLD_READ)
|