~ubuntu-branches/ubuntu/jaunty/cmake/jaunty-security

« back to all changes in this revision

Viewing changes to Modules/CMakeExportBuildSettings.cmake

  • Committer: Bazaar Package Importer
  • Author(s): A. Maitland Bottoms
  • Date: 2006-06-18 16:34:11 UTC
  • mfrom: (1.4.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060618163411-pi234s3v6jwlcmof
Tags: 2.4.2-1
* New upstream release (Closes: #338324)
* Put cmake .vim files into /usr/share/vim/addons/plugin/
  where they can be used. (Closes: #366663)
* Install cmake-mode.el so it can be used. (Closes: #366664)
* Ensure cmake FindKDE locates KDE libraries on Debian
  based distributions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Macro to export the build settings for use by another project.
2
 
# Provide as an argument the file into which the settings are to be
3
 
# stored.
 
1
# - export build settings from a project.
 
2
#  CMAKE_EXPORT_BUILD_SETTINGS(SETTINGS_FILE)
 
3
# macro defined to export the build settings for use by another project.
 
4
#  SETTINGS_FILE - the file into which the settings are to be stored.
4
5
MACRO(CMAKE_EXPORT_BUILD_SETTINGS SETTINGS_FILE)
5
6
  IF(${SETTINGS_FILE} MATCHES ".+")
6
7
    CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeBuildSettings.cmake.in