2021-06-15 13:16:32 +00:00
|
|
|
serenity_component(
|
|
|
|
Shell
|
|
|
|
REQUIRED
|
|
|
|
TARGETS Shell
|
|
|
|
)
|
|
|
|
|
2020-05-06 15:40:06 +00:00
|
|
|
set(SOURCES
|
2021-03-05 13:03:23 +00:00
|
|
|
AST.cpp
|
|
|
|
Builtin.cpp
|
|
|
|
Formatter.cpp
|
|
|
|
ImmediateFunctions.cpp
|
|
|
|
Job.cpp
|
|
|
|
NodeVisitor.cpp
|
|
|
|
Parser.cpp
|
|
|
|
Shell.cpp
|
|
|
|
SyntaxHighlighter.cpp
|
|
|
|
)
|
2020-09-23 05:36:30 +00:00
|
|
|
|
|
|
|
serenity_lib(LibShell shell)
|
2022-05-14 14:09:24 +00:00
|
|
|
target_link_libraries(LibShell LibCore LibLine LibSyntax LibRegex LibCodeComprehension)
|
2020-09-23 05:36:30 +00:00
|
|
|
|
|
|
|
set(SOURCES
|
2021-03-05 13:03:23 +00:00
|
|
|
main.cpp
|
|
|
|
)
|
2020-05-06 15:40:06 +00:00
|
|
|
|
|
|
|
serenity_bin(Shell)
|
2022-01-03 00:59:39 +00:00
|
|
|
target_link_libraries(Shell LibShell LibMain)
|
2021-01-25 04:42:30 +00:00
|
|
|
|
|
|
|
install(DIRECTORY Tests/ DESTINATION usr/Tests/Shell
|
|
|
|
PATTERN "Tests/*"
|
|
|
|
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
|
2021-03-05 13:03:23 +00:00
|
|
|
GROUP_EXECUTE GROUP_READ
|
|
|
|
WORLD_EXECUTE WORLD_READ)
|