imported lab skeletons

This commit is contained in:
Sven Gestegard Robertz 2021-10-27 15:15:47 +02:00
parent 4fc8b6c771
commit e4df45f4a9
47 changed files with 15122 additions and 87 deletions

View file

@ -0,0 +1 @@
add_library(TestLib foo.cc bar.cc)

View file

@ -0,0 +1,6 @@
#include <iostream>
void bar_fun(int x)
{
std::cout << "[bar: " << x << "]" << "\n";
}

View file

@ -0,0 +1 @@
void bar_fun(int);

View file

@ -0,0 +1,7 @@
#include <iostream>
void foo_fun()
{
auto x = 17; // use a C++11 feature to see if flags are set correctly
std::cout << "[foo: " << x << "]" << "\n";
}

View file

@ -0,0 +1 @@
void foo_fun();