mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-15 20:38:23 +01:00
add naa-communication-prototpye to poet and add definitions
This commit is contained in:
parent
9df43999b0
commit
4c4c83002e
5
.gitignore
vendored
5
.gitignore
vendored
@ -143,4 +143,7 @@ build/
|
||||
/.cache/
|
||||
|
||||
.vscode
|
||||
.codechecker
|
||||
.codechecker
|
||||
|
||||
# conda env folder
|
||||
.ai/*
|
||||
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -5,3 +5,6 @@
|
||||
[submodule "ext/iphreeqc"]
|
||||
path = ext/iphreeqc
|
||||
url = ../iphreeqc.git
|
||||
[submodule "ext/naa-communication-prototype"]
|
||||
path = ext/naa-communication-prototype
|
||||
url = gfz:naaice/naa-communication-prototype.git
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
|
||||
include(ExternalProject)
|
||||
project(POET
|
||||
LANGUAGES CXX C
|
||||
DESCRIPTION "A coupled reactive transport simulator")
|
||||
@ -8,9 +8,13 @@ project(POET
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
|
||||
include("CMake/POET_Scripts.cmake")
|
||||
include(FetchContent)
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${POET_SOURCE_DIR}/CMake")
|
||||
|
||||
get_poet_version()
|
||||
@ -18,6 +22,17 @@ get_poet_version()
|
||||
find_package(MPI REQUIRED)
|
||||
find_package(RRuntime REQUIRED)
|
||||
|
||||
set(USE_NAA "USE_NAA" ON)
|
||||
FetchContent_Declare(naa-communication-prototype
|
||||
GIT_REPOSITORY gfz:naaice/naa-communication-prototype
|
||||
GIT_TAG cmake-version)
|
||||
|
||||
if(USE_NAA)
|
||||
FetchContent_MakeAvailable(naa-communication-prototype)
|
||||
set(SOURCE_IP "10.3.10.41")
|
||||
set(TARGET_IP "10.3.10.42")
|
||||
endif()
|
||||
|
||||
add_subdirectory(src)
|
||||
|
||||
option(POET_PREPROCESS_BENCHS "Preprocess benchmarks" ON)
|
||||
|
||||
1
ext/naa-communication-prototype
Submodule
1
ext/naa-communication-prototype
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit d2612c92c9e5a28751fa02f60fa46ec5b3a314b8
|
||||
Loading…
x
Reference in New Issue
Block a user