[irstlm] 56/126: added compilation option to select topic scoring model

Giulio Paci giuliopaci-guest at moszumanska.debian.org
Tue May 17 07:46:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

giuliopaci-guest pushed a commit to annotated tag adaptiveLM.v0.1
in repository irstlm.

commit 3666422908e40b5a77f0165b8780646e5923ae27
Author: Nicola Bertoldi <bertoldi at fbk.eu>
Date:   Wed Sep 9 17:05:03 2015 +0200

    added compilation option to select topic scoring model
---
 src/CMakeLists.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index eddfd2e..5e1509d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -12,6 +12,15 @@ if (TRACE_LEVEL)
   ADD_DEFINITIONS("-DTRACE_LEVEL=${TRACE_LEVEL}")
 endif()
 
+if (OPTION)
+  ADD_DEFINITIONS("-DOPTION_${OPTION}")
+endif()
+
+if (SOLUTION)
+  ADD_DEFINITIONS("-DSOLUTION_${SOLUTION}")
+endif()
+
+
 if (CXX0)
   MESSAGE( STATUS "HAVE_CXX0=true; hence, variable HAVE_CXX0 is set" )
   SET(STD_FLAG "-std=c++0x")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/irstlm.git



More information about the debian-science-commits mailing list