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

« back to all changes in this revision

Viewing changes to Tests/SimpleInstall/InstallScript2.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
MESSAGE("This is install script 2.")
 
2
IF(INSTALL_SCRIPT_1_DID_RUN)
 
3
  MESSAGE("Install script ordering works.")
 
4
ELSE(INSTALL_SCRIPT_1_DID_RUN)
 
5
  MESSAGE(FATAL_ERROR "Install script 1 did not run before install script 2.")
 
6
ENDIF(INSTALL_SCRIPT_1_DID_RUN)
 
7
IF(INSTALL_CODE_DID_RUN)
 
8
  MESSAGE("Install code ordering works.")
 
9
ELSE(INSTALL_CODE_DID_RUN)
 
10
  MESSAGE(FATAL_ERROR "Install script 2 did not run after install code.")
 
11
ENDIF(INSTALL_CODE_DID_RUN)
 
12
FILE(WRITE "${CMAKE_INSTALL_PREFIX}/MyTest/InstallScriptOut.cmake"
 
13
  "SET(CMAKE_INSTALL_SCRIPT_DID_RUN 1)\n"
 
14
  )