Fix cmake languages (#62)

When no language is set cmake defaults to C and CXX, since we support
C by itself we should set the project language to C so that we don't
get a compiler error when building without a CXX toolchain.

Fixes:
CMake Error at CMakeLists.txt:5 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
1 file changed
tree: aa6632534b05d5a4f3df8811972e21014639c625
  1. cmake/
  2. .gitignore
  3. CMakeLists.txt
  4. LICENSE
  5. NEON_2_SSE.h
  6. ReadMe.md
ReadMe.md

The NEON_2_SSE.h file is intended to simplify ARM->IA32 porting. It makes the correspondence (or a real porting) of ARM NEON intrinsics as defined in “arm_neon.h” header and x86 SSE (up to SSE4.2) intrinsic functions as defined in corresponding x86 compilers headers files.


To take advantage of this file just include it in your project that uses ARM NEON intinsics instead of “arm_neon.h”, compile it as usual and enjoy the result.

For significant performance improvement in some cases you might need to define USE_SSE4 in your project settings. Otherwise SIMD up to SSSE3 to be used.

If NEON2SSE_DISABLE_PERFORMANCE_WARNING macro is defined, then the performance warnings are disabled.

For more information and license please read the NEON_2_SSE.h content.

The unit tests set used for ARM NEON - x86 SSE conformance verification is https://github.com/christophe-lyon/arm-neon-tests