[cmake-commits] hoffman committed TestLink.c NONE 1.1.2.1 notInAllLib.cxx NONE 1.1.2.1 test_preprocess.cmake NONE 1.1.2.1

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 13 10:58:13 EDT 2006


Update of /cvsroot/CMake/CMake/Tests/Complex/Library
In directory public:/mounts/ram/cvs-serv5047/Tests/Complex/Library

Added Files:
      Tag: CMake-2-4
	TestLink.c notInAllLib.cxx test_preprocess.cmake 
Log Message:
ENH: merge files from main tree to 2.4


--- NEW FILE: test_preprocess.cmake ---
SET(TEST_FILE CMakeFiles/create_file.dir/create_file.i)
FILE(READ ${TEST_FILE} CONTENTS)
IF("${CONTENTS}" MATCHES "Unable to close")
  MESSAGE(STATUS "${TEST_FILE} created successfully!")
ELSE("${CONTENTS}" MATCHES "Unable to close")
  MESSAGE(FATAL_ERROR "${TEST_FILE} creation failed!")
ENDIF("${CONTENTS}" MATCHES "Unable to close")

--- NEW FILE: notInAllLib.cxx ---
int notInAllLibFunc() { return 0; }

#if 1
# error "This target should not be compiled by ALL."
#endif

--- NEW FILE: TestLink.c ---
int TestLinkGetType()
{
#ifdef CMakeTestLinkShared_EXPORTS
  return 0;
#else
  return 1;
#endif
}



More information about the Cmake-commits mailing list