Friday, September 5, 2014

Re: Vim Make with complex directory structures

Hi, Pieter-Jan.

You could use a master Makefile, in the root directory of your project, that calls the others makefiles to actually build the project. This is what almost big projects do (opencv, for example). Off course, they use a "configure" script, "libtool" and "who knows" tecnologies but the principle is the same.

You can, also, write different targets in this master Makefile to build specific parts of your project. So you can just 'make target' inside your Vim session and everything is done.

I hope I could help.


2014-09-04 15:47 GMT-03:00 Pieter-Jan Van de Maele <pieterjanvandemaele@gmail.com>:
Hello,

I am a little bit confused as to how I can use the "make" function in vim more effectively. Currently I am working on a project with a very complex directory structure and the makefiles are burried somewhere very deep.

Do I have to put this directory hard in my .vimrc file? Is there a more generic solution that will work on other projects with other directory structures as well?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: