ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.06k stars 413 forks source link

cross-compile using cmake #77

Closed meloncolie closed 5 years ago

meloncolie commented 5 years ago

Hello, i have problem with cross-compiling. if i make a subdirectory and call cmake .. in it, no CMakeFiles, CMakeCache and related files will be generate. Here is the commands:

mkdir build-arm-linux-gnueabihf && cd build-arm-linux-gnueabihf
cmake .. -DTOOLCHAIN="/usr/bin/arm-linux-gnueabihf-g++" -DTARGET="arm" -D
CMAKE_BUILD_TYPE="Release" -DLIBRARY="STATIC"

This phenomena is pretty wired in my respect, i am wandering how this happens and how could i make it in a subdirectory. Thanks a lot

ermig1979 commented 5 years ago

I have performed the commands above and they are work fine.