opencv/cmake
Gregory Morse d30a0c6f03 Merge pull request #9856 from GregoryMorse:patch-1
* Update OpenCVCompilerOptimizations.cmake

Neon not supported on MSVC ARM breaking build fix

* Update OpenCVCompilerOptimizations.cmake

Whitespace

* Update intrin.hpp

Many problems in MSVC ARM builds (at least on VS2017) being fixed in this PR now.

C:\Users\Gregory\DOCUME~1\MYLIBR~1\OPENCV~3\opencv\sources\modules\core\include\opencv2/core/hal/intrin.hpp(444): error C3861: '_tzcnt_u32': identifier not found

* Update hal_replacement.hpp

Passing variadic expansion in a macro to another macro does not work properly in MSVC and a famous known workaround is hereby applied.  Discussion of it: https://stackoverflow.com/questions/5134523/msvc-doesnt-expand-va-args-correctly
Only needed the fix for ARM builds: TEGRA_ macros are used for cv_hal_ functions in the carotene library.

C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\core\src\arithm.cpp(2378): warning C4003: not enough actual parameters for macro 'TEGRA_ADD'
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\core\src\arithm.cpp(2378): error C2143: syntax error: missing ')' before ','
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\core\src\arithm.cpp(2378): error C2059: syntax error: ')'

* Update hal_replacement.hpp

All hal_replacement's using carotene\hal\tegra_hal.hpp TEGRA_ functions as macros preprocessed by variadic macros should be changed, identical as was done in core.
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\imgproc\src\color.cpp(9604): warning C4003: not enough actual parameters for macro 'TEGRA_CVTBGRTOBGR'
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\imgproc\src\color.cpp(9604): error C2059: syntax error: '=='

* Update OpenCVCompilerOptimizations.cmake

* Update hal_replacement.hpp

* Update hal_replacement.hpp
2017-10-16 12:12:35 +03:00
..
checks Added support for VSX 2017-10-09 00:32:29 +00:00
FindCUDA cmake: fix CUDA flags generation 2017-01-23 18:45:53 +03:00
templates cmake: map RelWithDebInfo and MinSizeRel configuration to Release 2017-09-18 17:47:49 +02:00
cl2cpp.cmake Merge pull request #7894 from alalek:ocl_program 2017-05-03 13:48:58 +00:00
copyAndroidLibs.cmake android: allow to build & run examples without Android OpenCV Manager 2014-06-06 18:01:04 +04:00
FindCUDA.cmake fix build error on Jetson TK1 2017-08-29 19:05:13 +09:00
FindGstreamerWindows.cmake Newer versions of gstreamer use a slightly different include path on windows. 2016-10-20 11:02:18 -04:00
FindOpenVX.cmake Updated OpenVX detector and wrappers to handle Reference attribute names change 2017-03-22 16:50:38 +03:00
FindPylint.cmake cmake: fix Pylint version detection 2017-08-28 19:03:44 +03:00
OpenCVCompilerDefenses.cmake cmake: fix linker flags 2017-07-04 15:04:42 +03:00
OpenCVCompilerOptimizations.cmake Merge pull request #9856 from GregoryMorse:patch-1 2017-10-16 12:12:35 +03:00
OpenCVCompilerOptions.cmake cmake: disable implicit-fallthrough by default 2017-09-11 16:04:00 +03:00
OpenCVCRTLinkage.cmake cmake: fix MSVC static builds 2017-03-25 01:28:43 +03:00
OpenCVDetectAndroidSDK.cmake cmake: CMP0026 NEW 2017-08-19 15:15:05 +00:00
OpenCVDetectApacheAnt.cmake Fix ant/Java detection in cmake scripts 2013-03-29 18:29:40 +04:00
OpenCVDetectCStripes.cmake Merge pull request #9075 from TonyLianLong:master 2017-07-03 16:14:17 +00:00
OpenCVDetectCUDA.cmake Enable CUDA_NVCC_FLAGS at arch detect step. 2017-08-31 12:57:43 +03:00
OpenCVDetectCXXCompiler.cmake Added support for VSX 2017-10-09 00:32:29 +00:00
OpenCVDetectDirectX.cmake fix build with Win7 SDK 2015-07-30 23:23:01 +03:00
OpenCVDetectHalide.cmake cmake: add Halide support (#8794) 2017-06-21 14:33:47 +03:00
OpenCVDetectMediaSDK.cmake MediaSDK video backend: Windows support 2017-10-11 16:33:37 +03:00
OpenCVDetectOpenCL.cmake cmake: refactor OpenCL detection, allow custom configurations 2016-01-15 13:05:16 +03:00
OpenCVDetectPython.cmake doc: Small change to documentation in DectectPython.cmake 2016-10-05 16:52:28 -07:00
OpenCVDetectTBB.cmake tbb: don't search library in ENV{LD_LIBRARY_PATH} 2017-10-10 14:18:28 +03:00
OpenCVDetectTrace.cmake trace: initial support for code trace 2017-06-26 17:07:13 +03:00
OpenCVDetectVTK.cmake Newer versions of gstreamer use a slightly different include path on windows. 2016-10-20 11:02:18 -04:00
OpenCVDownload.cmake Update OpenCVDownload.cmake unpack 2017-09-21 14:00:43 +02:00
OpenCVExtraTargets.cmake Removed all use of the obsolete IMMEDIATE parameter to configure_file. 2014-01-29 19:34:02 +04:00
OpenCVFindAtlas.cmake moved BLAS/LAPACK detection scripts from opencv_contrib/dnn to the main repository (#7918) 2016-12-22 22:57:44 +03:00
OpenCVFindIntelPerCSDK.cmake Fix notes about cmake files. Fix build warning. 2013-12-17 16:13:55 +04:00
OpenCVFindIPP.cmake ICV2017u3 package update; 2017-08-23 14:24:43 +03:00
OpenCVFindIPPAsync.cmake Added SharedMatrix 2014-04-03 14:53:27 +04:00
OpenCVFindIPPIW.cmake Standalone IPP with IW fix; 2017-10-11 15:30:01 +03:00
OpenCVFindLAPACK.cmake cmake: fix LAPACK/MKL detection 2017-10-13 15:40:37 +03:00
OpenCVFindLATEX.cmake Started top-level CMakeLists.txt file reorganization: cmake scripts are moved to separate folder; refactored BUILD_*, INSTALL_*, ENABLE_*, USE_*, WITH_* options. 2012-01-03 13:48:12 +00:00
OpenCVFindLibProtobuf.cmake 3rdparty: update CMake scripts for protobuf 2017-06-22 17:44:53 +03:00
OpenCVFindLibsGrfmt.cmake Update OpenCVFindLibsGrfmt.cmake 2017-09-30 21:39:50 +03:00
OpenCVFindLibsGUI.cmake Removed extra dependencies from videoio library 2017-06-30 18:54:42 +03:00
OpenCVFindLibsPerf.cmake build: HAVE_LIBPTHREAD, HAVE_PTHREAD(S) => HAVE_PTHREAD 2017-08-14 10:59:38 +03:00
OpenCVFindLibsVideo.cmake cmake: use CMAKE_CXX_COMPILER_VERSION (CMake 2.8.8+) 2017-08-21 18:06:40 +03:00
OpenCVFindMatlab.cmake cmake: update matlab path 2016-09-01 15:17:32 +03:00
OpenCVFindMKL.cmake Fix MKL linkage with enabled OpenMP 2017-07-01 20:02:13 +03:00
OpenCVFindOpenBLAS.cmake moved BLAS/LAPACK detection scripts from opencv_contrib/dnn to the main repository (#7918) 2016-12-22 22:57:44 +03:00
OpenCVFindOpenEXR.cmake Normalize line endings and whitespace 2012-10-17 15:57:49 +04:00
OpenCVFindOpenNI2.cmake Added enviroment search paths for OpenNI2 for linux and fixed specific warning 2014-12-24 15:07:05 +03:00
OpenCVFindOpenNI.cmake Normalize line endings and whitespace 2012-10-17 15:57:49 +04:00
OpenCVFindVA_INTEL.cmake fallback path & sample timing implemented 2015-09-04 02:42:49 +03:00
OpenCVFindVA.cmake changed device detection procedure, added resizing surface to bigger size 2015-09-23 17:35:49 +03:00
OpenCVFindWebP.cmake This code is based on https://github.com/prasannatsm/opencv code. 2013-03-11 11:51:38 +04:00
OpenCVFindXimea.cmake XIMEA cam support: allow on OS X too 2014-09-09 19:25:14 +04:00
OpenCVGenABI.cmake cmake: CMP0026 NEW 2017-08-19 15:15:05 +00:00
OpenCVGenAndroidMK.cmake cmake: CMP0026 NEW 2017-08-19 15:15:05 +00:00
OpenCVGenConfig.cmake cmake: update handling of IPPICV/IPPIW 2017-04-26 00:15:54 +03:00
OpenCVGenHeaders.cmake cmake: support multiple CPU targets 2017-02-13 19:52:59 +03:00
OpenCVGenInfoPlist.cmake Merge pull request #8009 from Legoless:master 2017-01-20 19:16:01 +03:00
OpenCVGenPkgconfig.cmake cmake: CMP0026 NEW 2017-08-19 15:15:05 +00:00
OpenCVMinDepVersions.cmake minimal CMake version => 2.8.12.2 2017-07-21 14:06:19 +03:00
OpenCVModule.cmake cmake: fix build process of OpenCL kernels 2017-09-20 18:10:31 +03:00
OpenCVPackaging.cmake Added support for VSX 2017-10-09 00:32:29 +00:00
OpenCVPCHSupport.cmake cmake: fix build with CMake 3.9.0 2017-07-20 14:49:37 +03:00
OpenCVPylint.cmake cmake: change Pylint integration 2017-08-24 14:59:33 +03:00
OpenCVUtils.cmake Merge pull request #9457 from alalek:type_traits_issue_7599 2017-09-06 13:34:29 +00:00
OpenCVVersion.cmake Improve the documentation. 2017-08-20 17:21:39 +02:00