-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
31 lines (27 loc) · 982 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
31 lines (27 loc) · 982 Bytes
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
cmake_minimum_required(VERSION 3.15)
project(spellchecker)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_BUILD_TYPE "Release")
# added -fopenmp
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
include_directories(src inc)
set(SRC_DIR "src")
set(INC_DIR "inc")
set(SOURCES
${SRC_DIR}/main.cpp
${SRC_DIR}/spellchecker/Interpreter.cpp
${SRC_DIR}/utils/StringUtils.cpp
${SRC_DIR}/algorithms/SpellChecker.cpp
${SRC_DIR}/algorithms/RecursiveChecker.cpp
${SRC_DIR}/algorithms/MatrixChecker.cpp
${SRC_DIR}/algorithms/SingleRowChecker.cpp
${INC_DIR}/spellchecker/Interpreter.h
${INC_DIR}/utils/StringUtils.h
${INC_DIR}/utils/Order.h
${INC_DIR}/utils/Matrix.h
${INC_DIR}/algorithms/SpellChecker.h
${INC_DIR}/algorithms/RecursiveChecker.h
${INC_DIR}/algorithms/MatrixChecker.h
${INC_DIR}/algorithms/SingleRowChecker.h
)
add_executable(spellchecker ${SOURCES})