mirror of
https://github.com/reactos/CMake.git
synced 2024-12-05 02:06:34 +00:00
Apple: Use include_guard() within compiler config
This commit is contained in:
parent
e95b3fd9bb
commit
4597396784
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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,")
|
||||
|
Loading…
Reference in New Issue
Block a user