[Cmake-commits] [cmake-commits] king committed Linux-GNU-C.cmake NONE 1.1 Linux-GNU-CXX.cmake NONE 1.1 Linux-GNU-Fortran.cmake 1.3 1.4 Linux-GNU.cmake NONE 1.1

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jan 13 08:13:21 EST 2010


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv11524/Modules/Platform

Added Files:
	Linux-GNU-C.cmake Linux-GNU-CXX.cmake Linux-GNU-Fortran.cmake 
	Linux-GNU.cmake 
Log Message:
Create Linux GNU compiler flag consolidation macro

This macro will be used for GNU compiler flags that are specific to
Linux but not to any language.


--- NEW FILE: Linux-GNU-Fortran.cmake ---
INCLUDE(Platform/Linux-GNU)
__linux_compiler_gnu(Fortran)

--- NEW FILE: Linux-GNU-CXX.cmake ---
INCLUDE(Platform/Linux-GNU)
__linux_compiler_gnu(CXX)

--- NEW FILE: Linux-GNU-C.cmake ---
INCLUDE(Platform/Linux-GNU)
__linux_compiler_gnu(C)

--- NEW FILE: Linux-GNU.cmake ---

#=============================================================================
# Copyright 2010 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 distributed 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(__LINUX_COMPILER_GNU)
  return()
endif()
set(__LINUX_COMPILER_GNU 1)

macro(__linux_compiler_gnu lang)
endmacro()



More information about the Cmake-commits mailing list