Skip to content

Commit

Permalink
Switch to Meson
Browse files Browse the repository at this point in the history
  • Loading branch information
tbttfox committed Sep 13, 2024
1 parent 2da1c80 commit fc8cd90
Show file tree
Hide file tree
Showing 662 changed files with 470 additions and 77,314 deletions.
410 changes: 84 additions & 326 deletions .github/workflows/main.yml

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +0,0 @@
[submodule "include/eigen"]
path = include/eigen
url = https://gitlab.com/libeigen/eigen.git
branch = 3.4
[submodule "include/rapidjson"]
path = include/rapidjson
url = https://github.com/Tencent/rapidjson.git
36 changes: 0 additions & 36 deletions CMakeLists.txt

This file was deleted.

81 changes: 0 additions & 81 deletions buildmodfile.py

This file was deleted.

163 changes: 0 additions & 163 deletions cmake/FindMaya.cmake

This file was deleted.

1 change: 0 additions & 1 deletion include/eigen
Submodule eigen deleted from e7248b
1 change: 0 additions & 1 deletion include/rapidjson
Submodule rapidjson deleted from f54b0e
22 changes: 0 additions & 22 deletions mayaConfigure.bat

This file was deleted.

21 changes: 21 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
project('Simplex', 'cpp', default_options: ['cpp_std=c++20'])

maya_dep = dependency('maya')
maya_name_suffix = maya_dep.get_variable('name_suffix')
maya_version = maya_dep.get_variable('maya_version')

maya_build = get_option('maya_build')
python_build = get_option('python_build')

if not maya_build and not python_build
error('No builds requested')
endif

subdir('src/simplexlib')
if maya_build
subdir('src/maya')
endif

if python_build
subdir('src/python')
endif
2 changes: 2 additions & 0 deletions meson.options
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
option('maya_build', type : 'boolean', value : true)
option('python_build', type : 'boolean', value : true)
22 changes: 0 additions & 22 deletions os/README.md

This file was deleted.

Binary file removed os/linux/2.7/lib/libpython2.7.so
Binary file not shown.
Binary file removed os/linux/3.10/lib/libpython3.10.so
Binary file not shown.
Binary file removed os/linux/3.7/lib/libpython3.7m.so
Binary file not shown.
Binary file removed os/linux/3.9/lib/libpython3.9.so
Binary file not shown.
Loading

0 comments on commit fc8cd90

Please sign in to comment.