-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
39 lines (33 loc) · 908 Bytes
/
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
cmake_minimum_required(VERSION 3.16.3)
project(helpy)
set(CMAKE_CXX_STANDARD 17)
set(PROJECT_DEPENDENCIES
external/libfort/fort.hpp
external/libfort/fort.c)
set(PROJECT_HEADERS
src/lexer/lexer.h
src/manager/manager.h
src/parser/parser.h
src/utils/command.hpp
src/utils/token.hpp
src/utils/utils.hpp
src/writer/writer.h
src/utils/program.hpp)
set(PROJECT_SOURCES
src/lexer/lexer.cpp
src/main.cpp
src/manager/manager.cpp
src/parser/parser.cpp
src/writer/writer.cpp)
add_executable(helpy
${PROJECT_DEPENDENCIES}
${PROJECT_HEADERS}
${PROJECT_SOURCES})
# for testing purposes
add_executable(test
cli/main.cpp
cli/my_helpy.cpp
cli/my_helpy.h
cli/my_helpy_utils.hpp
external/libfort/fort.c
external/libfort/fort.hpp)