summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2018-05-11 16:34:19 -0700
committerGitHub <noreply@github.com>2018-05-11 16:34:19 -0700
commite2c2c220c642cc5f1c622f909d0ddfd22e6c04d4 (patch)
tree2f8b2faa3ff61d07e106d4f049aa600b14ad8cf8 /source
parent34ecdb71c04232fba4b097f04fc358c57e704e26 (diff)
Generate Visual Studio projects using Premake (#557)
* Generate Visual Studio projects using Premake This change adds a `premake5.lua` file that allows us to generate our Visual Studio solution using Premake 5 (https://premake.github.io/). The existing Visual Studio solution/projects are now replaced with the Premake-generated ones, and project contributors will be expected to update these by running premake after adding/removing files. I have *not* changed the Linux `Makefile` build at all, because that file is also used for things like running our tests, so that clobbering it with a premake-generated `Makefile` would break our continuous testing. Hopefully future changes can switch to a generated `Makefile` and perhaps even add an XCode project as well. Notes: * The `build/slang-build.props` file is no longer needed/used, so it has been removed. * The `slang-eval-test` test fixture wasn't following our naming conventions for its directory path, so it was updated to streamline the Premake build configuration work. This required changes to the `Makefile` as well * Some seemingly unncessary preprocessor definitions that were specified for `core` and `slang-glslang` have been dropped. We will see if anything breaks from that. * Possible fixup for Premake vpath issue Premake's `vpath` feature seems to be nondeterministic about the order it applies filters (because Lua isn't deterministic about the order of entries in a key/value table), and as a result we can end up in a weird case where it decides that a `foo.cpp.h` file matches the `**.cpp` filter (I'm not sure why) before it tests against the `**.h` filter. This change uses an (undocumented) Premake facility to set `vpath` using a list of singleton tables, which seems to fix the order in which things get tested. * Remove support for "single-file" build of Slang The `hello` example was the only bit of code that uses the "single-file" way of building Slang, and this had already run up against limitations of the Visual Studio compilers in its Debug|x64 build. Rather than mess with Premake to make it pass through the `/bigobj` linker flag that is needed to work around the issue, it makes more sense just to stop using/supporting the feature since we wouldn't want users to depend on it anyway (our documentation no longer refers to it). While I was at it I went ahead and made sure that the `SLANG_DYNAMIC` flag doesn't need to be set manually, so that instead there is a non-default `SLANG_STATIC` option (not that we have a static-library build of Slang at the moment).
Diffstat (limited to 'source')
-rw-r--r--source/core/core.vcxproj193
-rw-r--r--source/core/core.vcxproj.filters119
-rw-r--r--source/slang-glslang/slang-glslang.vcxproj229
-rw-r--r--source/slang-glslang/slang-glslang.vcxproj.filters330
-rw-r--r--source/slang/slang.vcxproj173
-rw-r--r--source/slang/slang.vcxproj.filters344
-rw-r--r--source/slangc/main.cpp1
-rw-r--r--source/slangc/slangc.vcxproj99
-rw-r--r--source/slangc/slangc.vcxproj.filters13
9 files changed, 898 insertions, 603 deletions
diff --git a/source/core/core.vcxproj b/source/core/core.vcxproj
index 803c1ab12..ecd8ee07b 100644
--- a/source/core/core.vcxproj
+++ b/source/core/core.vcxproj
@@ -18,196 +18,197 @@
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
- <ItemGroup>
- <ClInclude Include="allocator.h" />
- <ClInclude Include="array-view.h" />
- <ClInclude Include="array.h" />
- <ClInclude Include="basic.h" />
- <ClInclude Include="common.h" />
- <ClInclude Include="dictionary.h" />
- <ClInclude Include="exception.h" />
- <ClInclude Include="hash.h" />
- <ClInclude Include="int-set.h" />
- <ClInclude Include="list.h" />
- <ClInclude Include="secure-crt.h" />
- <ClInclude Include="slang-com-ptr.h" />
- <ClInclude Include="slang-defines.h" />
- <ClInclude Include="slang-free-list.h" />
- <ClInclude Include="slang-io.h" />
- <ClInclude Include="slang-math.h" />
- <ClInclude Include="slang-result.h" />
- <ClInclude Include="slang-string-util.h" />
- <ClInclude Include="slang-string.h" />
- <ClInclude Include="smart-pointer.h" />
- <ClInclude Include="stream.h" />
- <ClInclude Include="text-io.h" />
- <ClInclude Include="token-reader.h" />
- <ClInclude Include="type-traits.h" />
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="platform.cpp" />
- <ClCompile Include="slang-free-list.cpp" />
- <ClCompile Include="slang-io.cpp" />
- <ClCompile Include="slang-string-util.cpp" />
- <ClCompile Include="slang-string.cpp" />
- <ClCompile Include="stream.cpp" />
- <ClCompile Include="text-io.cpp" />
- <ClCompile Include="token-reader.cpp" />
- </ItemGroup>
- <ItemGroup>
- <Natvis Include="core.natvis" />
- </ItemGroup>
- <PropertyGroup Label="Globals" />
- <PropertyGroup Label="Globals">
- </PropertyGroup>
<PropertyGroup Label="Globals">
- </PropertyGroup>
- <PropertyGroup Label="Globals">
- </PropertyGroup>
- <PropertyGroup Label="Globals">
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>CoreLib</RootNamespace>
<ProjectGuid>{F9BE7957-8399-899E-0C49-E714FDDD4B65}</ProjectGuid>
- <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
+ <IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
+ <Keyword>Win32Proj</Keyword>
+ <RootNamespace>core</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <OutDir>..\..\bin\windows-x86\debug\</OutDir>
+ <IntDir>..\..\intermediate\windows-x86\debug\core\</IntDir>
+ <TargetName>core</TargetName>
+ <TargetExt>.lib</TargetExt>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <OutDir>..\..\bin\windows-x64\debug\</OutDir>
+ <IntDir>..\..\intermediate\windows-x64\debug\core\</IntDir>
+ <TargetName>core</TargetName>
+ <TargetExt>.lib</TargetExt>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <OutDir>..\..\bin\windows-x86\release\</OutDir>
+ <IntDir>..\..\intermediate\windows-x86\release\core\</IntDir>
+ <TargetName>core</TargetName>
+ <TargetExt>.lib</TargetExt>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <OutDir>..\..\bin\windows-x64\release\</OutDir>
+ <IntDir>..\..\intermediate\windows-x64\release\core\</IntDir>
+ <TargetName>core</TargetName>
+ <TargetExt>.lib</TargetExt>
+ </PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
+ <TreatWarningAsError>true</TreatWarningAsError>
+ <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;WINDOWS_PLATFORM;%(PreprocessorDefinitions);GLEW_STATIC</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
- <MultiProcessorCompilation>false</MultiProcessorCompilation>
- <BasicRuntimeChecks>Default</BasicRuntimeChecks>
- <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<Lib>
- <AdditionalDependencies>Shlwapi.lib</AdditionalDependencies>
+ <TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
+ <TreatWarningAsError>true</TreatWarningAsError>
+ <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;WINDOWS_PLATFORM;%(PreprocessorDefinitions);GLEW_STATIC</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
- <BrowseInformation>true</BrowseInformation>
- <MultiProcessorCompilation>false</MultiProcessorCompilation>
- <BasicRuntimeChecks>Default</BasicRuntimeChecks>
- <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<Lib>
- <AdditionalDependencies>Shlwapi.lib</AdditionalDependencies>
+ <TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
</Lib>
- <Bscmake>
- <PreserveSbr>true</PreserveSbr>
- </Bscmake>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
+ <TreatWarningAsError>true</TreatWarningAsError>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <Optimization>Full</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;WINDOWS_PLATFORM;%(PreprocessorDefinitions);GLEW_STATIC</PreprocessorDefinitions>
+ <MinimalRebuild>false</MinimalRebuild>
+ <StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- <MultiProcessorCompilation>false</MultiProcessorCompilation>
- <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<Lib>
- <AdditionalDependencies>Shlwapi.lib</AdditionalDependencies>
+ <TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
+ <TreatWarningAsError>true</TreatWarningAsError>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <Optimization>Full</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;WINDOWS_PLATFORM;%(PreprocessorDefinitions);GLEW_STATIC</PreprocessorDefinitions>
+ <MinimalRebuild>false</MinimalRebuild>
+ <StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- <MultiProcessorCompilation>false</MultiProcessorCompilation>
- <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<Lib>
- <AdditionalDependencies>Shlwapi.lib</AdditionalDependencies>
+ <TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
</Lib>
</ItemDefinitionGroup>
+ <ItemGroup>
+ <ClInclude Include="allocator.h" />
+ <ClInclude Include="array-view.h" />
+ <ClInclude Include="array.h" />
+ <ClInclude Include="basic.h" />
+ <ClInclude Include="common.h" />
+ <ClInclude Include="dictionary.h" />
+ <ClInclude Include="exception.h" />
+ <ClInclude Include="hash.h" />
+ <ClInclude Include="int-set.h" />
+ <ClInclude Include="list.h" />
+ <ClInclude Include="platform.h" />
+ <ClInclude Include="secure-crt.h" />
+ <ClInclude Include="slang-com-ptr.h" />
+ <ClInclude Include="slang-defines.h" />
+ <ClInclude Include="slang-free-list.h" />
+ <ClInclude Include="slang-io.h" />
+ <ClInclude Include="slang-math.h" />
+ <ClInclude Include="slang-result.h" />
+ <ClInclude Include="slang-string-util.h" />
+ <ClInclude Include="slang-string.h" />
+ <ClInclude Include="smart-pointer.h" />
+ <ClInclude Include="stream.h" />
+ <ClInclude Include="text-io.h" />
+ <ClInclude Include="token-reader.h" />
+ <ClInclude Include="type-traits.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="platform.cpp" />
+ <ClCompile Include="slang-free-list.cpp" />
+ <ClCompile Include="slang-io.cpp" />
+ <ClCompile Include="slang-string-util.cpp" />
+ <ClCompile Include="slang-string.cpp" />
+ <ClCompile Include="stream.cpp" />
+ <ClCompile Include="text-io.cpp" />
+ <ClCompile Include="token-reader.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="core.natvis" />
+ </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
diff --git a/source/core/core.vcxproj.filters b/source/core/core.vcxproj.filters
new file mode 100644
index 000000000..39a164770
--- /dev/null
+++ b/source/core/core.vcxproj.filters
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{21EB8090-0D4E-1035-B6D3-48EBA215DCB7}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{E9C7FDCE-D52A-8D73-7EB0-C5296AF258F6}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="allocator.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="array-view.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="array.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="basic.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="common.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="dictionary.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="exception.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="hash.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="int-set.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="list.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="platform.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="secure-crt.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="slang-com-ptr.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="slang-defines.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="slang-free-list.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="slang-io.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="slang-math.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="slang-result.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="slang-string-util.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="slang-string.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="smart-pointer.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="stream.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="text-io.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="token-reader.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="type-traits.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="platform.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="slang-free-list.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="slang-io.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="slang-string-util.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="slang-string.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="stream.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="text-io.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="token-reader.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="core.natvis">
+ <Filter>Source Files</Filter>
+ </None>
+ </ItemGroup>
+</Project> \ No newline at end of file
diff --git a/source/slang-glslang/slang-glslang.vcxproj b/source/slang-glslang/slang-glslang.vcxproj
index b9662efcf..d1975cba5 100644
--- a/source/slang-glslang/slang-glslang.vcxproj
+++ b/source/slang-glslang/slang-glslang.vcxproj
@@ -5,14 +5,14 @@
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
@@ -20,158 +20,225 @@
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{C495878A-832C-485B-B347-0998A90CC936}</ProjectGuid>
+ <IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
<Keyword>Win32Proj</Keyword>
- <RootNamespace>slang_glslang</RootNamespace>
- <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
- <ProjectName>slang-glslang</ProjectName>
+ <RootNamespace>slang-glslang</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v140</PlatformToolset>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
- <ImportGroup Label="Shared">
- </ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
- <IncludePath>$(SolutionDir)external\glslang\;$(IncludePath)</IncludePath>
+ <OutDir>..\..\bin\windows-x86\debug\</OutDir>
+ <IntDir>..\..\intermediate\windows-x86\debug\slang-glslang\</IntDir>
+ <TargetName>slang-glslang</TargetName>
+ <TargetExt>.dll</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
- <IncludePath>$(SolutionDir)external\glslang\;$(IncludePath)</IncludePath>
+ <OutDir>..\..\bin\windows-x64\debug\</OutDir>
+ <IntDir>..\..\intermediate\windows-x64\debug\slang-glslang\</IntDir>
+ <TargetName>slang-glslang</TargetName>
+ <TargetExt>.dll</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
- <IncludePath>$(SolutionDir)external\glslang\;$(IncludePath)</IncludePath>
+ <OutDir>..\..\bin\windows-x86\release\</OutDir>
+ <IntDir>..\..\intermediate\windows-x86\release\slang-glslang\</IntDir>
+ <TargetName>slang-glslang</TargetName>
+ <TargetExt>.dll</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
- <IncludePath>$(SolutionDir)external\glslang\;$(IncludePath)</IncludePath>
+ <OutDir>..\..\bin\windows-x64\release\</OutDir>
+ <IntDir>..\..\intermediate\windows-x64\release\slang-glslang\</IntDir>
+ <TargetName>slang-glslang</TargetName>
+ <TargetExt>.dll</TargetExt>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
+ <PreprocessorDefinitions>_DEBUG;ENABLE_OPT=0;AMD_EXTENSIONS;NV_EXTENSIONS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\external\glslang;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>NV_EXTENSIONS;AMD_EXTENSIONS;ENABLE_OPT=0;WIN32;_DEBUG;_WINDOWS;_USRDLL;GLSLANG_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <DisableSpecificWarnings>4819;4267</DisableSpecificWarnings>
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
+ <ImportLibrary>..\..\bin\windows-x86\debug\slang-glslang.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
+ <PreprocessorDefinitions>_DEBUG;ENABLE_OPT=0;AMD_EXTENSIONS;NV_EXTENSIONS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\external\glslang;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>NV_EXTENSIONS;AMD_EXTENSIONS;ENABLE_OPT=0;_DEBUG;_WINDOWS;_USRDLL;GLSLANG_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <DisableSpecificWarnings>4819;4267</DisableSpecificWarnings>
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
+ <ImportLibrary>..\..\bin\windows-x64\debug\slang-glslang.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
+ <PreprocessorDefinitions>NDEBUG;ENABLE_OPT=0;AMD_EXTENSIONS;NV_EXTENSIONS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\external\glslang;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <Optimization>Full</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>NV_EXTENSIONS;AMD_EXTENSIONS;ENABLE_OPT=0;WIN32;NDEBUG;_WINDOWS;_USRDLL;GLSLANG_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <DisableSpecificWarnings>4819;4267</DisableSpecificWarnings>
+ <MinimalRebuild>false</MinimalRebuild>
+ <StringPooling>true</StringPooling>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
- <GenerateDebugInformation>true</GenerateDebugInformation>
+ <ImportLibrary>..\..\bin\windows-x86\release\slang-glslang.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
+ <PreprocessorDefinitions>NDEBUG;ENABLE_OPT=0;AMD_EXTENSIONS;NV_EXTENSIONS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\external\glslang;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <Optimization>Full</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>NV_EXTENSIONS;AMD_EXTENSIONS;ENABLE_OPT=0;NDEBUG;_WINDOWS;_USRDLL;GLSLANG_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <DisableSpecificWarnings>4819;4267</DisableSpecificWarnings>
+ <MinimalRebuild>false</MinimalRebuild>
+ <StringPooling>true</StringPooling>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
- <GenerateDebugInformation>true</GenerateDebugInformation>
+ <ImportLibrary>..\..\bin\windows-x64\release\slang-glslang.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
+ <ClInclude Include="..\..\external\glslang\OGLCompilersDLL\InitializeDll.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.AMD.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.EXT.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.KHR.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.NV.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.std.450.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\GlslangToSpv.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\Logger.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\SPVRemapper.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\SpvBuilder.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\bitutils.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\disassemble.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\doc.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\hex_float.h" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\spirv.hpp" />
+ <ClInclude Include="..\..\external\glslang\SPIRV\spvIR.h" />
+ <ClInclude Include="..\..\external\glslang\StandAlone\DirStackFileIncluder.h" />
+ <ClInclude Include="..\..\external\glslang\StandAlone\ResourceLimits.h" />
+ <ClInclude Include="..\..\external\glslang\StandAlone\Worklist.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\Initialize.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\LiveTraverser.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\ParseHelper.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\RemoveTree.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\Scan.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\ScanContext.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\SymbolTable.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\Versions.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\attribute.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\gl_types.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\glslang_tab.cpp.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\iomapper.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\localintermediate.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\parseVersions.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpContext.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpTokens.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\propagateNoContraction.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\reflection.h" />
+ <ClInclude Include="..\..\external\glslang\glslang\OSDependent\osinclude.h" />
+ <ClInclude Include="slang-glslang.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\external\glslang\OGLCompilersDLL\InitializeDll.cpp" />
+ <ClCompile Include="..\..\external\glslang\SPIRV\GlslangToSpv.cpp" />
+ <ClCompile Include="..\..\external\glslang\SPIRV\InReadableOrder.cpp" />
+ <ClCompile Include="..\..\external\glslang\SPIRV\Logger.cpp" />
+ <ClCompile Include="..\..\external\glslang\SPIRV\SPVRemapper.cpp" />
+ <ClCompile Include="..\..\external\glslang\SPIRV\SpvBuilder.cpp" />
+ <ClCompile Include="..\..\external\glslang\SPIRV\disassemble.cpp" />
+ <ClCompile Include="..\..\external\glslang\SPIRV\doc.cpp" />
+ <ClCompile Include="..\..\external\glslang\StandAlone\ResourceLimits.cpp" />
+ <ClCompile Include="..\..\external\glslang\StandAlone\spirv-remap.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\GenericCodeGen\CodeGen.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\GenericCodeGen\Link.cpp" />
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\attribute.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Constant.cpp" />
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\glslang_tab.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\InfoSink.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Initialize.cpp" />
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\IntermTraverse.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Intermediate.cpp" />
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\ParseContextBase.cpp" />
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\ParseHelper.cpp" />
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\PoolAlloc.cpp" />
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\RemoveTree.cpp" />
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Scan.cpp" />
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\ShaderLang.cpp" />
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\SymbolTable.cpp" />
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Versions.cpp" />
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\attribute.cpp" />
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\glslang_tab.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\intermOut.cpp" />
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\IntermTraverse.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\iomapper.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\limits.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\linkValidate.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\parseConst.cpp" />
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\ParseContextBase.cpp" />
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\ParseHelper.cpp" />
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\PoolAlloc.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\Pp.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpAtom.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpContext.cpp" />
@@ -179,63 +246,9 @@
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpTokens.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\propagateNoContraction.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\reflection.cpp" />
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\RemoveTree.cpp" />
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Scan.cpp" />
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\ShaderLang.cpp" />
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\SymbolTable.cpp" />
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Versions.cpp" />
<ClCompile Include="..\..\external\glslang\glslang\OSDependent\Windows\ossource.cpp" />
- <ClCompile Include="..\..\external\glslang\OGLCompilersDLL\InitializeDll.cpp" />
- <ClCompile Include="..\..\external\glslang\SPIRV\disassemble.cpp" />
- <ClCompile Include="..\..\external\glslang\SPIRV\doc.cpp" />
- <ClCompile Include="..\..\external\glslang\SPIRV\GlslangToSpv.cpp" />
- <ClCompile Include="..\..\external\glslang\SPIRV\InReadableOrder.cpp" />
- <ClCompile Include="..\..\external\glslang\SPIRV\Logger.cpp" />
- <ClCompile Include="..\..\external\glslang\SPIRV\SpvBuilder.cpp" />
- <ClCompile Include="..\..\external\glslang\SPIRV\SPVRemapper.cpp" />
- <ClCompile Include="..\..\external\glslang\StandAlone\ResourceLimits.cpp" />
- <ClCompile Include="..\..\external\glslang\StandAlone\StandAlone.cpp" />
<ClCompile Include="slang-glslang.cpp" />
</ItemGroup>
- <ItemGroup>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\attribute.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\glslang_tab.cpp.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\gl_types.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\Initialize.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\iomapper.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\LiveTraverser.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\localintermediate.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\ParseHelper.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\parseVersions.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpContext.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpTokens.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\propagateNoContraction.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\reflection.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\RemoveTree.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\Scan.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\ScanContext.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\SymbolTable.h" />
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\Versions.h" />
- <ClInclude Include="..\..\external\glslang\glslang\OSDependent\osinclude.h" />
- <ClInclude Include="..\..\external\glslang\OGLCompilersDLL\InitializeDll.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\bitutils.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\disassemble.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\doc.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.AMD.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.KHR.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.NV.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.std.450.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\GlslangToSpv.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\hex_float.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\Logger.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\spirv.hpp" />
- <ClInclude Include="..\..\external\glslang\SPIRV\SpvBuilder.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\spvIR.h" />
- <ClInclude Include="..\..\external\glslang\SPIRV\SPVRemapper.h" />
- <ClInclude Include="..\..\external\glslang\StandAlone\ResourceLimits.h" />
- <ClInclude Include="..\..\external\glslang\StandAlone\Worklist.h" />
- <ClInclude Include="slang-glslang.h" />
- </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
diff --git a/source/slang-glslang/slang-glslang.vcxproj.filters b/source/slang-glslang/slang-glslang.vcxproj.filters
index 2adddaca4..0d3841020 100644
--- a/source/slang-glslang/slang-glslang.vcxproj.filters
+++ b/source/slang-glslang/slang-glslang.vcxproj.filters
@@ -1,253 +1,255 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
- </Filter>
<Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ <UniqueIdentifier>{21EB8090-0D4E-1035-B6D3-48EBA215DCB7}</UniqueIdentifier>
</Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
- <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{E9C7FDCE-D52A-8D73-7EB0-C5296AF258F6}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Constant.cpp">
+ <ClInclude Include="..\..\external\glslang\OGLCompilersDLL\InitializeDll.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.AMD.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.EXT.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.KHR.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.NV.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.std.450.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\GlslangToSpv.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\Logger.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\SPVRemapper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\SpvBuilder.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\bitutils.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\disassemble.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\doc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\hex_float.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\spirv.hpp">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\SPIRV\spvIR.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\StandAlone\DirStackFileIncluder.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\StandAlone\ResourceLimits.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\StandAlone\Worklist.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\Initialize.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\LiveTraverser.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\ParseHelper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\RemoveTree.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\Scan.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\ScanContext.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\SymbolTable.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\Versions.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\attribute.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\gl_types.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\glslang_tab.cpp.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\iomapper.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\localintermediate.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\parseVersions.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpContext.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpTokens.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\propagateNoContraction.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\reflection.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\external\glslang\glslang\OSDependent\osinclude.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="slang-glslang.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\external\glslang\OGLCompilersDLL\InitializeDll.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\glslang_tab.cpp">
+ <ClCompile Include="..\..\external\glslang\SPIRV\GlslangToSpv.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\InfoSink.cpp">
+ <ClCompile Include="..\..\external\glslang\SPIRV\InReadableOrder.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Initialize.cpp">
+ <ClCompile Include="..\..\external\glslang\SPIRV\Logger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Intermediate.cpp">
+ <ClCompile Include="..\..\external\glslang\SPIRV\SPVRemapper.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\intermOut.cpp">
+ <ClCompile Include="..\..\external\glslang\SPIRV\SpvBuilder.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\IntermTraverse.cpp">
+ <ClCompile Include="..\..\external\glslang\SPIRV\disassemble.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\iomapper.cpp">
+ <ClCompile Include="..\..\external\glslang\SPIRV\doc.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\limits.cpp">
+ <ClCompile Include="..\..\external\glslang\StandAlone\ResourceLimits.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\linkValidate.cpp">
+ <ClCompile Include="..\..\external\glslang\StandAlone\spirv-remap.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\parseConst.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\GenericCodeGen\CodeGen.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\ParseContextBase.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\GenericCodeGen\Link.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\ParseHelper.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Constant.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\PoolAlloc.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\InfoSink.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\propagateNoContraction.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Initialize.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\reflection.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\IntermTraverse.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\RemoveTree.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Intermediate.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Scan.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\ParseContextBase.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\ShaderLang.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\ParseHelper.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\SymbolTable.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\PoolAlloc.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Versions.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\RemoveTree.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\Pp.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Scan.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpAtom.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\ShaderLang.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpContext.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\SymbolTable.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpScanner.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\Versions.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpTokens.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\attribute.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\OSDependent\Windows\ossource.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\glslang_tab.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\StandAlone\ResourceLimits.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\intermOut.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\StandAlone\StandAlone.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\iomapper.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\GenericCodeGen\CodeGen.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\limits.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\glslang\GenericCodeGen\Link.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\linkValidate.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\OGLCompilersDLL\InitializeDll.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\parseConst.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\SPIRV\disassemble.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\Pp.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\SPIRV\doc.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpAtom.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\SPIRV\GlslangToSpv.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpContext.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\SPIRV\InReadableOrder.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpScanner.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\SPIRV\Logger.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpTokens.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\SPIRV\SpvBuilder.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\propagateNoContraction.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\..\external\glslang\SPIRV\SPVRemapper.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\reflection.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="slang-glslang.cpp" />
- <ClCompile Include="..\..\external\glslang\glslang\MachineIndependent\attribute.cpp">
+ <ClCompile Include="..\..\external\glslang\glslang\OSDependent\Windows\ossource.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="slang-glslang.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\gl_types.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\glslang_tab.cpp.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\Initialize.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\iomapper.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\LiveTraverser.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\localintermediate.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\ParseHelper.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\parseVersions.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\propagateNoContraction.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\reflection.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\RemoveTree.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\Scan.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\ScanContext.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\SymbolTable.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\Versions.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpContext.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\preprocessor\PpTokens.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\OSDependent\osinclude.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\StandAlone\ResourceLimits.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\StandAlone\Worklist.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\OGLCompilersDLL\InitializeDll.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\bitutils.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\disassemble.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\doc.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.AMD.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.KHR.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.ext.NV.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\GLSL.std.450.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\GlslangToSpv.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\hex_float.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\Logger.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\spirv.hpp">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\SpvBuilder.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\spvIR.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\SPIRV\SPVRemapper.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="slang-glslang.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="..\..\external\glslang\glslang\MachineIndependent\attribute.h">
- <Filter>Header Files</Filter>
- </ClInclude>
</ItemGroup>
</Project> \ No newline at end of file
diff --git a/source/slang/slang.vcxproj b/source/slang/slang.vcxproj
index fa75d7378..f32355e83 100644
--- a/source/slang/slang.vcxproj
+++ b/source/slang/slang.vcxproj
@@ -20,163 +20,167 @@
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{DB00DA62-0533-4AFD-B59F-A67D5B3A0808}</ProjectGuid>
+ <IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
<Keyword>Win32Proj</Keyword>
<RootNamespace>slang</RootNamespace>
- <ProjectName>slang</ProjectName>
- <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
+ <OutDir>..\..\bin\windows-x86\debug\</OutDir>
+ <IntDir>..\..\intermediate\windows-x86\debug\slang\</IntDir>
+ <TargetName>slang</TargetName>
+ <TargetExt>.dll</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
+ <OutDir>..\..\bin\windows-x64\debug\</OutDir>
+ <IntDir>..\..\intermediate\windows-x64\debug\slang\</IntDir>
+ <TargetName>slang</TargetName>
+ <TargetExt>.dll</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
+ <OutDir>..\..\bin\windows-x86\release\</OutDir>
+ <IntDir>..\..\intermediate\windows-x86\release\slang\</IntDir>
+ <TargetName>slang</TargetName>
+ <TargetExt>.dll</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
+ <OutDir>..\..\bin\windows-x64\release\</OutDir>
+ <IntDir>..\..\intermediate\windows-x64\release\slang\</IntDir>
+ <TargetName>slang</TargetName>
+ <TargetExt>.dll</TargetExt>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
+ <TreatWarningAsError>true</TreatWarningAsError>
+ <PreprocessorDefinitions>_DEBUG;SLANG_DYNAMIC_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>SLANG_DYNAMIC;SLANG_DYNAMIC_EXPORT;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>../</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
- <MultiProcessorCompilation>false</MultiProcessorCompilation>
- <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
- <SubSystem>Console</SubSystem>
+ <SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
+ <ImportLibrary>..\..\bin\windows-x86\debug\slang.lib</ImportLibrary>
+ <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
+ <TreatWarningAsError>true</TreatWarningAsError>
+ <PreprocessorDefinitions>_DEBUG;SLANG_DYNAMIC_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>SLANG_DYNAMIC;SLANG_DYNAMIC_EXPORT;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>../</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
- <BrowseInformation>true</BrowseInformation>
- <MultiProcessorCompilation>false</MultiProcessorCompilation>
- <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
- <SubSystem>Console</SubSystem>
+ <SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
+ <ImportLibrary>..\..\bin\windows-x64\debug\slang.lib</ImportLibrary>
+ <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
- <Bscmake>
- <PreserveSbr>true</PreserveSbr>
- </Bscmake>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
+ <TreatWarningAsError>true</TreatWarningAsError>
+ <PreprocessorDefinitions>NDEBUG;SLANG_DYNAMIC_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <Optimization>Full</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>SLANG_DYNAMIC;SLANG_DYNAMIC_EXPORT;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>../</AdditionalIncludeDirectories>
+ <MinimalRebuild>false</MinimalRebuild>
+ <StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- <MultiProcessorCompilation>false</MultiProcessorCompilation>
- <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
+ <ImportLibrary>..\..\bin\windows-x86\release\slang.lib</ImportLibrary>
+ <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
+ <TreatWarningAsError>true</TreatWarningAsError>
+ <PreprocessorDefinitions>NDEBUG;SLANG_DYNAMIC_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <Optimization>Full</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>SLANG_DYNAMIC;SLANG_DYNAMIC_EXPORT;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>../</AdditionalIncludeDirectories>
+ <MinimalRebuild>false</MinimalRebuild>
+ <StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- <MultiProcessorCompilation>false</MultiProcessorCompilation>
- <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
+ <ImportLibrary>..\..\bin\windows-x64\release\slang.lib</ImportLibrary>
+ <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
- <Natvis Include="..\core\core.natvis" />
- <Natvis Include="slang.natvis" />
- </ItemGroup>
- <ItemGroup>
<ClInclude Include="..\..\slang.h" />
<ClInclude Include="bytecode.h" />
<ClInclude Include="compiler.h" />
+ <ClInclude Include="core.meta.slang.h" />
<ClInclude Include="decl-defs.h" />
<ClInclude Include="diagnostic-defs.h" />
<ClInclude Include="diagnostics.h" />
<ClInclude Include="emit.h" />
<ClInclude Include="expr-defs.h" />
+ <ClInclude Include="glsl.meta.slang.h" />
+ <ClInclude Include="hlsl.meta.slang.h" />
<ClInclude Include="ir-constexpr.h" />
<ClInclude Include="ir-dominators.h" />
<ClInclude Include="ir-inst-defs.h" />
@@ -251,50 +255,41 @@
<ClCompile Include="vm.cpp" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\core\core.vcxproj">
- <Project>{f9be7957-8399-899e-0c49-e714fddd4b65}</Project>
- </ProjectReference>
+ <None Include="slang.natvis" />
</ItemGroup>
<ItemGroup>
<CustomBuild Include="core.meta.slang">
<FileType>Document</FileType>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)slang-generate.exe %(Identity)</Command>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">slang-generate %(Identity)</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Identity).cpp</Outputs>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)slang-generate.exe</AdditionalInputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)slang-generate.exe %(Identity)</Command>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">slang-generate %(Identity)</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Identity).cpp</Outputs>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)slang-generate.exe</AdditionalInputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)slang-generate.exe %(Identity)</Command>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">slang-generate %(Identity)</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(Identity).cpp</Outputs>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)slang-generate.exe</AdditionalInputs>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)slang-generate.exe %(Identity)</Command>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">slang-generate %(Identity)</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(Identity).cpp</Outputs>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)slang-generate.exe</AdditionalInputs>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"../../bin/windows-x86/debug/slang-generate" %(Identity)</Command>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"../../bin/windows-x64/debug/slang-generate" %(Identity)</Command>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"../../bin/windows-x86/release/slang-generate" %(Identity)</Command>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"../../bin/windows-x64/release/slang-generate" %(Identity)</Command>
+ <Outputs>%(Identity).h</Outputs>
+ <Message>slang-generate %(Identity)</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">../../bin/windows-x86/debug/slang-generate.exe</AdditionalInputs>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">../../bin/windows-x64/debug/slang-generate.exe</AdditionalInputs>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">../../bin/windows-x86/release/slang-generate.exe</AdditionalInputs>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">../../bin/windows-x64/release/slang-generate.exe</AdditionalInputs>
</CustomBuild>
<CustomBuild Include="hlsl.meta.slang">
<FileType>Document</FileType>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)slang-generate.exe %(Identity)</Command>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)slang-generate.exe %(Identity)</Command>
- <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)slang-generate.exe %(Identity)</Command>
- <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)slang-generate.exe %(Identity)</Command>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">slang-generate %(Identity)</Message>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">slang-generate %(Identity)</Message>
- <Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">slang-generate %(Identity)</Message>
- <Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">slang-generate %(Identity)</Message>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Identity).cpp</Outputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Identity).cpp</Outputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(Identity).cpp</Outputs>
- <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(Identity).cpp</Outputs>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)slang-generate.exe</AdditionalInputs>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)slang-generate.exe</AdditionalInputs>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)slang-generate.exe</AdditionalInputs>
- <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)slang-generate.exe</AdditionalInputs>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"../../bin/windows-x86/debug/slang-generate" %(Identity)</Command>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">"../../bin/windows-x64/debug/slang-generate" %(Identity)</Command>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"../../bin/windows-x86/release/slang-generate" %(Identity)</Command>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">"../../bin/windows-x64/release/slang-generate" %(Identity)</Command>
+ <Outputs>%(Identity).h</Outputs>
+ <Message>slang-generate %(Identity)</Message>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">../../bin/windows-x86/debug/slang-generate.exe</AdditionalInputs>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">../../bin/windows-x64/debug/slang-generate.exe</AdditionalInputs>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">../../bin/windows-x86/release/slang-generate.exe</AdditionalInputs>
+ <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">../../bin/windows-x64/release/slang-generate.exe</AdditionalInputs>
</CustomBuild>
</ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\core\core.vcxproj">
+ <Project>{F9BE7957-8399-899E-0C49-E714FDDD4B65}</Project>
+ </ProjectReference>
+ </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
diff --git a/source/slang/slang.vcxproj.filters b/source/slang/slang.vcxproj.filters
index 90b542551..991fe9c44 100644
--- a/source/slang/slang.vcxproj.filters
+++ b/source/slang/slang.vcxproj.filters
@@ -1,93 +1,271 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
- <Natvis Include="slang.natvis" />
- <Natvis Include="..\core\core.natvis" />
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{21EB8090-0D4E-1035-B6D3-48EBA215DCB7}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{E9C7FDCE-D52A-8D73-7EB0-C5296AF258F6}</UniqueIdentifier>
+ </Filter>
</ItemGroup>
<ItemGroup>
- <ClInclude Include="compiler.h" />
- <ClInclude Include="diagnostic-defs.h" />
- <ClInclude Include="diagnostics.h" />
- <ClInclude Include="emit.h" />
- <ClInclude Include="lexer.h" />
- <ClInclude Include="lookup.h" />
- <ClInclude Include="parameter-binding.h" />
- <ClInclude Include="parser.h" />
- <ClInclude Include="preprocessor.h" />
- <ClInclude Include="profile.h" />
- <ClInclude Include="profile-defs.h" />
- <ClInclude Include="reflection.h" />
- <ClInclude Include="source-loc.h" />
- <ClInclude Include="syntax.h" />
- <ClInclude Include="syntax-visitors.h" />
- <ClInclude Include="token.h" />
- <ClInclude Include="token-defs.h" />
- <ClInclude Include="type-layout.h" />
- <ClInclude Include="..\..\slang.h" />
- <ClInclude Include="syntax-defs.h" />
- <ClInclude Include="decl-defs.h" />
- <ClInclude Include="expr-defs.h" />
- <ClInclude Include="modifier-defs.h" />
- <ClInclude Include="stmt-defs.h" />
- <ClInclude Include="object-meta-begin.h" />
- <ClInclude Include="object-meta-end.h" />
- <ClInclude Include="syntax-base-defs.h" />
- <ClInclude Include="type-defs.h" />
- <ClInclude Include="val-defs.h" />
- <ClInclude Include="visitor.h" />
- <ClInclude Include="name.h" />
- <ClInclude Include="ir.h" />
- <ClInclude Include="lower-to-ir.h" />
- <ClInclude Include="ir-inst-defs.h" />
- <ClInclude Include="ir-insts.h" />
- <ClInclude Include="bytecode.h" />
- <ClInclude Include="vm.h" />
- <ClInclude Include="mangle.h" />
- <ClInclude Include="legalize-types.h" />
- <ClInclude Include="ir-ssa.h" />
- <ClInclude Include="memory_pool.h" />
- <ClInclude Include="ir-constexpr.h" />
- <ClInclude Include="type-system-shared.h" />
- <ClInclude Include="ir-validate.h" />
- <ClInclude Include="ir-dominators.h" />
+ <ClInclude Include="..\..\slang.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="bytecode.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="compiler.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="core.meta.slang.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="decl-defs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="diagnostic-defs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="diagnostics.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="emit.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="expr-defs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="glsl.meta.slang.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="hlsl.meta.slang.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="ir-constexpr.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="ir-dominators.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="ir-inst-defs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="ir-insts.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="ir-ssa.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="ir-validate.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="ir.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="legalize-types.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="lexer.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="lookup.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="lower-to-ir.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="mangle.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="memory_pool.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="modifier-defs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="name.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="object-meta-begin.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="object-meta-end.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="parameter-binding.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="parser.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="preprocessor.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="profile-defs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="profile.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="reflection.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="source-loc.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="stmt-defs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="syntax-base-defs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="syntax-defs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="syntax-visitors.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="syntax.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="token-defs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="token.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="type-defs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="type-layout.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="type-system-shared.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="val-defs.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="visitor.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="vm.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
- <ClCompile Include="check.cpp" />
- <ClCompile Include="compiler.cpp" />
- <ClCompile Include="diagnostics.cpp" />
- <ClCompile Include="emit.cpp" />
- <ClCompile Include="lexer.cpp" />
- <ClCompile Include="lookup.cpp" />
- <ClCompile Include="parameter-binding.cpp" />
- <ClCompile Include="parser.cpp" />
- <ClCompile Include="preprocessor.cpp" />
- <ClCompile Include="profile.cpp" />
- <ClCompile Include="reflection.cpp" />
- <ClCompile Include="slang.cpp" />
- <ClCompile Include="slang-stdlib.cpp" />
- <ClCompile Include="syntax.cpp" />
- <ClCompile Include="token.cpp" />
- <ClCompile Include="type-layout.cpp" />
- <ClCompile Include="options.cpp" />
- <ClCompile Include="source-loc.cpp" />
- <ClCompile Include="name.cpp" />
- <ClCompile Include="ir.cpp" />
- <ClCompile Include="lower-to-ir.cpp" />
- <ClCompile Include="bytecode.cpp" />
- <ClCompile Include="vm.cpp" />
- <ClCompile Include="mangle.cpp" />
- <ClCompile Include="dxc-support.cpp" />
- <ClCompile Include="ir-legalize-types.cpp" />
- <ClCompile Include="legalize-types.cpp" />
- <ClCompile Include="ir-ssa.cpp" />
- <ClCompile Include="memory_pool.cpp" />
- <ClCompile Include="ir-constexpr.cpp" />
- <ClCompile Include="type-system-shared.cpp" />
- <ClCompile Include="ir-validate.cpp" />
- <ClCompile Include="ir-dominators.cpp" />
+ <ClCompile Include="bytecode.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="check.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="compiler.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="diagnostics.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="dxc-support.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="emit.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="ir-constexpr.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="ir-dominators.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="ir-legalize-types.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="ir-ssa.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="ir-validate.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="ir.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="legalize-types.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="lexer.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="lookup.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="lower-to-ir.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="mangle.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="memory_pool.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="name.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="options.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="parameter-binding.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="parser.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="preprocessor.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="profile.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="reflection.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="slang-stdlib.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="slang.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="source-loc.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="syntax.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="token.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="type-layout.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="type-system-shared.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="vm.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
- <CustomBuild Include="core.meta.slang" />
- <CustomBuild Include="hlsl.meta.slang" />
+ <None Include="slang.natvis">
+ <Filter>Source Files</Filter>
+ </None>
+ </ItemGroup>
+ <ItemGroup>
+ <CustomBuild Include="core.meta.slang">
+ <Filter>Source Files</Filter>
+ </CustomBuild>
+ <CustomBuild Include="hlsl.meta.slang">
+ <Filter>Source Files</Filter>
+ </CustomBuild>
</ItemGroup>
</Project> \ No newline at end of file
diff --git a/source/slangc/main.cpp b/source/slangc/main.cpp
index 391642c3e..376b75212 100644
--- a/source/slangc/main.cpp
+++ b/source/slangc/main.cpp
@@ -1,6 +1,5 @@
// main.cpp
-#define SLANG_DYNAMIC
#include "../../slang.h"
SLANG_API void spSetCommandLineCompilerMode(SlangCompileRequest* request);
diff --git a/source/slangc/slangc.vcxproj b/source/slangc/slangc.vcxproj
index 4855b7373..77a7dcea5 100644
--- a/source/slangc/slangc.vcxproj
+++ b/source/slangc/slangc.vcxproj
@@ -20,81 +20,87 @@
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{D56CBCEB-1EB5-4CA8-AEC4-48EA35ED61C7}</ProjectGuid>
+ <IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
<Keyword>Win32Proj</Keyword>
<RootNamespace>slangc</RootNamespace>
- <ProjectName>slangc</ProjectName>
- <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v140</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\build\slang-build.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
+ <OutDir>..\..\bin\windows-x86\debug\</OutDir>
+ <IntDir>..\..\intermediate\windows-x86\debug\slangc\</IntDir>
+ <TargetName>slangc</TargetName>
+ <TargetExt>.exe</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
+ <OutDir>..\..\bin\windows-x64\debug\</OutDir>
+ <IntDir>..\..\intermediate\windows-x64\debug\slangc\</IntDir>
+ <TargetName>slangc</TargetName>
+ <TargetExt>.exe</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
+ <OutDir>..\..\bin\windows-x86\release\</OutDir>
+ <IntDir>..\..\intermediate\windows-x86\release\slangc\</IntDir>
+ <TargetName>slangc</TargetName>
+ <TargetExt>.exe</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
+ <OutDir>..\..\bin\windows-x64\release\</OutDir>
+ <IntDir>..\..\intermediate\windows-x64\release\slangc\</IntDir>
+ <TargetName>slangc</TargetName>
+ <TargetExt>.exe</TargetExt>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
- <AdditionalIncludeDirectories>../</AdditionalIncludeDirectories>
- <MultiProcessorCompilation>false</MultiProcessorCompilation>
- <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -103,15 +109,12 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level4</WarningLevel>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
- <AdditionalIncludeDirectories>../</AdditionalIncludeDirectories>
- <MultiProcessorCompilation>false</MultiProcessorCompilation>
- <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
@@ -120,57 +123,51 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
- <WarningLevel>Level4</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <Optimization>Full</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <MinimalRebuild>false</MinimalRebuild>
+ <StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- <AdditionalIncludeDirectories>../</AdditionalIncludeDirectories>
- <MultiProcessorCompilation>false</MultiProcessorCompilation>
- <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
- <WarningLevel>Level4</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
+ <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <Optimization>Full</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <MinimalRebuild>false</MinimalRebuild>
+ <StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- <AdditionalIncludeDirectories>../</AdditionalIncludeDirectories>
- <MultiProcessorCompilation>false</MultiProcessorCompilation>
- <TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
+ <ClCompile Include="main.cpp" />
+ </ItemGroup>
+ <ItemGroup>
<ProjectReference Include="..\core\core.vcxproj">
- <Project>{f9be7957-8399-899e-0c49-e714fddd4b65}</Project>
+ <Project>{F9BE7957-8399-899E-0C49-E714FDDD4B65}</Project>
</ProjectReference>
<ProjectReference Include="..\slang\slang.vcxproj">
- <Project>{db00da62-0533-4afd-b59f-a67d5b3a0808}</Project>
+ <Project>{DB00DA62-0533-4AFD-B59F-A67D5B3A0808}</Project>
</ProjectReference>
</ItemGroup>
- <ItemGroup>
- <ClCompile Include="main.cpp" />
- </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
diff --git a/source/slangc/slangc.vcxproj.filters b/source/slangc/slangc.vcxproj.filters
index 0d8d9e457..e9ae1c092 100644
--- a/source/slangc/slangc.vcxproj.filters
+++ b/source/slangc/slangc.vcxproj.filters
@@ -1,17 +1,8 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
- <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ <UniqueIdentifier>{E9C7FDCE-D52A-8D73-7EB0-C5296AF258F6}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>