Skip to content

Commit 948dc03

Browse files
committed
Add new static targets to VS solution folders
`GenericCodeGen` and `MachineIndependent` were missing from the generated visual studio solutions. Add these.
1 parent f5ed7a6 commit 948dc03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

glslang/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ endif(EMSCRIPTEN OR ENABLE_GLSLANG_JS)
5050
add_library(GenericCodeGen STATIC
5151
GenericCodeGen/CodeGen.cpp
5252
GenericCodeGen/Link.cpp)
53+
set_property(TARGET GenericCodeGen PROPERTY FOLDER glslang)
5354

5455
################################################################################
5556
# MachineIndependent
@@ -129,7 +130,7 @@ if(ENABLE_HLSL)
129130
endif(ENABLE_HLSL)
130131

131132
add_library(MachineIndependent STATIC ${MACHINEINDEPENDENT_SOURCES} ${MACHINEINDEPENDENT_HEADERS})
132-
133+
set_property(TARGET MachineIndependent PROPERTY FOLDER glslang)
133134
glslang_pch(SOURCES MachineIndependent/pch.cpp)
134135

135136
target_link_libraries(MachineIndependent PRIVATE OGLCompiler OSDependent GenericCodeGen)

0 commit comments

Comments
 (0)