Skip to content

Commit

Permalink
added scsub for libskeleton, need to add thirdparty source repo
Browse files Browse the repository at this point in the history
  • Loading branch information
hungrymonkey authored and hungrymonkey committed Dec 27, 2017
1 parent 377b81d commit 334f546
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions modules/talkingtree_storage/SCsub
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
#!/usr/bin/env python

# SCsub
Import('env')

env_talking_tree_storage = env.Clone()

thirdparty_libskeleton_srcs = [
"skeleton.c",
"skeleton_query.c",
"skeleton_vector.c"
]
thirdparty_libskeleton_includes = [
"include/",
]
thirdparty_libskeleton_dir = "#thirdparty/libskeleton/"
thirdparty_libskeleton_sources = [thirdparty_libskeleton_dir + "src/" + f for f in thirdparty_libskeleton_srcs]
env_talking_tree_storage.Append(CPPPATH=[thirdparty_libskeleton_dir + d for d in thirdparty_libskeleton_includes ])
env_talking_tree_storage.add_source_files(env.modules_sources, thirdparty_libskeleton_sources)

# also requires libogg
if env['builtin_libogg']:
env_talking_tree_storage.Append(CPPPATH=["#thirdparty/libogg"])
Expand Down

0 comments on commit 334f546

Please sign in to comment.