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