-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
41 lines (36 loc) · 793 Bytes
/
CMakeLists.txt
File metadata and controls
41 lines (36 loc) · 793 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
32
33
34
35
36
37
38
39
40
41
cmake_minimum_required(VERSION 3.30)
project(db_cpp)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
include(FetchContent)
FetchContent_Declare(
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt
GIT_TAG 11.1.4
)
FetchContent_MakeAvailable(fmt)
add_executable(db_cpp main.cpp
data_types.hpp
Value.cpp
Value.hpp
Column.cpp
Column.hpp
Constraint.cpp
Constraint.hpp
Table.cpp
Table.hpp
Row.cpp
Row.hpp
CommonTypes.hpp
Database.hpp
Database.cpp
Command.cpp
Command.hpp
Commands.cpp
Commands.hpp
Parser.cpp
Parser.hpp
Executor.hpp
Executor.cpp
)
target_link_libraries(db_cpp fmt)