[Cmake-commits] [cmake-commits] hoffman committed CMakeLists.txt 1.7 1.8
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Feb 19 11:51:27 EST 2009
Update of /cvsroot/CMake/CMake/Tests/BuildDepends/Project
In directory public:/mounts/ram/cvs-serv8842/Tests/BuildDepends/Project
Modified Files:
CMakeLists.txt
Log Message:
BUG: fix xcode depend issue and add a test for it
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/BuildDepends/Project/CMakeLists.txt,v
retrieving revision 1.7
retrieving revision 1.8
diff -C 2 -d -r1.7 -r1.8
*** CMakeLists.txt 14 May 2008 15:55:12 -0000 1.7
--- CMakeLists.txt 19 Feb 2009 16:51:24 -0000 1.8
***************
*** 1,6 ****
cmake_minimum_required(VERSION 2.6)
project(testRebuild)
add_library(foo STATIC ${testRebuild_BINARY_DIR}/foo.cxx)
!
# Add a generated header that regenerates when the generator is
# rebuilt.
--- 1,7 ----
cmake_minimum_required(VERSION 2.6)
project(testRebuild)
+ set(CMAKE_OSX_ARCHITECTURES "ppc;i386")
add_library(foo STATIC ${testRebuild_BINARY_DIR}/foo.cxx)
! set_target_properties(foo PROPERTIES OUTPUT_NAME "foolib")
# Add a generated header that regenerates when the generator is
# rebuilt.
***************
*** 22,25 ****
--- 23,27 ----
add_executable(generator generator.cxx)
target_link_libraries(generator foo)
+ set_target_properties(generator PROPERTIES OUTPUT_NAME "gen")
# Build an executable to drive the build and rebuild.
More information about the Cmake-commits
mailing list