-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
67 lines (60 loc) · 1.14 KB
/
CMakeLists.txt
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
cmake_minimum_required(VERSION 3.5)
project(kish LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
include_directories(
tcbrindle-span/include
)
add_subdirectory(replxx)
link_libraries(replxx)
add_compile_options(
-W
-Wall
-Wextra
-pedantic
)
# This list contains headers and tests so that Qt Creator shows them nicely in the Projects view
add_executable(kish
main.cpp
Token.h
Parser.cpp
Parser.h
Tokenizer.cpp
Tokenizer.h
WordExpander.cpp
WordExpander.h
CommandExpander.cpp
CommandExpander.h
utils.cpp
utils.h
Global.cpp
Global.h
builtins.cpp
builtins.h
executor.cpp
executor.h
highlight.cpp
highlight.h
repl.h
repl.cpp
completion.h
completion.cpp
job_control.h
job_control.cpp
builtins/true.cpp
builtins/true.h
builtins/false.cpp
builtins/false.h
builtins/help.cpp
builtins/help.h
builtins/cd.cpp
builtins/cd.h
builtins/colon.cpp
builtins/colon.h
builtins/read.cpp
builtins/read.h
builtins/source.cpp
builtins/source.h
test/tests.sh
README.md
)