Android: Add placeholders for platform-specific compiler selection
Add infrastructure modules to be loaded for determining a compiler selection when targeting Android platforms.
This commit is contained in:
parent
47866770ce
commit
64be1ae4a3
|
@ -0,0 +1,2 @@
|
||||||
|
include(Platform/Android/Determine-Compiler)
|
||||||
|
__android_determine_compiler(C)
|
|
@ -0,0 +1,2 @@
|
||||||
|
include(Platform/Android/Determine-Compiler)
|
||||||
|
__android_determine_compiler(CXX)
|
|
@ -0,0 +1,21 @@
|
||||||
|
#=============================================================================
|
||||||
|
# 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_DETERMINE_COMPILER)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
set(__ANDROID_DETERMINE_COMPILER 1)
|
||||||
|
|
||||||
|
macro(__android_determine_compiler lang)
|
||||||
|
endmacro()
|
Loading…
Reference in New Issue