CMakeLists.txt 710 Bytes
Newer Older
Olivier Mullier's avatar
Olivier Mullier committed
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
cmake_minimum_required(VERSION 2.6)

project(integrale)

#Directory of executables
set(EXECUTABLE_OUTPUT_PATH bin)

set(CMAKE_CXX_FLAGS "-Wall -O2 -frounding-math ")#-pg -fprofile-arcs -ftest-coverage


# include_directories(/usr/local/include_test/)
# 
# link_directories(~/ibex/lib)

include_directories(/usr/local/include/ibex)
# include_directories(/usr/include/graphviz)

# link_directories(/usr/local/lib)
link_directories(/usr/local/lib)



#Source file list generation
file(
    GLOB_RECURSE
    source_files
    src/*
)


#Executable declaration
add_executable(
    integrale 
    ${source_files}
)

#Libraries to add for specified target
target_link_libraries(
    integrale ibex prim z m stdc++
)