Skip to content

Commit 0296e30

Browse files
committed
fix linking src folder to support also creating new files
1 parent b775fbc commit 0296e30

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.sln/gdext.vcxproj

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,11 @@
114114
<ImportGroup Label="ExtensionSettings">
115115
</ImportGroup>
116116
<ItemGroup>
117-
<None Include="$(RepoRoot)/src/**/*.h">
118-
<Link>src/%(RecursiveDir)%(Filename).%(Extension)</Link>
119-
</None>
120-
<None Include="$(RepoRoot)/src/**/*.cpp">
121-
<Link>src/%(RecursiveDir)%(Filename).%(Extension)</Link>
122-
</None>
117+
<Link Include="$(RepoRoot)/src" >
118+
<Visible>false</Visible>
119+
</Link>
120+
<None Include="$(RepoRoot)/**/*.h" Exclude="$(RepoRoot)/godot-cpp/**"/>
121+
<None Include="$(RepoRoot)/**/*.cpp" Exclude="$(RepoRoot)/godot-cpp/**"/>
123122
</ItemGroup>
124123

125124
<!-- Build/Rebuild/Clean targets for NMake are defined in MSVC, so we need to provide them, when using MSBuild without MSVC targets -->

0 commit comments

Comments
 (0)