parent
02dc69f7a0
commit
f2758fa077
@ -0,0 +1,5 @@
|
||||
|
||||
#include "configuration.h"
|
||||
Configuration config;
|
||||
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
|
||||
#ifndef _CONFIGURATION_H_
|
||||
#define _CONFIGURATION_H_
|
||||
|
||||
class Configuration {
|
||||
private:
|
||||
|
||||
public:
|
||||
Configuration() {};
|
||||
~Configuration() {};
|
||||
|
||||
};
|
||||
|
||||
extern Configuration config;
|
||||
|
||||
#endif
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "configuration.h"
|
||||
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
printf ("MiniWebCam:\n");
|
||||
return 0;
|
||||
};
|
||||
|
||||
@ -0,0 +1,22 @@
|
||||
|
||||
project('miniwebcam', 'cpp', default_options: [
|
||||
'cpp_std=gnu++14'
|
||||
])
|
||||
|
||||
miniwebcam_src = [
|
||||
'main.cc',
|
||||
'configuration.cc',
|
||||
'webserver.cc'
|
||||
]
|
||||
|
||||
miniwebcam_headers = [
|
||||
'configuration.h'
|
||||
]
|
||||
|
||||
|
||||
executable('miniwebcam',
|
||||
install : true,
|
||||
sources: miniwebcam_src,
|
||||
extra_files: miniwebcam_headers
|
||||
)
|
||||
|
||||
Loading…
Reference in new issue