Permalink
Browse files

cmake: support QueryExpanderTSV

Maybe. :p
  • Loading branch information...
1 parent d1b00b8 commit d546ec9f299750eee6c1c1fdb0138d13e61e717e @kou kou committed Oct 11, 2012
Showing with 6 additions and 0 deletions.
  1. +3 −0 CMakeLists.txt
  2. +3 −0 config.h.cmake
View
3 CMakeLists.txt
@@ -71,6 +71,9 @@ set(GRN_PLUGIN_SUFFIX "${CMAKE_SHARED_MODULE_SUFFIX}")
set(GRN_DLL_FILENAME
"${CMAKE_SHARED_LIBRARY_PREFIX}groonga${CMAKE_SHARED_LIBRARY_SUFFIX}"
CACHE PATH "groonga DLL filename")
+set(GRN_QUERY_EXPANDER_TSV_RELATIVE_SYNONYMS_FILE "synonyms.tsv")
+set(GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE
+ "${GRN_DATA_DIR}/${GRN_QUERY_EXPANDER_TSV_RELATIVE_SYNONYMS_FILE}")
add_definitions(
-DHAVE_CONFIG_H
View
3 config.h.cmake
@@ -35,6 +35,9 @@
#define GRN_PLUGINS_DIR "${GRN_PLUGINS_DIR}"
#define GRN_PLUGIN_SUFFIX "${GRN_PLUGIN_SUFFIX}"
+#define GRN_QUERY_EXPANDER_TSV_RELATIVE_SYNONYMS_FILE "${GRN_QUERY_EXPANDER_TSV_RELATIVE_SYNONYMS_FILE}"
+#define GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE "${GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE}"
+
#define GRN_DLL_FILENAME L"${GRN_DLL_FILENAME}"
/* build switches */

0 comments on commit d546ec9

Please sign in to comment.