[Cmake-commits] [cmake-commits] king committed CMakeLists.txt NONE 1.1 policy0002.c NONE 1.1
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Sep 28 17:34:36 EDT 2009
Update of /cvsroot/CMake/CMake/Tests/Policy0002
In directory public:/mounts/ram/cvs-serv26047/Tests/Policy0002
Added Files:
CMakeLists.txt policy0002.c
Log Message:
Test support for OLD behavior of policy CMP0002
Policy CMP0002's OLD behavior allows duplicate non-custom targets. We
test it with a project that builds two executables of the same name by
setting CMP0002 to OLD.
--- NEW FILE: policy0002.c ---
int main(void)
{
return 0;
}
--- NEW FILE: CMakeLists.txt ---
cmake_minimum_required(VERSION 2.6)
project(Policy0002 C)
cmake_policy(SET CMP0002 OLD)
add_subdirectory(A)
add_executable(Policy0002 policy0002.c)
More information about the Cmake-commits
mailing list