[cmake-commits] hoffman committed CMakeLists.txt NONE 1.1 bar.c NONE 1.1

cmake-commits at cmake.org cmake-commits at cmake.org
Wed May 9 15:10:14 EDT 2007


Update of /cvsroot/CMake/CMake/Tests/BuildDepends/Project
In directory public:/mounts/ram/cvs-serv9810/Project

Added Files:
	CMakeLists.txt bar.c 
Log Message:
ENH: add a test to make sure Xcode does not break again


--- NEW FILE: CMakeLists.txt ---
project(testRebuild)
add_library(foo STATIC ${testRebuild_BINARY_DIR}/foo.c)
add_executable(bar bar.c)
target_link_libraries(bar foo)

--- NEW FILE: bar.c ---
#include "stdio.h"

const char* foo();
int main()
{
  printf("%s", foo());
  return 0;
}



More information about the Cmake-commits mailing list