forked from flatironinstitute/finufft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marco Barbone
committed
May 8, 2024
1 parent
cc8629f
commit 5aa2705
Showing
11 changed files
with
447 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
project(finufft_devel) | ||
# Set the minimum required version of CMake | ||
cmake_minimum_required(VERSION 3.5) | ||
|
||
|
||
# include cpm cmake, downloading it | ||
CPMAddPackage( | ||
NAME benchmark | ||
GITHUB_REPOSITORY google/benchmark | ||
VERSION 1.8.3 | ||
OPTIONS "BENCHMARK_ENABLE_TESTING OFF" | ||
|
||
) | ||
|
||
if (benchmark_ADDED) | ||
# patch benchmark target | ||
set_target_properties(benchmark PROPERTIES CXX_STANDARD 17) | ||
endif() | ||
|
||
add_executable(foldrescale foldrescale.cpp) | ||
target_link_libraries(foldrescale finufft benchmark) |
Oops, something went wrong.