Loading ifs/CMakeLists.txt +9 −2 Original line number Diff line number Diff line cmake_minimum_required(VERSION 3.7) set(CMAKE_C_COMPILER "gcc") set(CMAKE_CXX_COMPILER "g++") project(ifs) if(NOT CMAKE_COMPILER_IS_GNUCC) message(FATAL_ERROR "The choosen C compiler is not gcc and is not supported") endif() if(NOT CMAKE_COMPILER_IS_GNUCXX) message(FATAL_ERROR "The choosen C++ compiler is not g++ and is not supported") endif() set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) if (NOT CMAKE_BUILD_TYPE) SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build: Debug Release Memcheck Loading Loading
ifs/CMakeLists.txt +9 −2 Original line number Diff line number Diff line cmake_minimum_required(VERSION 3.7) set(CMAKE_C_COMPILER "gcc") set(CMAKE_CXX_COMPILER "g++") project(ifs) if(NOT CMAKE_COMPILER_IS_GNUCC) message(FATAL_ERROR "The choosen C compiler is not gcc and is not supported") endif() if(NOT CMAKE_COMPILER_IS_GNUCXX) message(FATAL_ERROR "The choosen C++ compiler is not g++ and is not supported") endif() set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) if (NOT CMAKE_BUILD_TYPE) SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build: Debug Release Memcheck Loading