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

CMake support #131

Closed
MikeMcQuaid opened this issue Sep 16, 2010 · 12 comments
Closed

CMake support #131

MikeMcQuaid opened this issue Sep 16, 2010 · 12 comments

Comments

@MikeMcQuaid
Copy link

Ack should support reading CMakeLists.txt files.

Would a patch for this be accepted?

@petdance
Copy link
Collaborator

Would it be --cmake or lumped in with --make? I think the latter would be better.

@MikeMcQuaid
Copy link
Author

I'd say it should be --cmake as it is it's own language and when using a CMake buildsystem I'd want to disable --make and enable --cmake as the Makefiles are generated and therefore no longer interesting to me.

@nhooey
Copy link

nhooey commented Sep 16, 2010

I'm guessing petdance will say that this won't be implemented until Ack 2.0.

@MikeMcQuaid
Copy link
Author

It should be a very easy fix, just searching based on filenames. It would be good to get it in before 2.0, if possible.

@MikeMcQuaid
Copy link
Author

Any more thoughts on this? Just adding the search to .txt files works in the meantime but it would be great to be able to search only files named CMakeLists.txt. I tried to do it myself but my perl-foo isn't strong. I could maybe manage with some pointers.

@nhooey
Copy link

nhooey commented Oct 6, 2010

I'm considering forking ack to add many of the patches that petdance says he won't bother with until version 2.0. Stay tuned, and I'll notify you if I do this. Then we can add your feature.

@petdance
Copy link
Collaborator

petdance commented Oct 6, 2010

How about you talk to me/us on the mailing list before going down the fork road, Neil?

@nhooey
Copy link

nhooey commented Oct 6, 2010

I had the impression that you weren't going to implement any new features until Ack 2.0.

I put in a pull request, complete with tests, that nobody has looked at, and there's a patch for files without extensions.

Could you have a look at those?

@petdance
Copy link
Collaborator

petdance commented Oct 6, 2010

Post to the list and let's see what the accumulated readership thinks. When we're talking about changing stuff as potentially disruptive as file selection, I want to get public eyeballs on it.

@petdance
Copy link
Collaborator

petdance commented Oct 6, 2010

Also, your link to that pull request is broken.

@nhooey
Copy link

nhooey commented Oct 6, 2010

The link is fixed now.

I'll post to the mailing list.

@petdance
Copy link
Collaborator

cmake has been added to ack 2.

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

3 participants