Skip to content

Instantly share code, notes, and snippets.

@andersonfreitas
Last active August 11, 2019 17:17
Show Gist options
  • Save andersonfreitas/e981c12b4c194f00b157 to your computer and use it in GitHub Desktop.
Save andersonfreitas/e981c12b4c194f00b157 to your computer and use it in GitHub Desktop.
set(CMAKE_CXX_COMPILER icpc)
SET(CMAKE_CXX_VERBOSE_FLAG "-v")
SET(CMAKE_CXX_FLAGS_INIT "-std=c++0x")
SET(CMAKE_CXX_FLAGS_DEBUG_INIT "-g")
SET(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
SET(CMAKE_CXX_FLAGS_RELEASE_INIT "-O3 -DNDEBUG -ipo")
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
SET(CMAKE_CXX_CREATE_PREPROCESSED_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
SET(CMAKE_CXX_CREATE_ASSEMBLY_SOURCE "<CMAKE_CXX_COMPILER> <DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
set(CMAKE_C_COMPILER "/opt/intel/bin/icc")
set(CMAKE_CXX_COMPILER "/opt/intel/bin/icpc")
SET(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG -parallel -unroll -qopt-report5")
SET(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG -parallel -unroll -qopt-report5")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment