refact
This commit is contained in:
parent
a4b3bf6c1e
commit
a1893dd80b
|
@ -13,8 +13,8 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _TD_LRU_H_
|
#ifndef _TD_CACHE_H_
|
||||||
#define _TD_LRU_H_
|
#define _TD_CACHE_H_
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -24,4 +24,4 @@ extern "C" {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /*_TD_LRU_H_*/
|
#endif /*_TD_CACHE_H_*/
|
|
@ -5,7 +5,7 @@ add_subdirectory(index)
|
||||||
add_subdirectory(wal)
|
add_subdirectory(wal)
|
||||||
add_subdirectory(parser)
|
add_subdirectory(parser)
|
||||||
add_subdirectory(scheduler)
|
add_subdirectory(scheduler)
|
||||||
add_subdirectory(lru)
|
add_subdirectory(cache)
|
||||||
add_subdirectory(catalog)
|
add_subdirectory(catalog)
|
||||||
add_subdirectory(executor)
|
add_subdirectory(executor)
|
||||||
add_subdirectory(planner)
|
add_subdirectory(planner)
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
aux_source_directory(src CACHE_SRC)
|
||||||
|
add_library(cache ${CACHE_SRC})
|
||||||
|
target_include_directories(
|
||||||
|
cache
|
||||||
|
PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/cache"
|
||||||
|
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
|
||||||
|
)
|
|
@ -13,8 +13,8 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _TD_LRU_INT_H_
|
#ifndef _TD_CACHE_DEF_H_
|
||||||
#define _TD_LRU_INT_H_
|
#define _TD_CACHE_DEF_H_
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -24,4 +24,4 @@ extern "C" {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /*_TD_LRU_INT_H_*/
|
#endif /*_TD_CACHE_DEF_H_*/
|
|
@ -1,7 +0,0 @@
|
||||||
aux_source_directory(src LRU_SRC)
|
|
||||||
add_library(lru ${LRU_SRC})
|
|
||||||
target_include_directories(
|
|
||||||
lru
|
|
||||||
PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/lru"
|
|
||||||
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
|
|
||||||
)
|
|
Loading…
Reference in New Issue