-
-
Notifications
You must be signed in to change notification settings - Fork 618
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
Projects not being built in the correct directories. #371
Comments
Did this work with older versions of Premake, or is this a new project? |
It used to work back in Premake4. It only broke when I updated to Premake5. |
Hi Nicol—noticed that this fell through the cracks. Are you still having this issue? If so, can you provide a more complete project snippet? Your example works fine in my local testing, so I suspect there is more going on. |
@starkos This does appear to be broken, I'm generating the Premake repository and all of the project files are being dumped into the root folder. This seems to be wrong, by the time we reach this line |
Note that alpha11 still has this problem. |
Here's a short, runable example: The solution file ought to be in the Note that if the |
does adding a I think @samsinsane indicated the right line of code that causes this... did @samsinsane ever make a pull request for that? |
@tvandijck adding |
Yes, |
I have a premake5 script that's doing this:
Each of these files creates a project. The problem is that it doesn't create the project in those directories. The projects are being created in the root directory
According to the workspaces and projects documentation page, "By default, Premake will place generated workspace and project files in the same directory as the script which defined them." If that's supposed to be the case, then I shouldn't have to add
location "."
to all of those Lua scripts, right? So either Premake5 is doing the wrong thing or the docs are wrong.I'm using Premake5.0.0 alpha-7, and I'm building for vs2015.
The text was updated successfully, but these errors were encountered: