2016-09-27 15:01:08 -04:00
|
|
|
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
2005-12-14 13:51:08 -05:00
|
|
|
|
2009-09-28 11:46:51 -04:00
|
|
|
|
2004-08-26 14:55:55 -04:00
|
|
|
# this file has flags that are shared across languages and sets
|
|
|
|
# cache values that can be initialized in the platform-compiler.cmake file
|
|
|
|
# it may be included by more than one language.
|
|
|
|
|
2016-07-28 00:41:13 +02:00
|
|
|
string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " $ENV{LDFLAGS}")
|
|
|
|
string(APPEND CMAKE_SHARED_LINKER_FLAGS_INIT " $ENV{LDFLAGS}")
|
|
|
|
string(APPEND CMAKE_MODULE_LINKER_FLAGS_INIT " $ENV{LDFLAGS}")
|
2016-07-13 14:41:21 -04:00
|
|
|
|
2017-11-27 19:22:11 +01:00
|
|
|
cmake_initialize_per_config_variable(CMAKE_EXE_LINKER_FLAGS "Flags used by the linker")
|
|
|
|
cmake_initialize_per_config_variable(CMAKE_SHARED_LINKER_FLAGS "Flags used by the linker during the creation of shared libraries")
|
|
|
|
cmake_initialize_per_config_variable(CMAKE_MODULE_LINKER_FLAGS "Flags used by the linker during the creation of modules")
|
|
|
|
cmake_initialize_per_config_variable(CMAKE_STATIC_LINKER_FLAGS "Flags used by the linker during the creation of static libraries")
|
2013-07-11 10:18:56 +02:00
|
|
|
|
2013-11-13 11:33:17 -05:00
|
|
|
# Alias the build tool variable for backward compatibility.
|
|
|
|
set(CMAKE_BUILD_TOOL ${CMAKE_MAKE_PROGRAM})
|
2004-08-26 14:55:55 -04:00
|
|
|
|
2012-08-13 13:47:32 -04:00
|
|
|
mark_as_advanced(
|
2012-08-13 13:42:58 -04:00
|
|
|
CMAKE_VERBOSE_MAKEFILE
|
2004-08-26 14:55:55 -04:00
|
|
|
)
|