-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
executable file
·47 lines (40 loc) · 1.91 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#################################
# lib-distance: an open-source library to use the word2vec models.
#
# Copyright 2015, Christophe Servan, GETALP-LIG, University of Grenoble, France
# Contact: [email protected]
#
# The tercpp tool and library are free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 2.1 of the licence, or
# (at your option) any later version.
#
# This program and library are distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this library; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
###################################
cmake_minimum_required(VERSION 2.6)
PROJECT(wookie)
#SET(CMAKE_CXX g++)
#if you don't want the full compiler output, remove the following line
SET(CMAKE_VERBOSE_MAKEFILE ON)
#SET( CMAKE_CXX_FLAGS " -Wno-deprecated " CACHE STRING "Flags used by the C++ compiler" FORCE )
SET (CMAKE_CXX_FLAGS " -fopenmp ")
#add_definitions(-DCMAKE_INSTALL_PREFIX=/lium/buster1/servan/Programmation/TERCpp)
add_definitions(-DIBPP_LINUX -DIBPP_GCC -DINSTANTIATE_TEMPLATES )
include_directories(/home/servan/Tools/boost_1_55_0/include)
link_directories(/home/servan/Tools/boost_1_55_0/lib)
link_directories(/home/servan/Tools/myLibs/icu/lib)
include_directories(/home/servan/Tools/myLibs/icu/include)
#add definitions, compiler switches, etc.
ADD_DEFINITIONS(-Wall -O2 -DINSTANTIATE_TEMPLATES )
#list all source files here
add_subdirectory(src)
add_subdirectory(test)
#need to link to some other libraries ? just add them here
#TARGET_LINK_LIBRARIES(tercpp png jpeg)