onnxruntime/cmake
Changming Sun 7ff5c0e5a3
CMake changes (#2961)
1. Add support for vstest. 
2. Add support for vcpkg. To use it:
  ```bat
   vcpkg install zlib:x64-windows benchmark:x64-windows gtest:x64-windows protobuf:x64-windows pybind11:x64-windows re2:x64-windows
   mkdir build
   cmake ..\cmake -DCMAKE_BUILD_TYPE=Debug -A x64 -T host=x64 -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows -Donnxruntime_PREFER_SYSTEM_LIB=ON
  ```
3. New cmake option: onnxruntime_PREFER_SYSTEM_LIB, which allows user using the preinstall libs instead of the things in onnxruntime submodule.
4. New cmake option: onnxruntime_ENABLE_MEMLEAK_CHECKER, which allows user turn on/off the memory leak checker by @RyanUnderhill in Windows Debug Build. The checker doesn't work with vstest.
4. Fix the post merge pipeline(Mainly for test coverage report).
5. Ignore the compile warning from the Featurizer library code
6. Apply "/utf-8" VC compile flag to our code. Without this, you can't build onnxruntime on Chinese Windows.
7. Remove the SingleUnitTestProject cmake option because it's deprecated more than one year and nobody is using it.
8. Move opaque api tests to onnxruntime_test_all
9. Enable "/W4" on CUDA ep's C++ code(Not the *.cu files), and fix some warnings, add some extra checks.
10. Delete the onnxruntime::test::TestEnvironment class.
11. Add a DLLmain for onnxruntime.dll. 
12. Allow dynamic link to libprotobuf
2020-02-03 19:33:14 -08:00
..
external CMake changes (#2961) 2020-02-03 19:33:14 -08:00
onnx CMake changes (#2961) 2020-02-03 19:33:14 -08:00
patches Update protobuf to 3.11.2 (#1928) 2019-12-27 18:28:18 -08:00
CMakeLists.txt CMake changes (#2961) 2020-02-03 19:33:14 -08:00
codeconv.runsettings CMake changes (#2961) 2020-02-03 19:33:14 -08:00
ConfigureVisualStudioCodeAnalysis.props Initial bootstrap commit. 2018-11-19 16:48:22 -08:00
EnableVisualStudioCodeAnalysis.props Initial bootstrap commit. 2018-11-19 16:48:22 -08:00
onnxruntime.cmake CMake changes (#2961) 2020-02-03 19:33:14 -08:00
onnxruntime_codegen.cmake Replace GSL with GSL-LITE submodule and fix up refs (#1920) 2019-10-01 12:43:29 -07:00
onnxruntime_common.cmake User/xianz/telemetry (#2458) 2019-12-03 23:34:53 -08:00
onnxruntime_config.h.in Fix some warnings on Windows (#2560) 2020-01-22 15:59:11 -08:00
onnxruntime_csharp.cmake Renaming MKL-DNN as DNNL (#2515) 2019-12-03 07:34:23 -08:00
onnxruntime_dependencies.dot Initial bootstrap commit. 2018-11-19 16:48:22 -08:00
onnxruntime_framework.cmake Add Tracelogging for profiling (#1639) 2019-11-11 21:34:10 -08:00
onnxruntime_graph.cmake Import more featurizers with tests (#2685) 2019-12-17 22:17:40 -08:00
onnxruntime_java.cmake Do not link onnxruntime jni output with JNI_LIBRARIES 2020-01-29 17:07:07 -08:00
onnxruntime_language_interop_ops.cmake Replace GSL with GSL-LITE submodule and fix up refs (#1920) 2019-10-01 12:43:29 -07:00
onnxruntime_mlas.cmake MLAS: optimize QuantizeLinear (#2660) 2019-12-16 10:56:23 -08:00
onnxruntime_nuphar_extern.cmake Weba/merge ngemm (#2021) 2019-10-05 12:09:22 -07:00
onnxruntime_optimizer.cmake Fix some warnings on Windows (#2560) 2020-01-22 15:59:11 -08:00
onnxruntime_providers.cmake CMake changes (#2961) 2020-02-03 19:33:14 -08:00
onnxruntime_pyop.cmake Update python packaging pipelines (#2167) 2019-10-19 07:42:54 -07:00
onnxruntime_python.cmake CMake changes (#2961) 2020-02-03 19:33:14 -08:00
onnxruntime_session.cmake Add provision in ORT for session options to be parsed when available via model file (#2449) 2019-12-03 16:56:07 -08:00
onnxruntime_unittests.cmake CMake changes (#2961) 2020-02-03 19:33:14 -08:00
onnxruntime_util.cmake Fix some warnings on Windows (#2560) 2020-01-22 15:59:11 -08:00
protobuf_function.cmake Use protobuf-lite to reduce onnxruntime.dll size. (#639) 2019-03-21 14:06:38 -07:00