diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-09-25 09:35:34 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-09-25 09:35:34 -0700 |
| commit | 0aa440a22ab18bc4a9077fcf17966ed4949d684b (patch) | |
| tree | bcc781497b36664cbebe10d91f888be674c82f8b /tools/render-test/render-test.vcxproj | |
| parent | 4ea0c261bb73433995951d332b1c0039eb3ee472 (diff) | |
Fixup: deal with hitting `.obj` size limits for VS
When using the lumped/"unity" build approach for Slang, the resulting `.obj` files run into number-of-sections limits in the VS linker. For now I'm using the `/bigobj` command-line flag to work around this for the `hello` example, just so I can be sure the lumped build still works, but longer term it seems like we need to just drop that approach anyway.
The `render-test` application was switched to link against `slang.dll` since there is no reason to have multiple apps use the lumped approach.
Diffstat (limited to 'tools/render-test/render-test.vcxproj')
| -rw-r--r-- | tools/render-test/render-test.vcxproj | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/render-test/render-test.vcxproj b/tools/render-test/render-test.vcxproj index dfe610681..94af429e8 100644 --- a/tools/render-test/render-test.vcxproj +++ b/tools/render-test/render-test.vcxproj @@ -164,6 +164,11 @@ <ClInclude Include="slang-support.h" /> <ClInclude Include="window.h" /> </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\source\slang\slang.vcxproj"> + <Project>{db00da62-0533-4afd-b59f-a67d5b3a0808}</Project> + </ProjectReference> + </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> |
