summaryrefslogtreecommitdiff
path: root/modules/bullet/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-01-13 14:01:53 +0100
committerRémi Verschelde <rverschelde@gmail.com>2018-01-13 14:08:45 +0100
commite12c89e8c9896b2e5cdd70dbd2d2acb449ff4b94 (patch)
treeaf68e434545e20c538f896e28b73f2db7d626edd /modules/bullet/SCsub
parent53c65ae7619ac9e80c89a321c70de64f3745e2aa (diff)
bullet: Streamline bundling, remove extraneous src/ folder
Document version and how to extract sources in thirdparty/README.md. Drop unnecessary CMake and Premake files. Simplify SCsub, drop unused one.
Diffstat (limited to 'modules/bullet/SCsub')
-rw-r--r--modules/bullet/SCsub11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/bullet/SCsub b/modules/bullet/SCsub
index 0967bca3f2..6b1c38a265 100644
--- a/modules/bullet/SCsub
+++ b/modules/bullet/SCsub
@@ -8,7 +8,9 @@ Import('env_modules')
env_bullet = env_modules.Clone()
-bullet_src__2_x = [
+thirdparty_dir = "#thirdparty/bullet/"
+
+bullet2_src = [
# BulletCollision
"BulletCollision/BroadphaseCollision/btAxisSweep3.cpp"
, "BulletCollision/BroadphaseCollision/btBroadphaseProxy.cpp"
@@ -179,13 +181,10 @@ bullet_src__2_x = [
, "LinearMath/btVector3.cpp"
]
-thirdparty_dir = "#thirdparty/bullet/"
-thirdparty_src = thirdparty_dir + "src/"
-
-bullet_sources = [thirdparty_src + file for file in bullet_src__2_x]
+bullet_sources = [thirdparty_dir + file for file in bullet2_src]
# include headers
-env_bullet.Append(CPPPATH=[thirdparty_src])
+env_bullet.Append(CPPPATH=[thirdparty_dir])
env_bullet.add_source_files(env.modules_sources, bullet_sources)