From a50f0fb9b7d65105a25167146c076c8713d142ff Mon Sep 17 00:00:00 2001 From: Aaron Lattanzi Date: Wed, 8 Nov 2023 14:47:56 -0800 Subject: [PATCH] Cmake build with metgrid. --- Exec/CMakeLists.txt | 1 + Exec/DevTests/MetGrid/CMakeLists.txt | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 Exec/DevTests/MetGrid/CMakeLists.txt diff --git a/Exec/CMakeLists.txt b/Exec/CMakeLists.txt index 6474d52a0..30ea921c9 100644 --- a/Exec/CMakeLists.txt +++ b/Exec/CMakeLists.txt @@ -24,4 +24,5 @@ else () add_subdirectory(DevTests/MovingTerrain) add_subdirectory(DevTests/ParticlesOverWoA) add_subdirectory(DevTests/MiguelDev) + add_subdirectory(DevTests/MetGrid) endif() diff --git a/Exec/DevTests/MetGrid/CMakeLists.txt b/Exec/DevTests/MetGrid/CMakeLists.txt new file mode 100644 index 000000000..621a7e0aa --- /dev/null +++ b/Exec/DevTests/MetGrid/CMakeLists.txt @@ -0,0 +1,12 @@ +set(erf_exe_name erf_metgrid_dev) + +add_executable(${erf_exe_name} "") +target_sources(${erf_exe_name} + PRIVATE + prob.cpp +) + +target_include_directories(${erf_exe_name} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) + +include(${CMAKE_SOURCE_DIR}/CMake/BuildERFExe.cmake) +build_erf_exe(${erf_exe_name})