Vc sources now use completely namespaced includes to work around messed up MacOS X
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Jul 2012 17:08:37 +0000 (17:08 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 Jul 2012 17:08:37 +0000 (17:08 +0000)
Vc/CMakeLists.txt
Vc/src/avx/sorthelper.cpp
Vc/src/support.cpp
Vc/src/vector.cpp

index 668b809..483f66a 100644 (file)
@@ -7,7 +7,7 @@ macro(vc_add_target_property _target _prop _value)
    endif(NOT _oldprop)
 endmacro()
 
-include_directories("${Vc_INCLUDE_DIR}" "${Vc_INCLUDE_DIR}/Vc")
+include_directories("${Vc_INCLUDE_DIR}")
 
 if(USE_AVX)
    add_library(Vc STATIC src/vector.cpp src/cpuid.cpp src/support.cpp src/avx/sorthelper.cpp)
index 1cf7c73..219f10d 100644 (file)
 
 */
 
-#include <avx/intrinsics.h>
-#include <avx/casts.h>
-#include <avx/sorthelper.h>
-#include <avx/macros.h>
+#include <Vc/avx/intrinsics.h>
+#include <Vc/avx/casts.h>
+#include <Vc/avx/sorthelper.h>
+#include <Vc/avx/macros.h>
 
 namespace Vc
 {
index 8b3ccea..c9aa20c 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <Vc/global.h>
 #include <Vc/cpuid.h>
-#include "common/support.h"
+#include "Vc/common/support.h"
 
 #ifdef VC_MSVC
 #include <intrin.h>
index 44eb28c..aa6a167 100644 (file)
@@ -25,9 +25,9 @@
 # endif
 #endif
 
-#include "common/const.h"
-#include "avx/const_data.h"
-#include "sse/const_data.h"
+#include "Vc/common/const.h"
+#include "Vc/avx/const_data.h"
+#include "Vc/sse/const_data.h"
 #include <Vc/version.h>
 
 #include <cstdio>