diff --git a/.gitignore b/.gitignore index 52540e7..769f154 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ CMakeFiles Makefile cmake_install.cmake install_manifest.txt + +matabstrix.js +matabstrix.js.mem diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..aa861e3 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,5 @@ +cmake_minimum_required (VERSION 3.0) +project (Matabstrix) +add_definitions ("-std=c++14 -Wall -Wextra") +file (GLOB sources *.cpp) +add_executable (matabstrix ${sources}) diff --git a/configure b/configure new file mode 100755 index 0000000..0893cfa --- /dev/null +++ b/configure @@ -0,0 +1,3 @@ +#!/bin/sh + +cmake -DCMAKE_TOOLCHAIN_FILE="$EMSCRIPTEN/cmake/Modules/Platform/Emscripten.cmake" diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..5047a34 --- /dev/null +++ b/main.cpp @@ -0,0 +1,3 @@ +int main() +{ +}