InvoDB/CMakeLists.txt

15 lines
611 B
CMake
Raw Normal View History

2021-10-24 14:08:12 +08:00
cmake_minimum_required(VERSION 3.16.3)
2021-10-11 22:04:57 +08:00
project(InvoDB)
2021-11-01 15:11:33 +08:00
set(CMAKE_CXX_STANDARD 17)
2021-10-11 22:04:57 +08:00
2021-10-31 14:51:09 +08:00
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0")
2021-10-28 23:44:50 +08:00
2021-10-11 22:04:57 +08:00
include_directories(.)
2021-10-23 16:28:57 +08:00
include_directories(./invodb)
2021-10-11 22:04:57 +08:00
add_executable(InvoDB
invodb/main.cpp
2021-11-01 15:11:33 +08:00
invodb/main.h invodb/file/page_manager.cpp invodb/file/page_manager.h invodb/models/collection.cpp invodb/models/collection.h invodb/file/storage_page.cpp invodb/file/storage_page.h invodb/utils/logger.h invodb/utils/uuid.h invodb/btree/node.h invodb/btree/btree.h invodb/index/index.cpp invodb/index/index.h invodb/btree/list.h)