Skip to content

avoid CMake warnings, simplify CMake script#32

Open
scivision wants to merge 1 commit intossloy:masterfrom
scivision:master
Open

avoid CMake warnings, simplify CMake script#32
scivision wants to merge 1 commit intossloy:masterfrom
scivision:master

Conversation

@scivision
Copy link
Copy Markdown

@scivision scivision commented Feb 22, 2023

Modernize CMake: works with all compilers tried (GCC, Clang, Visual Studio, NVIDIA HPC, Intel oneAPI). Modern CMake emits warnings for minimum version < 3.5. CMake >= 3.10 has modern OpenMP targets.
Default to Release build (was not taking effect before).
Add -Wall

fixes #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Visual Studio OpenMP 2.0 Support

1 participant