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)
For a deeper look into our Elektron API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
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)
Hi,
Thank you for your participation in the forum.
Are any of the replies below satisfactory in resolving your query?
If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.
Otherwise please post again offering further insight into your question.
Thanks,
AHS
Hello @peng.tian
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.
Thanks,
AHS
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS
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