[cmake-commits] hoffman committed CMakeLists.txt NONE 1.1 foo.cxx NONE 1.1

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jan 30 13:02:34 EST 2008


Update of /cvsroot/CMake/CMake/Tests/SubProject/foo
In directory public:/mounts/ram/cvs-serv2825

Added Files:
	CMakeLists.txt foo.cxx 
Log Message:
ENH: add missing files


--- NEW FILE: CMakeLists.txt ---
project(foo)
add_executable(foo foo.cxx)
target_link_libraries(foo bar)

--- NEW FILE: foo.cxx ---
int bar();
#include <stdio.h>

int main(int ac, char** av)
{
  (void)ac;
  (void)av;
  int ret = bar();
  printf("bar = %d\n", ret);
  if(ret == 10)
    {
    return 0;
    }
  return -1;
}



More information about the Cmake-commits mailing list