-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
42 lines (34 loc) · 1.23 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
##############################################################################
# Copyright (c) 2014, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# Written by:
# Nikhil Jain <[email protected]>
# Abhinav Bhatele <[email protected]>
# Peer-Timo Bremer <[email protected]>
#
# LLNL-CODE-678961. All rights reserved.
#
# This file is part of Damselfly. For details, see:
# https://github.com/LLNL/damselfly
# Please also read the LICENSE file for our notice and the LGPL.
##############################################################################
project(damselfly)
cmake_minimum_required(VERSION 2.6)
include_directories("${PROJECT_BINARY_DIR}")
option (JOB_TRAFFIC "Write link traffic for each job" OFF)
if (JOB_TRAFFIC)
set (JOB_SPECIFIC_TRAFFIC 1)
message("Write link traffic for each job is ON")
else (JOB_TRAFFIC)
set (JOB_SPECIFIC_TRAFFIC 0)
message("Write link traffic for each job is OFF")
endif (JOB_TRAFFIC)
configure_file (
"${PROJECT_SOURCE_DIR}/src/Config.h.in"
"${PROJECT_BINARY_DIR}/Config.h"
)
set(CMAKE_C_COMPILER mpicc)
set(CMAKE_CXX_COMPILER mpicxx)
add_executable(damselfly src/ariesModeling.C)
install(TARGETS damselfly DESTINATION bin)