Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
soap-plus-plus
Commits
cc2f0955
Commit
cc2f0955
authored
Sep 21, 2016
by
Carl Poelking
Browse files
CMake intel compiler no longer hardcoded.
parent
a856848a
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
cc2f0955
...
...
@@ -10,7 +10,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
# BUILD OPTIONS
enable_language
(
CXX
)
set
(
CMAKE_CXX_COMPILER
"/usr/local/shared/intel/compilers_and_libraries_2016.2.181/linux/bin/intel64/icc"
)
#
set(CMAKE_CXX_COMPILER "/usr/local/shared/intel/compilers_and_libraries_2016.2.181/linux/bin/intel64/icc")
message
(
"C++ compiler: "
${
CMAKE_CXX_COMPILER
}
" "
${
CMAKE_CXX_COMPILER_ID
}
)
option
(
BUILD_SHARED_LIBS
"Build shared libs"
ON
)
if
(
${
CMAKE_VERSION
}
VERSION_GREATER 3.1
)
...
...
build.sh
View file @
cc2f0955
#! /bin/bash
mkdir
-p
build
cd
build
cmake ..
-DCMAKE_CXX_COMPILER_ID
=
Intel
&&
make
&&
make
install
cmake ..
&&
make
&&
make
install
#cmake .. -DCMAKE_CXX_COMPILER_ID=Intel && make && make install
cd
..
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment