Skip to content

Commit

Permalink
refactor: move contents of OGLCompilersDLL/InitializeDll.cpp (lol at …
Browse files Browse the repository at this point in the history
…the name) into HLSL2GLSL.cpp
  • Loading branch information
aras-p committed Apr 14, 2013
1 parent 1de50f0 commit 06ea237
Show file tree
Hide file tree
Showing 7 changed files with 133 additions and 176 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ set(HEADER_FILES
hlslang/Include/Types.h
hlslang/MachineIndependent/SymbolTable.h
#hlslang/MachineIndependent/unistd.h
OGLCompilersDLL/InitializeDll.h
)
source_group("Header Files" FILES ${HEADER_FILES})

Expand Down Expand Up @@ -52,7 +51,6 @@ set(INCLUDE_FILES
source_group("include" FILES ${INCLUDE_FILES})

set(MACHINE_INDEPENDENT_FILES
OGLCompilersDLL/InitializeDll.cpp
hlslang/MachineIndependent/HLSL2GLSL.cpp
hlslang/MachineIndependent/hlslang.l
hlslang/MachineIndependent/hlslang.y
Expand Down Expand Up @@ -205,7 +203,6 @@ endif ()
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/hlslang
${CMAKE_CURRENT_SOURCE_DIR}/hlslang/MachineIndependent
${CMAKE_CURRENT_SOURCE_DIR}/OGLCompilersDLL
)

add_library(hlsl2glsl
Expand Down
128 changes: 0 additions & 128 deletions OGLCompilersDLL/InitializeDll.cpp

This file was deleted.

16 changes: 0 additions & 16 deletions OGLCompilersDLL/InitializeDll.h

This file was deleted.

10 changes: 4 additions & 6 deletions hlslang.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<ClCompile>
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>hlslang;hlslang\MachineIndependent;hlslang\OSDependent\Windows;OGLCompilersDLL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>hlslang;hlslang\MachineIndependent;hlslang\OSDependent\Windows;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;_LIB;GENERIC_COMPILER;_HAS_ITERATOR_DEBUGGING=0;_CRT_SECURE_NO_DEPRECATE;_HAS_EXCEPTIONS=0;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>
</ExceptionHandling>
Expand Down Expand Up @@ -111,7 +111,7 @@
<ClCompile>
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>hlslang;hlslang\MachineIndependent;hlslang\OSDependent\Windows;OGLCompilersDLL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>hlslang;hlslang\MachineIndependent;hlslang\OSDependent\Windows;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;WIN32;_CONSOLE;_LIB;GENERIC_COMPILER;_HAS_ITERATOR_DEBUGGING=0;_CRT_SECURE_NO_DEPRECATE;_HAS_EXCEPTIONS=0;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>
</ExceptionHandling>
Expand Down Expand Up @@ -143,7 +143,7 @@
<Optimization>MinSpace</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>hlslang;hlslang\MachineIndependent;hlslang\OSDependent\Windows;OGLCompilersDLL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>hlslang;hlslang\MachineIndependent;hlslang\OSDependent\Windows;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;_LIB;GENERIC_COMPILER;_COMPILER;_HAS_ITERATOR_DEBUGGING=0;_CRT_SECURE_NO_DEPRECATE;_HAS_EXCEPTIONS=0;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<ExceptionHandling>
Expand Down Expand Up @@ -182,7 +182,7 @@
<Optimization>MinSpace</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>hlslang;hlslang\MachineIndependent;hlslang\OSDependent\Windows;OGLCompilersDLL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>hlslang;hlslang\MachineIndependent;hlslang\OSDependent\Windows;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NDEBUG;WIN32;_CONSOLE;_LIB;GENERIC_COMPILER;_COMPILER;_HAS_ITERATOR_DEBUGGING=0;_CRT_SECURE_NO_DEPRECATE;_HAS_EXCEPTIONS=0;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<ExceptionHandling>
Expand Down Expand Up @@ -217,7 +217,6 @@
<ClCompile Include="hlslang\MachineIndependent\HLSL2GLSL.cpp" />
<ClCompile Include="hlslang\MachineIndependent\InfoSink.cpp" />
<ClCompile Include="hlslang\MachineIndependent\Initialize.cpp" />
<ClCompile Include="OGLCompilersDLL\InitializeDll.cpp" />
<ClCompile Include="hlslang\MachineIndependent\Intermediate.cpp" />
<ClCompile Include="hlslang\MachineIndependent\intermOut.cpp" />
<ClCompile Include="hlslang\MachineIndependent\IntermTraverse.cpp" />
Expand Down Expand Up @@ -351,7 +350,6 @@ rename %(RootDir)%(Directory)%(Filename)_tab.c Gen_%(Filename)_tab.cpp
<ClInclude Include="hlslang\Include\Common.h" />
<ClInclude Include="hlslang\Include\ConstantUnion.h" />
<ClInclude Include="hlslang\Include\InfoSink.h" />
<ClInclude Include="OGLCompilersDLL\InitializeDll.h" />
<ClInclude Include="hlslang\Include\InitializeGlobals.h" />
<ClInclude Include="hlslang\Include\InitializeParseContext.h" />
<ClInclude Include="hlslang\Include\intermediate.h" />
Expand Down
6 changes: 0 additions & 6 deletions hlslang.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
<ClCompile Include="hlslang\MachineIndependent\Initialize.cpp">
<Filter>Machine Independent</Filter>
</ClCompile>
<ClCompile Include="OGLCompilersDLL\InitializeDll.cpp">
<Filter>Machine Independent</Filter>
</ClCompile>
<ClCompile Include="hlslang\MachineIndependent\Intermediate.cpp">
<Filter>Machine Independent</Filter>
</ClCompile>
Expand Down Expand Up @@ -195,9 +192,6 @@
<ClInclude Include="hlslang\Include\InfoSink.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="OGLCompilersDLL\InitializeDll.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="hlslang\Include\InitializeGlobals.h">
<Filter>Header Files</Filter>
</ClInclude>
Expand Down
14 changes: 0 additions & 14 deletions hlslang.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
2B951CAB1135197300DBAF46 /* hlslSupportLib.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3AC10E040AF103660045E29C /* hlslSupportLib.cpp */; };
2B951CAC1135197300DBAF46 /* InfoSink.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3AC10E270AF106F40045E29C /* InfoSink.cpp */; };
2B951CAD1135197300DBAF46 /* Initialize.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3AC10E280AF106F40045E29C /* Initialize.cpp */; };
2B951CAE1135197300DBAF46 /* InitializeDll.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3A9176400A643D5A00E8641B /* InitializeDll.cpp */; };
2B951CAF1135197300DBAF46 /* Intermediate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3AC10E290AF106F40045E29C /* Intermediate.cpp */; };
2B951CB01135197300DBAF46 /* intermOut.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3AC10E2A0AF106F40045E29C /* intermOut.cpp */; };
2B951CB11135197300DBAF46 /* IntermTraverse.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3AC10E2B0AF106F40045E29C /* IntermTraverse.cpp */; };
Expand All @@ -49,8 +48,6 @@
2B951CC011351A2500DBAF46 /* hlsl2glsl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = hlsl2glsl.h; path = include/hlsl2glsl.h; sourceTree = SOURCE_ROOT; };
2B951CE1113527BC00DBAF46 /* hlslang.l */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.lex; name = hlslang.l; path = hlslang/MachineIndependent/hlslang.l; sourceTree = SOURCE_ROOT; };
2B951CE2113527BC00DBAF46 /* hlslang.y */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.yacc; name = hlslang.y; path = hlslang/MachineIndependent/hlslang.y; sourceTree = SOURCE_ROOT; };
3A9176400A643D5A00E8641B /* InitializeDll.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = InitializeDll.cpp; sourceTree = "<group>"; };
3A9176410A643D5A00E8641B /* InitializeDll.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = InitializeDll.h; sourceTree = "<group>"; };
3AC10DD20AF103020045E29C /* BaseTypes.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = BaseTypes.h; path = hlslang/Include/BaseTypes.h; sourceTree = "<group>"; };
3AC10DD30AF103020045E29C /* Common.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Common.h; path = hlslang/Include/Common.h; sourceTree = "<group>"; };
3AC10DD50AF103020045E29C /* InfoSink.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = InfoSink.h; path = hlslang/Include/InfoSink.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -154,20 +151,10 @@
3AC10DB00AF1027A0045E29C /* GenericCodeGen */,
3AC10DB90AF102990045E29C /* MachineIndependent */,
3AC10DC20AF102BB0045E29C /* OSDependent */,
3A91763F0A643D5A00E8641B /* OGLCompilersDLL */,
);
name = hlslang;
sourceTree = "<group>";
};
3A91763F0A643D5A00E8641B /* OGLCompilersDLL */ = {
isa = PBXGroup;
children = (
3A9176400A643D5A00E8641B /* InitializeDll.cpp */,
3A9176410A643D5A00E8641B /* InitializeDll.h */,
);
path = OGLCompilersDLL;
sourceTree = "<group>";
};
3AC10DB00AF1027A0045E29C /* GenericCodeGen */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -409,7 +396,6 @@
2B951CAB1135197300DBAF46 /* hlslSupportLib.cpp in Sources */,
2B951CAC1135197300DBAF46 /* InfoSink.cpp in Sources */,
2B951CAD1135197300DBAF46 /* Initialize.cpp in Sources */,
2B951CAE1135197300DBAF46 /* InitializeDll.cpp in Sources */,
2B951CAF1135197300DBAF46 /* Intermediate.cpp in Sources */,
2B951CB01135197300DBAF46 /* intermOut.cpp in Sources */,
2B951CB11135197300DBAF46 /* IntermTraverse.cpp in Sources */,
Expand Down
Loading

0 comments on commit 06ea237

Please sign in to comment.