mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-26 03:02:27 -05:00
8fc862f710
Also make them runnable anywhere. Previously they required $PWD to be the directory containing test-commons.inc, and for $PWD to be writable.
26 lines
548 B
CMake
26 lines
548 B
CMake
set(SOURCES
|
|
AST.cpp
|
|
Builtin.cpp
|
|
Formatter.cpp
|
|
Job.cpp
|
|
NodeVisitor.cpp
|
|
Parser.cpp
|
|
Shell.cpp
|
|
SyntaxHighlighter.cpp
|
|
)
|
|
|
|
serenity_lib(LibShell shell)
|
|
target_link_libraries(LibShell LibCore LibLine LibSyntax)
|
|
|
|
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)
|