Commit 47866770 authored by Brad King's avatar Brad King

Android: Add placeholders for platform-specific compiler settings

Add infrastructure modules to be loaded for Clang and GNU compilers
when targeting Android platforms.
parent 735f168b
Pipeline #22100 passed with stage
include(Platform/Android-Clang)
__android_compiler_clang(C)
include(Platform/Android-Clang)
__android_compiler_clang(CXX)
#=============================================================================
# Copyright 2015-2016 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
# This module is shared by multiple languages; use include blocker.
if(__ANDROID_COMPILER_CLANG)
return()
endif()
set(__ANDROID_COMPILER_CLANG 1)
include(Platform/Android-Common)
macro(__android_compiler_clang lang)
__android_compiler_common(${lang})
endmacro()
#=============================================================================
# Copyright 2015-2016 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
# This module is shared by multiple languages; use include blocker.
if(__ANDROID_COMPILER_COMMON)
return()
endif()
set(__ANDROID_COMPILER_COMMON 1)
macro(__android_compiler_common lang)
endmacro()
include(Platform/Android-GNU)
__android_compiler_gnu(C)
include(Platform/Android-GNU)
__android_compiler_gnu(CXX)
#=============================================================================
# Copyright 2015-2016 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
# This module is shared by multiple languages; use include blocker.
if(__ANDROID_COMPILER_GNU)
return()
endif()
set(__ANDROID_COMPILER_GNU 1)
include(Platform/Android-Common)
macro(__android_compiler_gnu lang)
__android_compiler_common(${lang})
endmacro()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment