[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.1 1.2 unset.c NONE 1.1 unset.cc 1.1 NONE
cmake-commits at cmake.org
cmake-commits at cmake.org
Sat Aug 30 10:32:54 EDT 2008
Update of /cvsroot/CMake/CMake/Tests/Unset
In directory public:/mounts/ram/cvs-serv20301/Tests/Unset
Modified Files:
CMakeLists.txt
Added Files:
unset.c
Removed Files:
unset.cc
Log Message:
BUG: Fix Unset test on VS 6
Visual Studio 6 does not recognize .cc as a C++ extension by default.
Simplify the test to be C-only and use a .c extension.
--- unset.cc DELETED ---
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Unset/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** CMakeLists.txt 25 Aug 2008 14:31:29 -0000 1.1
--- CMakeLists.txt 30 Aug 2008 14:32:52 -0000 1.2
***************
*** 1,3 ****
! project(Unset)
# Local variable
--- 1,4 ----
! cmake_minimum_required(VERSION 2.6)
! project(Unset C)
# Local variable
***************
*** 38,40 ****
! add_executable(Unset unset.cc)
--- 39,41 ----
! add_executable(Unset unset.c)
--- NEW FILE: unset.c ---
int main()
{
return 0;
}
More information about the Cmake-commits
mailing list