Hi, I am trying to use rtags (https://github.com/Andersbakken/rtags) and YouCompleteMe (https://github.com/Valloric/YouCompleteMe calles as YCM) with tup.
Basically what I need it to have simple access to commands used to compile my sources. There was a similar thread a year ago (https://groups.google.com/d/msg/tup-users/f6N0da57tn0/bGKby5hcJkEJ) but unfortunately it is not helpful. I was able to workarount tup by querying database file to have commands for single compilation unit to pass "-I" flags to YCM, but rtags needs a little more from build system. And this is nasty solution and I was praying that database format won't change ;-) What I need is to have all the commands used to compile project from scratch. I am aware that tup have command 'generate', but this requires clean source tree, so it is inadequate. What is the most simple way to have the following: 1. Get compile command for specific file in project - so I can pass this to YCM (as YCM requires compilation flags per file, on demand). 2. Get all compilation commands for whole project - so rtags could index all my sources. (If I wrote something unclear - please forgive me, I will be happy to explain) -- -- tup-users mailing list email: [email protected] unsubscribe: [email protected] options: http://groups.google.com/group/tup-users?hl=en --- You received this message because you are subscribed to the Google Groups "tup-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
