CMakeLists.txt 710 Bytes
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++
)