Verify in cmake if it possible to compile with C++yy standard

This commit is contained in:
Joerg-Christian Boehme
2017-11-04 02:29:06 +01:00
parent 9fd471dc93
commit c6e1a0137b
3 changed files with 33 additions and 11 deletions

9
cmake/test_compiler.cpp Normal file
View File

@@ -0,0 +1,9 @@
#include <iostream>
#include <string>
int main()
{
std::string str = "Try to compile";
std::cout << str << '\n';
return 0;
}