Tests: Provide generic project for manual testing

For now Linux-only.

Change-Id: I88185e18222478de41564ec8be0239357cfb4b30
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2019-10-30 12:53:36 +01:00
committed by hjk
parent 923027537a
commit 7a4cf827d9
8 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
CC := g++
FLAGS :=
FILES := $(shell find . -name '*.cpp' -o -name '*.h')
DESTNAME:= generic
.PHONY: all clean
TARGETS := Generic
all: $(TARGETS)
clean:
find . -type f -name '*.o' -delete
rm -rf .obj
rm -f generic
$(TARGETS):
$(CC) $(FLAGS) $(FILES) -o $(DESTNAME)

View File

@@ -0,0 +1 @@
-std=c17

View File

@@ -0,0 +1,2 @@
// Add predefined macros for your project here. For example:
// #define THE_ANSWER 42

View File

@@ -0,0 +1 @@
[General]

View File

@@ -0,0 +1 @@
-std=c++17

View File

@@ -0,0 +1,2 @@
main.cpp
Makefile

View File

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