Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
45973967
Commit
45973967
authored
Apr 15, 2018
by
Gregor Jasny
Committed by
Brad King
Apr 18, 2018
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apple: Use include_guard() within compiler config
parent
e95b3fd9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
16 deletions
+4
-16
Modules/Platform/Apple-Clang.cmake
Modules/Platform/Apple-Clang.cmake
+1
-4
Modules/Platform/Apple-GNU.cmake
Modules/Platform/Apple-GNU.cmake
+1
-4
Modules/Platform/Apple-Intel.cmake
Modules/Platform/Apple-Intel.cmake
+1
-4
Modules/Platform/Apple-PGI.cmake
Modules/Platform/Apple-PGI.cmake
+1
-4
No files found.
Modules/Platform/Apple-Clang.cmake
View file @
45973967
...
...
@@ -3,10 +3,7 @@
# This module is shared by multiple languages; use include blocker.
if
(
__APPLE_COMPILER_CLANG
)
return
()
endif
()
set
(
__APPLE_COMPILER_CLANG 1
)
include_guard
()
macro
(
__apple_compiler_clang lang
)
set
(
CMAKE_
${
lang
}
_VERBOSE_FLAG
"-v -Wl,-v"
)
# also tell linker to print verbose output
...
...
Modules/Platform/Apple-GNU.cmake
View file @
45973967
...
...
@@ -3,10 +3,7 @@
# This module is shared by multiple languages; use include blocker.
if
(
__APPLE_COMPILER_GNU
)
return
()
endif
()
set
(
__APPLE_COMPILER_GNU 1
)
include_guard
()
macro
(
__apple_compiler_gnu lang
)
set
(
CMAKE_
${
lang
}
_VERBOSE_FLAG
"-v -Wl,-v"
)
# also tell linker to print verbose output
...
...
Modules/Platform/Apple-Intel.cmake
View file @
45973967
...
...
@@ -3,10 +3,7 @@
# This module is shared by multiple languages; use include blocker.
if
(
__APPLE_COMPILER_INTEL
)
return
()
endif
()
set
(
__APPLE_COMPILER_INTEL 1
)
include_guard
()
macro
(
__apple_compiler_intel lang
)
set
(
CMAKE_
${
lang
}
_VERBOSE_FLAG
"-v -Wl,-v"
)
# also tell linker to print verbose output
...
...
Modules/Platform/Apple-PGI.cmake
View file @
45973967
...
...
@@ -2,10 +2,7 @@
# file Copyright.txt or https://cmake.org/licensing for details.
# This module is shared by multiple languages; use include blocker.
if
(
__APPLE_COMPILER_PGI
)
return
()
endif
()
set
(
__APPLE_COMPILER_PGI 1
)
include_guard
()
macro
(
__apple_compiler_pgi lang
)
set
(
CMAKE_
${
lang
}
_OSX_COMPATIBILITY_VERSION_FLAG
"-Wl,-compatibility_version,"
)
...
...
Brad King
@brad.king
mentioned in commit
541b5337
·
Apr 19, 2018
mentioned in commit
541b5337
mentioned in commit 541b53375de703ad5bb7a90cd72beefbb5452f96
Toggle commit list
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