summaryrefslogtreecommitdiff
path: root/Userland/Shell/CMakeLists.txt
blob: 6fedfa943156b629d09ea65f31ba28f289cb06e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 LibCodeComprehension)

set(SOURCES
        main.cpp
        )

serenity_bin(Shell)
target_link_libraries(Shell LibShell LibMain)

install(DIRECTORY Tests/ DESTINATION usr/Tests/Shell
        PATTERN "Tests/*"
        PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
        GROUP_EXECUTE GROUP_READ
        WORLD_EXECUTE WORLD_READ)