Visual studio 2017 将项目移动到解决方案(子)文件夹中(使用premake5/VisualStudio2017)

Visual studio 2017 将项目移动到解决方案(子)文件夹中(使用premake5/VisualStudio2017),visual-studio-2017,premake,Visual Studio 2017,Premake,我正在使用Visual Studio 2017和premake 5程序。 要生成项目,我在premake5.lua文件中有我的工作区 因为我的项目引用了旧解决方案中的其他项目,所以我可以只包含那些具有自己的premake5.lua文件的basicali来生成特定的项目,如图所示。如您所见,整个源代码和premake5.lua作为github子模块包含在我当前的解决方案中,因此我无法更改该premake5.lua文件 solutions premake5.lua文件如下所示: workspace

我正在使用Visual Studio 2017和premake 5程序。 要生成项目,我在premake5.lua文件中有我的工作区

因为我的项目引用了旧解决方案中的其他项目,所以我可以只包含那些具有自己的premake5.lua文件的basicali来生成特定的项目,如图所示。如您所见,整个源代码和premake5.lua作为github子模块包含在我当前的解决方案中,因此我无法更改该premake5.lua文件

solutions premake5.lua文件如下所示:

workspace WorkSpaceName
    ...

-- glfw project
include "git submodule premake5.lua filename"

-- main project
project MainProjectName
    links
    {
        "GLFW",
        ...
    }
    ...
到目前为止,在VisualStudio中,我得到了一个文件结构,如

Solution
    - Main project (with premake5.lua file)
    - glfw project (github submodule, with own premake5.lua)
    - ...          (other projects in solution)
我的问题:我是否可以将项目glfw从主项目中的premake5.lua文件中移动到解决方案子文件夹中,而不接触git子模块中的文件?然后,我的文件结构将如下所示:

Solution
    - Main project (with premake5.lua file)
    - <FolderName>
        - glfw project (github submodule, with own premake5.lua)
        - ... (other projects in solution/<FolderName>)
    - ...     (other projects in solution)
解决方案
-主项目(带有premake5.lua文件)
- 
-glfw项目(github子模块,具有自己的premake5.lua)
- ... (解决方案中的其他项目/)
- ...     (正在解决的其他项目)

问候

经过两个小时的长时间搜索,我找到了自己的解决方案:

通过将项目添加到组中,它们将显示在虚拟文件夹中

group "Dependecies"
    include "git submodule premake5.lua filename"
group "" -- end of "Dependensies"