File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,6 @@ cmake_minimum_required(VERSION 3.2)
55project (LibAPR)
66set (CMAKE_CXX_STANDARD 14)
77
8- get_cmake_property (_variableNames VARIABLES )
9- foreach (_variableName ${_variableNames} )
10- message (STATUS "${_variableName} =${${_variableName} }" )
11- endforeach ()
12-
138###############################################################################
149# Generate configuration file
1510###############################################################################
@@ -48,10 +43,9 @@ include_directories("external/c-blosc/blosc")
4843###############################################################################
4944# Configure compiler options
5045###############################################################################
51- # If you ever want to compile with icc it should look more or less like this:
52- #set(CMAKE_CXX_COMPILER /opt/intel/compilers_and_libraries_2016/linux/bin/intel64/icc)
53- #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -qopenmp -ip -ansi-alias -xCORE-AVX2 ")
54- #set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -qopenmp")
46+ # If you ever want to compile with Intel's icc (or any other compiler) provide
47+ # compiler names/paths in cmake command like this:
48+ # CC="icc" CXX="icc" CXXFLAGS="-O3" cmake -DAPR_TESTS=1
5549SET (CMAKE_POSITION_INDEPENDENT_CODE ON )
5650set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -pedantic " )
5751if (CMAKE_COMPILER_IS_GNUCC)
You can’t perform that action at this time.
0 commit comments