aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 3077400cffd360ef0765a4e0c166cc5a42afb919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cmake_minimum_required (VERSION 2.4)

set (PACKAGE mpiosh)
project (${PACKAGE} C)

find_library (LIBNCURSES NAMES ncurses)
find_library (LIBREADLINE NAMES readline)

if (LIBNCURSES)
	message (STATUS "found ncurses at ${LIBNCURSES}")
else (LIBNCURSES)
	message (FATAL_ERROR "ncurses is required")
endif (LIBNCURSES)

if (LIBREADLINE)
	message (STATUS "found readline at ${LIBREADLINE}")
else (LIBREADLINE)
	message (FATAL_ERROR "readline is required")
endif (LIBREADLINE)

add_subdirectory (libmpio)
add_subdirectory (src)
add_subdirectory (tools)