add unit test for a simple CXX project

This commit is contained in:
Radovan Bast
2015-05-23 11:14:18 +02:00
parent 4e2da28705
commit f5e62c16fb
5 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[project]
name: example
[cxx]
source: https://github.com/scisoft/autocmake/raw/master/modules/UseCXX.cmake
docopt: --cxx=<CXX> C++ compiler [default: g++].
export: 'CXX=%s' % arguments['--cxx']
[custom]
source: custom/custom.cmake

View File

@ -0,0 +1 @@
add_executable(example example.cpp)

7
test/cxx/example.cpp Normal file
View File

@ -0,0 +1,7 @@
#include <iostream>
int main()
{
std::cout << "Hello World!";
return 0;
}