Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs-feliks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Feliks Kiszkurno
ogs-feliks
Commits
5b29d38c
Commit
5b29d38c
authored
11 years ago
by
Lars Bilke
Browse files
Options
Downloads
Patches
Plain Diff
Better disabling off warnings in ThirdParty/.
parent
964ffaad
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ThirdParty/CMakeLists.txt
+7
-0
7 additions, 0 deletions
ThirdParty/CMakeLists.txt
scripts/cmake/CompilerSetup.cmake
+1
-1
1 addition, 1 deletion
scripts/cmake/CompilerSetup.cmake
with
8 additions
and
1 deletion
ThirdParty/CMakeLists.txt
+
7
−
0
View file @
5b29d38c
# Disable all warnings
IF
(
COMPILER_IS_CLANG OR COMPILER_IS_GCC
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-w"
)
ELSEIF
(
MSVC
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/W0"
)
ENDIF
()
# Add logog subdirectory and group its targets in a Visual Studio folder
ADD_SUBDIRECTORY
(
logog
)
IF
(
BUILD_TESTING
)
...
...
This diff is collapsed.
Click to expand it.
scripts/cmake/CompilerSetup.cmake
+
1
−
1
View file @
5b29d38c
...
...
@@ -50,7 +50,7 @@ IF(COMPILER_IS_CLANG)
IF
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS
"3.3"
)
MESSAGE
(
FATAL_ERROR
"Aborting: Clang 3.3 is required! Found version
${
CMAKE_CXX_COMPILER_VERSION
}
"
)
ENDIF
()
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++11
-isystem
${
CMAKE_SOURCE_DIR
}
/ThirdParty/
-Weverything -Wno-c++98-compat-pedantic"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++11 -Weverything -Wno-c++98-compat-pedantic"
)
ENDIF
()
# COMPILER_IS_CLANG
### Intel compiler
...
...
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