diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 3ac0487..84bbfa5 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -44,7 +44,7 @@ jobs: - name: Build C side with cmake run: | ls - cmake . -DQUICKTEX_NOPYTHON + cmake . -DQUICKTEX_NOPYTHON=TRUE cmake --build . - name: Run C tests diff --git a/quicktex/test.cpp b/quicktex/test.cpp new file mode 100644 index 0000000..b221782 --- /dev/null +++ b/quicktex/test.cpp @@ -0,0 +1,31 @@ +/* Quicktex Texture Compression Library + Copyright (C) 2021 Andrew Cassidy + Partially derived from rgbcx.h written by Richard Geldreich + and licenced under the public domain + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + */ + +#include +#include +#include + +#include "Matrix.h" + +// Type your code here, or load an example. +namespace quicktex { +auto test(Matrix a, Matrix b, Matrix c) { + return a * 7; +}; +} // namespace quicktex