Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mgiza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Sennrich <rico.sennrich@gmx.ch>2015-01-21 17:27:29 +0300
committerRico Sennrich <rico.sennrich@gmx.ch>2015-01-21 17:27:29 +0300
commit403a56ebc03da4970905195cbd5b4decf58c6686 (patch)
tree4a601c25428aad2d0f21d2e20353e500cbdea3f1
parenta42e5541b2e321d4cca13f86b3f12141190e7384 (diff)
use Hieu's compile flags in cmakeRELEASE-3.0
-rw-r--r--mgizapp/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/mgizapp/CMakeLists.txt b/mgizapp/CMakeLists.txt
index b52e433..7f2a593 100644
--- a/mgizapp/CMakeLists.txt
+++ b/mgizapp/CMakeLists.txt
@@ -29,7 +29,13 @@ IF(WIN32)
OPTION( USE_64_BIT "Set to on if you want to compile Win64" OFF )
ENDIF(WIN32)
+SET(CMAKE_C_FLAGS
+ "-O3 -DNDEBUG -DWORDINDEX_WITH_4_BYTE -DBINARY_SEARCH_FOR_TTABLE -MD -MP -MF -MT"
+ )
+SET(CMAKE_CXX_FLAGS
+ "-O3 -DNDEBUG -DWORDINDEX_WITH_4_BYTE -DBINARY_SEARCH_FOR_TTABLE -MD -MP -MF -MT"
+ )
INCLUDE(cmake/FindTR1.cmake)