diff options
| author | Rémi Verschelde | 2016-10-13 20:58:40 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-10-30 14:51:33 +0100 |
| commit | 4ff4177accb21b76ecccc7df4b3e01fd50d4873c (patch) | |
| tree | 00da7c67de55e8b5f4e67ba2f0485560f5ad5040 /drivers/rtaudio/SCsub | |
| parent | c8a97c36781d633b20e52579993aaadb9122a94b (diff) | |
| download | godot-4ff4177accb21b76ecccc7df4b3e01fd50d4873c.tar.gz godot-4ff4177accb21b76ecccc7df4b3e01fd50d4873c.tar.zst godot-4ff4177accb21b76ecccc7df4b3e01fd50d4873c.zip | |
rtaudio: Split thirdparty files
(cherry picked from commit 8981ff8a84e8cc6967afe3a11613e7d72d8ac599)
Diffstat (limited to 'drivers/rtaudio/SCsub')
| -rw-r--r-- | drivers/rtaudio/SCsub | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/drivers/rtaudio/SCsub b/drivers/rtaudio/SCsub index 6699efef7..836c84c43 100644 --- a/drivers/rtaudio/SCsub +++ b/drivers/rtaudio/SCsub @@ -1,4 +1,18 @@ Import('env') -Export('env'); -env.add_source_files(env.drivers_sources,"*.cpp") +# Not cloning the env, the includes need to be accessible for platform/ + +# Thirdparty source files +thirdparty_dir = "#thirdparty/rtaudio/" +thirdparty_sources = [ + "RtAudio.cpp", +] +thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources] + +env.add_source_files(env.drivers_sources, thirdparty_sources) +env.Append(CPPPATH = [thirdparty_dir]) + +# Driver source files +env.add_source_files(env.drivers_sources, "*.cpp") + +Export('env') |
