Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Nektar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dappur
Nektar
Commits
e02d0c1c
Commit
e02d0c1c
authored
7 years ago
by
Dave Moxey
Browse files
Options
Downloads
Patches
Plain Diff
Try to add a few more toolsets
parent
4ef61e04
Branches
fix/MC_Detect
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/ThirdPartyBoost.cmake
+13
-9
13 additions, 9 deletions
cmake/ThirdPartyBoost.cmake
with
13 additions
and
9 deletions
cmake/ThirdPartyBoost.cmake
+
13
−
9
View file @
e02d0c1c
...
...
@@ -75,19 +75,23 @@ IF (THIRDPARTY_BUILD_BOOST)
ENDIF
()
ENDIF
()
# Build Boost
# Build Boost
: first need to select toolset.
IF
(
APPLE
)
SET
(
TOOLSET darwin
)
ELSEIF
(
WIN32
)
IF
(
MSVC10
)
SET
(
TOOLSET msvc-10.0
)
ELSEIF
(
MSVC11
)
SET
(
TOOLSET msvc-11.0
)
ELSEIF
(
MSVC12
)
SET
(
TOOLSET msvc-12.0
)
ELSEIF
(
MSVC14
)
SET
(
TOOLSET msvc-14.0
)
IF
(
MSVC_VERSION EQUAL 1600
)
SET
(
TOOLSET msvc-10.0
)
# Visual Studio 2010
ELSEIF
(
MSVC_VERSION EQUAL 1700
)
SET
(
TOOLSET msvc-11.0
)
# Visual Studio 2012
ELSEIF
(
MSVC_VERSION EQUAL 1800
)
SET
(
TOOLSET msvc-12.0
)
# Visual Studio 2013
ELSEIF
(
MSVC_VERSION EQUAL 1900
)
SET
(
TOOLSET msvc-14.0
)
# Visual Studio 2015
ELSEIF
(
MSVC_VERSION GREATER 1909 OR MSVC_VERSION LESS 1920
)
SET
(
TOOLSET msvc-14.1
)
# Visual Studio 2017
ENDIF
()
ELSEIF
(
${
CMAKE_CXX_COMPILER_ID
}
STREQUAL
"Cray"
)
SET
(
TOOLSET cray
)
ELSE
()
SET
(
TOOLSET gcc-
${
CMAKE_CXX_COMPILER_VERSION
}
)
ENDIF
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment