Browse Source

init

master
nukashimika 2 years ago
commit
e71cb706c9
  1. 7
      meson.build
  2. 12
      shell.nix
  3. 11
      src/include/app.hpp
  4. 14
      src/main.cpp

7
meson.build

@ -0,0 +1,7 @@
project('multiplex', 'cpp')
qt = [dependency('qt5')]
src = [
'src/main.cpp'
]
executable('multiplex', sources: src, dependencies: qt)

12
shell.nix

@ -0,0 +1,12 @@
{pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
glfw
glew
gcc
zsh
exa
pkg-config
];
}

11
src/include/app.hpp

@ -0,0 +1,11 @@
class App
{
public:
void run()
{
}
private:
};

14
src/main.cpp

@ -0,0 +1,14 @@
#include <exception>
#include <iostream>
#include "include/app.hpp"
int main()
{
App app;
try {
app.run();
} catch (std::exception ex) {
std::cout << "ERROR: " << ex.what() << std::endl;
}
}