Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CMake new preset feature #206

Open
jlagneau opened this issue Jan 8, 2021 · 0 comments
Open

Support CMake new preset feature #206

jlagneau opened this issue Jan 8, 2021 · 0 comments

Comments

@jlagneau
Copy link

jlagneau commented Jan 8, 2021

CMake now support presets since 3.19 to facilitate reproducible out-of-source builds.

https://cmake.org/cmake/help/v3.19/manual/cmake-presets.7.html

It would be awesome if we could just use that instead of having to setup a .dir-locals.el file every time.

Also, currently, I can't run my presets with my .dir-locals.el (it still runs with the GNU Makefile generator in /tmp despite my preset working correctly in the shell)

;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((c++-mode . ((cmake-ide-project-dir . "~/Works/hinge")
              (cmake-ide-cmake-args . ("--preset=Debug")))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants