~ubuntu-branches/ubuntu/lucid/cmake/lucid

« back to all changes in this revision

Viewing changes to Modules/CMakeGenericSystem.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2009-12-16 11:11:54 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091216111154-6accvv6yq86h2hkc
Tags: 2.8.0-5ubuntu1
* Merge from debian testing (LP: #497349). Remaining changes:
  - Keep the Replaces: on cmake-data to cover the Kubuntu version from
    Jaunty in case someone decides to do an (unsupported) Jaunty->Lucid
    upgrade.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#=============================================================================
 
3
# Copyright 2004-2009 Kitware, Inc.
 
4
#
 
5
# Distributed under the OSI-approved BSD License (the "License");
 
6
# see accompanying file Copyright.txt for details.
 
7
#
 
8
# This software is distributed WITHOUT ANY WARRANTY; without even the
 
9
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
10
# See the License for more information.
 
11
#=============================================================================
 
12
# (To distributed this file outside of CMake, substitute the full
 
13
#  License text for the above reference.)
 
14
 
1
15
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "")            # -pic 
2
16
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")       # -shared
3
17
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")         # +s, flag for exe link to use shared lib
33
47
    "Enable/Disable color output during build."
34
48
    )
35
49
  MARK_AS_ADVANCED(CMAKE_COLOR_MAKEFILE)
 
50
  IF(DEFINED CMAKE_RULE_MESSAGES)
 
51
    SET_PROPERTY(GLOBAL PROPERTY RULE_MESSAGES ${CMAKE_RULE_MESSAGES})
 
52
  ENDIF(DEFINED CMAKE_RULE_MESSAGES)
36
53
ENDIF(CMAKE_GENERATOR MATCHES "Makefiles")
37
54
 
38
55
# Set a variable to indicate whether the value of CMAKE_INSTALL_PREFIX