when run cmake-H\Users\u8007876\Downloads\Elektron-SDK1.2.0.win\setup\Elektron-SDK1.2.0.win.rrg-Bcmake_vs2017, got errors (in place or in source is not allowed)
with latest cmake (v3.12.2)
when run cmake-H\Users\u8007876\Downloads\Elektron-SDK1.2.0.win\setup\Elektron-SDK1.2.0.win.rrg-Bcmake_vs2017, got errors (in place or in source is not allowed)
with latest cmake (v3.12.2)
The ESDK 1.2 CMake does not support in-source builds for CMake. This is a pattern where the CMake generated output directory and the source directory is the same. This usage will clutter up the source tree with all of the CMake output(makefiles/vcxproj files, CMake's cache files, etc.), and is generally considered to be a bad practice.
The recommended build pattern is to use either an out-of-source build, where you create another directory for the CMake output, and run CMake there. Here is the official recommendation and usage pattern from kitware:
https://gitlab.kitware.com/cmake/community/wikis/FAQ#out-of-source-build-trees