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

Detect targets in included files #13

Closed
FabianInostroza opened this issue Jan 17, 2016 · 7 comments
Closed

Detect targets in included files #13

FabianInostroza opened this issue Jan 17, 2016 · 7 comments

Comments

@FabianInostroza
Copy link

The default method for target extractions doesn't detect targets that are defined on included files in the Makefile.

@noseglid
Copy link
Member

Have you enabled the useMake configuration setting?

@FabianInostroza
Copy link
Author

Yes, using make to get the targets does work, but also lists repeated targets (the other issue that I filed).

@FabianInostroza
Copy link
Author

Accidentally closed the issue.

@noseglid
Copy link
Member

I think this issue should stay closed. Using regexes to parse includes and other obscure make features would just not be feasible and I wouldn't want to maintain it.

Let's track the multiple targets issue in #14

@mshick
Copy link

mshick commented May 23, 2017

@noseglid I have a similar issue. I'd like to try useMake, I'm sure it will do what I need, but I haven't been able to figure out how to get the proper config setting. I've tried, in my config.cson file every variation I can think of. I've tried an atom-build.yaml file with useMake: true. No luck!

Do you mind giving a hint on where / how to set this?

@noseglid
Copy link
Member

@mshick atom-build-make is actually a provider for atom-build. It will create build configurations. What you need to do is install build-make package alongside build and it will automatically populate the target list with build targets.

Use Make is a configuration setting to build-make (set it inside Atom).

@mshick
Copy link

mshick commented May 24, 2017

@noseglid Oh, yeah, I have all that set up. I'm just unable to set the useMake var anywhere. I tried every variation of "build-make" and "atom-build" I could come up with in my config.cson, but nothing was working...

Having just restarted though, I see the new targets, so that was apparently the trick.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants