diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..4172078 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,5 @@ + +cmake_minimum_required(VERSION 2.8) +include_directories(src) +include_directories(include) +add_subdirectory(src) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..9c3e098 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,19 @@ + + + +add_library(mdict + dict.c + tr_tree.c + wb_tree.c + hashtable_common.c + tree_common.c + hb_tree.c + pr_tree.c + hashtable.c + skiplist.c + sp_tree.c + tr_tree.c + wb_tree.c + + ) + diff --git a/src/dict_private.h b/src/dict_private.h index 536d9ad..6548ed2 100644 --- a/src/dict_private.h +++ b/src/dict_private.h @@ -31,7 +31,7 @@ #include #include -#include "dict.h" +#include /* A feature (or bug) of this macro is that the expression is always evaluated, * regardless of whether NDEBUG is defined or not. This is intentional and