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

« back to all changes in this revision

Viewing changes to Tests/ComplexOneConfig/Library/CMakeLists.txt

  • 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:
52
52
  FULL_DOCS "A simple etst proerty that means nothign and is used for nothing"
53
53
  )
54
54
SET_TARGET_PROPERTIES(CMakeTestCLibraryShared PROPERTIES FOO BAR)
55
 
IF(NOT BEOS)  # No libm on BeOS.
 
55
IF(NOT BEOS AND NOT WIN32)  # No libm on BeOS.
56
56
  SET_TARGET_PROPERTIES(CMakeTestCLibraryShared PROPERTIES LINK_FLAGS "-lm")
57
 
ENDIF(NOT BEOS)
 
57
ENDIF(NOT BEOS AND NOT WIN32)
58
58
GET_TARGET_PROPERTY(FOO_BAR_VAR CMakeTestCLibraryShared FOO)
59
59
IF(${FOO_BAR_VAR} MATCHES "BAR")
60
60
ELSE(${FOO_BAR_VAR} MATCHES "BAR")
66
66
  ADD_LIBRARY(CMakeTestLinkStatic STATIC TestLink.c)
67
67
  ADD_LIBRARY(CMakeTestLinkShared SHARED TestLink.c)
68
68
  SET_TARGET_PROPERTIES(CMakeTestLinkStatic CMakeTestLinkShared
69
 
    PROPERTIES OUTPUT_NAME CMakeTestLink CLEAN_DIRECT_OUTPUT 1)
 
69
    PROPERTIES OUTPUT_NAME CMakeTestLink)
70
70
ENDIF(CMAKE_EXE_LINK_STATIC_CXX_FLAGS)
71
71
 
72
72
#