-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from Fytch/master
groupK submission
- Loading branch information
Showing
16 changed files
with
2,129 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
27 changes: 27 additions & 0 deletions
27
projects/2021/groupK_burgers_openmp/branch-master/CMakeLists.txt
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,27 @@ | ||
cmake_minimum_required(VERSION 3.14) | ||
project(HPWCProject) | ||
|
||
set(CMAKE_CXX_STANDARD 20) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_CXX_EXTENSIONS OFF) | ||
|
||
include(FetchContent) | ||
|
||
find_package(Eigen3 3.4 QUIET) | ||
if(NOT EIGEN_FOUND) | ||
FetchContent_Declare( | ||
Eigen | ||
GIT_REPOSITORY https://gitlab.com/libeigen/eigen | ||
GIT_TAG 3.4 | ||
) | ||
FetchContent_MakeAvailable(Eigen) | ||
endif() | ||
|
||
FetchContent_Declare( | ||
ProgramOptionsHxx | ||
GIT_REPOSITORY https://github.com/Fytch/ProgramOptions.hxx | ||
) | ||
FetchContent_MakeAvailable(ProgramOptionsHxx) | ||
|
||
add_executable(HPWCProject main.cpp) | ||
target_link_libraries(HPWCProject Eigen3::Eigen ProgramOptionsHxx) |
Oops, something went wrong.