Skip to content
Snippets Groups Projects
Commit 3acaad17 authored by DeanT's avatar DeanT
Browse files

set compiler version

parent af47b12c
No related branches found
No related tags found
No related merge requests found
Pipeline #1307139528 passed
...@@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 3.27) ...@@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 3.27)
project(dft VERSION 1.0.0) project(dft VERSION 1.0.0)
# Use the latest C++ standard and all the flags # Use the latest C++ standard and all the flags
set(CMAKE_CXX_STANDARD 26) set(CMAKE_CXX_COMPILER g++-14)
set(CMAKE_CXX_COMPILER g++) set(CMAKE_C_COMPILER gcc-14)
set(CMAKE_BUILD_TYPE Release) set(CMAKE_BUILD_TYPE Release)
set(CMAKE_CXX_FLAGS "-O1 -pg -g -Wall -Wextra -Wpedantic -Wself-move -Wdangling-reference -Wpessimizing-move -Wredundant-move -Wuninitialized -Weffc++ -Wunused -Wunused-variable -Wunused-function -Wshadow -Wfloat-equal -Wdelete-non-virtual-dtor -march=native -mtune=native -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls -fno-default-inline") set(CMAKE_CXX_FLAGS "-std=c++23 -O1 -pg -g -Wall -Wextra -Wpedantic -Wself-move -Wdangling-reference -Wpessimizing-move -Wredundant-move -Wuninitialized -Weffc++ -Wunused -Wunused-variable -Wunused-function -Wshadow -Wfloat-equal -Wdelete-non-virtual-dtor -march=native -mtune=native -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls -fno-default-inline")
# External dependencies # External dependencies
find_package(TBB REQUIRED) find_package(TBB REQUIRED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment