[Cmake-commits] [cmake-commits] hoffman committed CMakeLists.txt NONE 1.1.2.2 echoargs.c NONE 1.1.2.2

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 9 16:11:46 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/CTestTest/SmallAndFast
In directory public:/mounts/ram/cvs-serv13963/Tests/CTestTest/SmallAndFast

Added Files:
      Tag: CMake-2-8
	CMakeLists.txt echoargs.c 
Log Message:
Merge in changes for RC 3


--- NEW FILE: echoargs.c ---
#include <stdio.h>

int main(int argc, const char* argv[])
{
  int i = 0;
  for (; i<argc; ++i)
  {
    fprintf(stdout, "%s\n", argv[i]);
  }
  return 0;
}

--- NEW FILE: CMakeLists.txt ---
cmake_minimum_required(VERSION 2.8)
project(SmallAndFast)

include(CTest)

add_executable(echoargs echoargs.c)

add_test(test0 echoargs)
add_test(test1 echoargs 1)
add_test(test2 echoargs 1 2)



More information about the Cmake-commits mailing list