Commit 8e30ac01 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

BUG: fix xcode depend issue again with a test

parent 1dda6a59
......@@ -354,7 +354,7 @@ ENDMACRO (CMAKE_BUILD_UTILITIES)
SET(CMake_VERSION_MAJOR 2)
SET(CMake_VERSION_MINOR 6)
SET(CMake_VERSION_PATCH 3)
SET(CMake_VERSION_RC 16)
SET(CMake_VERSION_RC 17)
# CVS versions are odd, if this is an odd minor version
# then set the CMake_VERSION_DATE variable
IF("${CMake_VERSION_MINOR}" MATCHES "[13579]$")
......
Changes in CMake 2.6.3 RC 17
- Fix Xcode rebuild issue again, with a test!
Changes in CMake 2.6.3 RC 16
- Fix Xcode rebuild issue again...
......
......@@ -2695,7 +2695,7 @@ cmGlobalXCodeGenerator::CreateXCodeDependHackTarget(
universal += ".build/";
universal += configName;
universal += "/";
universal += t->GetName();
universal += t->GetFullName(configName);
universal += ".build/Objects-normal/";
for( std::vector<std::string>::iterator arch =
this->Architectures.begin();
......
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.
add_custom_command(
......@@ -21,6 +22,7 @@ add_custom_command(
# changes. This should cause regen.h to be recreated also.
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.
include_directories(${CMAKE_CURRENT_BINARY_DIR})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment