If you specify header file as source, it should still use C compiler and not CXX...
commit9c05722c331b7fa0989b94060bb354c8dc82be77
authorandy <andy>
Sun, 6 Oct 2002 16:12:59 +0000 (6 16:12 +0000)
committerandy <andy>
Sun, 6 Oct 2002 16:12:59 +0000 (6 16:12 +0000)
treed21b2372bb97f7f2a5afca3c5f98784e44f28eeb
parentd0c037b3c9b09f9df2defdebe55db0da9de4ca17
If you specify header file as source, it should still use C compiler and not CXX. Also fix COnly test so that it make sure that this still works...
Source/cmTarget.cxx
Tests/COnly/CMakeLists.txt
Tests/COnly/conly.c
Tests/COnly/foo.c [new file with mode: 0644]
Tests/COnly/foo.h [new file with mode: 0644]