[Cmake-commits] [cmake-commits] david.cole committed CMakeLists.txt 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Aug 27 12:53:21 EDT 2008


Update of /cvsroot/CMake/CMake/Tests/BundleTest/BundleSubDir
In directory public:/mounts/ram/cvs-serv12331/Tests/BundleTest/BundleSubDir

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: Changes that allow configuring/building BundleTest test separately from the main CMake build. (Eliminate reference to CMake_SOURE_DIR.)


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/BundleTest/BundleSubDir/CMakeLists.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** CMakeLists.txt	24 Aug 2007 17:30:41 -0000	1.2
--- CMakeLists.txt	27 Aug 2008 16:53:19 -0000	1.3
***************
*** 13,17 ****
  SET_SOURCE_FILES_PROPERTIES(
    "${BundleTest_SOURCE_DIR}/SomeRandomFile.txt"
!   "${CMake_SOURCE_DIR}/ChangeLog.txt"
    PROPERTIES
    MACOSX_PACKAGE_LOCATION MacOS
--- 13,17 ----
  SET_SOURCE_FILES_PROPERTIES(
    "${BundleTest_SOURCE_DIR}/SomeRandomFile.txt"
!   "${BundleTest_SOURCE_DIR}/../../ChangeLog.txt"
    PROPERTIES
    MACOSX_PACKAGE_LOCATION MacOS
***************
*** 22,30 ****
    "${BundleTest_SOURCE_DIR}/BundleTest.cxx"
    "${BundleTest_SOURCE_DIR}/SomeRandomFile.txt"
!   "${CMake_SOURCE_DIR}/ChangeLog.txt"
    "${CMAKE_CURRENT_BINARY_DIR}/randomResourceFile.plist"
    )
  TARGET_LINK_LIBRARIES(SecondBundle BundleTestLib)
!  
  # Test bundle installation.
  INSTALL(TARGETS SecondBundle DESTINATION Applications)
--- 22,30 ----
    "${BundleTest_SOURCE_DIR}/BundleTest.cxx"
    "${BundleTest_SOURCE_DIR}/SomeRandomFile.txt"
!   "${BundleTest_SOURCE_DIR}/../../ChangeLog.txt"
    "${CMAKE_CURRENT_BINARY_DIR}/randomResourceFile.plist"
    )
  TARGET_LINK_LIBRARIES(SecondBundle BundleTestLib)
! 
  # Test bundle installation.
  INSTALL(TARGETS SecondBundle DESTINATION Applications)



More information about the Cmake-commits mailing list