Skip to content

Commit

Permalink
Integrate constgen as a subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
lhearachel committed Jan 7, 2024
1 parent 0ae74e2 commit 2e15638
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
/subprojects/libpng-*/
/subprojects/zlib-*/
/subprojects/packagecache
/subprojects/constgen/

# CLion folders
.idea/
Expand Down
5 changes: 5 additions & 0 deletions subprojects/constgen.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[wrap-git]
url = https://github.com/lhearachel/constgen.git
revision = meson
depth = 1
directory = constgen
6 changes: 6 additions & 0 deletions tools/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ if not nitrogfx_exe.found()
subproject('nitrogfx', default_options: 'native=true')
nitrogfx_exe = find_program('nitrogfx', native: true)
endif

constgen_py = find_program('constgen_py', native: true, required: false)
if not constgen_py.found()
subproject('constgen')
constgen_py = find_program('constgen_py', native: true)
endif

0 comments on commit 2e15638

Please sign in to comment.