summaryrefslogtreecommitdiffstats
path: root/addon/doxysearch
diff options
context:
space:
mode:
authorAdrian Negreanu <adrian.m.negreanu@intel.com>2015-05-15 14:30:11 (GMT)
committerAdrian Negreanu <adrian.m.negreanu@intel.com>2015-05-15 16:34:41 (GMT)
commit2e099b1950eee2c3a0d5d8ae4b25575caeb938b1 (patch)
tree4db52f4b6a2078ede1554bf586d012eb8d58be4f /addon/doxysearch
parentac576bd974ac27bc1f395e8ae6c77b19f800b6db (diff)
downloadDoxygen-2e099b1950eee2c3a0d5d8ae4b25575caeb938b1.zip
Doxygen-2e099b1950eee2c3a0d5d8ae4b25575caeb938b1.tar.gz
Doxygen-2e099b1950eee2c3a0d5d8ae4b25575caeb938b1.tar.bz2
use cmake
runtest.pl replaced by testing/test_driver.cmake version.py replaced by cmake/version.cmake lang_cfg.py replaced by cmake/lang_cfg.cmake settings.py implemented in src/CMakeLists.txt increasebuffer.py replaced by defining the YY_BUF_SIZE and YY_READ_BUF_SIZE Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Diffstat (limited to 'addon/doxysearch')
-rw-r--r--addon/doxysearch/CMakeLists.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/addon/doxysearch/CMakeLists.txt b/addon/doxysearch/CMakeLists.txt
new file mode 100644
index 0000000..188d80b
--- /dev/null
+++ b/addon/doxysearch/CMakeLists.txt
@@ -0,0 +1,24 @@
+if (build_search)
+
+find_package(Xapian REQUIRED)
+
+include_directories(
+ ${CMAKE_SOURCE_DIR}/qtools
+ ${XAPIAN_INCLUDE_DIR}
+)
+add_executable(doxyindexer
+doxyindexer.cpp
+)
+target_link_libraries(doxyindexer
+${XAPIAN_LIBRARIES}
+qtools
+)
+
+add_executable(doxysearch.cgi
+doxysearch.cpp
+)
+target_link_libraries(doxysearch.cgi
+${XAPIAN_LIBRARIES}
+)
+
+endif()