diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2010-09-02 15:56:40 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2010-09-02 15:56:40 (GMT) |
commit | ced61f5722d65525fd4b8dbf96d5ea8f254099c2 (patch) | |
tree | 00c5e10e7a53c7689ec7d560fb348e5edd03e2ec /Tests/CxxOnly/cxxonly.cxx | |
parent | f9436016401416b21f6dfc30b5a548c909f649bb (diff) | |
download | CMake-ced61f5722d65525fd4b8dbf96d5ea8f254099c2.zip CMake-ced61f5722d65525fd4b8dbf96d5ea8f254099c2.tar.gz CMake-ced61f5722d65525fd4b8dbf96d5ea8f254099c2.tar.bz2 |
Let CMake recognize .CPP .CXX and .C++ as c++ files.
Diffstat (limited to 'Tests/CxxOnly/cxxonly.cxx')
-rw-r--r-- | Tests/CxxOnly/cxxonly.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CxxOnly/cxxonly.cxx b/Tests/CxxOnly/cxxonly.cxx index 99ccf3b..2996e65 100644 --- a/Tests/CxxOnly/cxxonly.cxx +++ b/Tests/CxxOnly/cxxonly.cxx @@ -1,10 +1,14 @@ #include "libcxx1.h" #include "libcxx2.h" +extern int testCPP; +extern int testCXX; +extern int testCplusplus; #include <stdio.h> int main () { + testCPP = testCXX= testCplusplus = 1; if ( LibCxx1Class::Method() != 2.0 ) { printf("Problem with libcxx1\n"); |