Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
0288e5e8
Commit
0288e5e8
authored
7 years ago
by
Callum Prentice
Browse files
Options
Downloads
Patches
Plain Diff
Expand the way we set C++ flags in cmake to call out each build type explicitly
parent
35cec8fe
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/cmake/00-Common.cmake
+3
-1
3 additions, 1 deletion
indra/cmake/00-Common.cmake
with
3 additions
and
1 deletion
indra/cmake/00-Common.cmake
+
3
−
1
View file @
0288e5e8
...
@@ -19,7 +19,9 @@ set(${CMAKE_CURRENT_LIST_FILE}_INCLUDED "YES")
...
@@ -19,7 +19,9 @@ set(${CMAKE_CURRENT_LIST_FILE}_INCLUDED "YES")
include
(
Variables
)
include
(
Variables
)
# We go to some trouble to set LL_BUILD to the set of relevant compiler flags.
# We go to some trouble to set LL_BUILD to the set of relevant compiler flags.
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
$ENV{LL_BUILD}"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"$ENV{LL_BUILD_RELEASE}"
)
set
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"$ENV{LL_BUILD_RELWITHDEBINFO}"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"$ENV{LL_BUILD_DEBUG}"
)
# Given that, all the flags you see added below are flags NOT present in
# Given that, all the flags you see added below are flags NOT present in
# https://bitbucket.org/lindenlab/viewer-build-variables/src/tip/variables.
# https://bitbucket.org/lindenlab/viewer-build-variables/src/tip/variables.
# Before adding new ones here, it's important to ask: can this flag really be
# Before adding new ones here, it's important to ask: can this flag really be
...
...
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