在Premake中隐藏项目文件的公共父文件夹 [英] Hide common parent folders of project files in Premake

查看:133
本文介绍了在Premake中隐藏项目文件的公共父文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Premake的新手.我使用Premake 4.4 beta 5是因为Premake 5存在一些问题,即它无法生成正确的VS2010解决方案(使用2010编译器生成VS2012解决方案),并且在一个项目下编写时会为所有项目设置libdirs和链接.

I am new to Premake. I am using Premake 4.4 beta 5 because Premake 5 has a few issues where it does not generate proper VS2010 solutions (generates VS2012 solutions with 2010 compiler), and it setting libdirs and links for all projects when written under one project.

无论如何,我遇到的问题是我编写了一个Premake脚本.一切正常,但令人讨厌的是,它包括项目中包含的所有文件之间共有的多个父文件夹.因此,在接触之前,您必须打开多个文件夹,其中仅包含一个文件夹.这是一张使您理解的图像: premake_common_parent_folders

Anyways, the issue I am having is that I wrote a Premake script. It all works fine, but there is an annoyance where it includes multiple parent folders in common between all the files included in the project. So you have to open multiple folders containing nothing but a single folder, before you get to the meat. Here's is an image so that you understand: premake_common_parent_folders

我在光盘上的文件夹结构如下:

My folder structure on disc looks something like this:

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆