mirror of
https://github.com/reactos/CMake.git
synced 2024-12-09 04:13:47 +00:00
416761e35c
Create a Modules/CMakeSystemSpecificInitialize.cmake module loaded after CMakeSystem.cmake but before per-language initialization. Use it to load an optional Platform/<os>-Initialize.cmake module. This will be useful to do per-platform initialization that does not depend on the language and use the results when enabling specific languages.
21 lines
837 B
CMake
21 lines
837 B
CMake
|
|
#=============================================================================
|
|
# Copyright 2002-2014 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 file is included by cmGlobalGenerator::EnableLanguage.
|
|
# It is included before the compiler has been determined.
|
|
|
|
include(Platform/${CMAKE_SYSTEM_NAME}-Initialize OPTIONAL)
|
|
|
|
set(CMAKE_SYSTEM_SPECIFIC_INITIALIZE_LOADED 1)
|