Skip to content
Snippets Groups Projects
Commit 47866770 authored by Brad King's avatar Brad King
Browse files

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
No related branches found
No related tags found
No related merge requests found
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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment