Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Müller <nexyon@gmail.com>2015-06-16 11:03:35 +0300
committerJörg Müller <nexyon@gmail.com>2015-07-28 15:01:53 +0300
commita0cbebf404d6c46e59b090e7217ce39d7e760809 (patch)
treefad66bb8f714c160c3a3f016e1fba1711824e34d /intern/audaspace
parent58956f3b91e581ef7040371dda3e3595902c18d9 (diff)
Audaspace: fixing problems for the merge to master suggested by Campbell and Sergey.
- rename WITH_EXTERNAL_AUDASPACE to WITH_SYSTEM_AUDASPACE. - rename C/PYAUDASPACE to AUDASPACE_C/PY - simplifying cmake defines and includes. - fixing include paths and enabling WITH_SYSTEM_AUDASPACE for windows. - fixing scons building. - other minor build system fixes.
Diffstat (limited to 'intern/audaspace')
-rw-r--r--intern/audaspace/CMakeLists.txt6
-rw-r--r--intern/audaspace/SConscript4
-rw-r--r--intern/audaspace/intern/AUD_PyInit.cpp6
3 files changed, 10 insertions, 6 deletions
diff --git a/intern/audaspace/CMakeLists.txt b/intern/audaspace/CMakeLists.txt
index 7c6335166ec..7fecb1a48a7 100644
--- a/intern/audaspace/CMakeLists.txt
+++ b/intern/audaspace/CMakeLists.txt
@@ -21,15 +21,15 @@
remove_extra_strict_flags()
-if(WITH_EXTERNAL_AUDASPACE)
+if(WITH_SYSTEM_AUDASPACE)
set(INC
.
)
set(INC_SYS
- ${CAUDASPACE_INCLUDE_DIRS}
- ${PYAUDASPACE_INCLUDE_DIRS}
+ ${AUDASPACE_C_INCLUDE_DIRS}
+ ${AUDASPACE_PY_INCLUDE_DIRS}
)
set(SRC
diff --git a/intern/audaspace/SConscript b/intern/audaspace/SConscript
index cc338629c85..2975545f2b6 100644
--- a/intern/audaspace/SConscript
+++ b/intern/audaspace/SConscript
@@ -24,6 +24,10 @@
Import ('env')
sources = env.Glob('intern/*.cpp') + env.Glob('FX/*.cpp')
+
+# AUD_PyInit is for external audaspace only
+sources.remove('intern/AUD_PyInit.cpp')
+
incs = '. intern FX ' + env['BF_PTHREADS_INC'] + ' ' + env['BF_BOOST_INC']
defs = []
diff --git a/intern/audaspace/intern/AUD_PyInit.cpp b/intern/audaspace/intern/AUD_PyInit.cpp
index 5e89d88c68f..4e27c31b838 100644
--- a/intern/audaspace/intern/AUD_PyInit.cpp
+++ b/intern/audaspace/intern/AUD_PyInit.cpp
@@ -28,9 +28,9 @@
#include "AUD_PyInit.h"
-#include <audaspace/AUD_Sound.h>
-#include <audaspace/python/PySound.h>
-#include <audaspace/python/PyAPI.h>
+#include <AUD_Sound.h>
+#include <python/PySound.h>
+#include <python/PyAPI.h>
extern "C" {
extern void *BKE_sound_get_factory(void *sound);