提交 a1893dd8 编写于 作者: H Hongze Cheng

refact

上级 a4b3bf6c
......@@ -13,8 +13,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _TD_LRU_H_
#define _TD_LRU_H_
#ifndef _TD_CACHE_H_
#define _TD_CACHE_H_
#ifdef __cplusplus
extern "C" {
......@@ -24,4 +24,4 @@ extern "C" {
}
#endif
#endif /*_TD_LRU_H_*/
\ No newline at end of file
#endif /*_TD_CACHE_H_*/
\ No newline at end of file
......@@ -5,7 +5,7 @@ add_subdirectory(index)
add_subdirectory(wal)
add_subdirectory(parser)
add_subdirectory(scheduler)
add_subdirectory(lru)
add_subdirectory(cache)
add_subdirectory(catalog)
add_subdirectory(executor)
add_subdirectory(planner)
......
aux_source_directory(src LRU_SRC)
add_library(lru ${LRU_SRC})
aux_source_directory(src CACHE_SRC)
add_library(cache ${CACHE_SRC})
target_include_directories(
lru
PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/lru"
cache
PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/cache"
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)
\ No newline at end of file
......@@ -13,8 +13,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _TD_LRU_INT_H_
#define _TD_LRU_INT_H_
#ifndef _TD_CACHE_DEF_H_
#define _TD_CACHE_DEF_H_
#ifdef __cplusplus
extern "C" {
......@@ -24,4 +24,4 @@ extern "C" {
}
#endif
#endif /*_TD_LRU_INT_H_*/
\ No newline at end of file
#endif /*_TD_CACHE_DEF_H_*/
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册