Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
1199cf92
Commit
1199cf92
authored
Apr 26, 2018
by
Matthew Albrecht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed install for SPIRV, glslang, and hlsl when building shared libs
parent
46e07313
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
6 deletions
+29
-6
CMakeLists.txt
SPIRV/CMakeLists.txt
+8
-2
CMakeLists.txt
StandAlone/CMakeLists.txt
+5
-0
CMakeLists.txt
glslang/CMakeLists.txt
+8
-2
CMakeLists.txt
hlsl/CMakeLists.txt
+8
-2
No files found.
SPIRV/CMakeLists.txt
View file @
1199cf92
...
...
@@ -69,8 +69,14 @@ if(WIN32)
endif
(
WIN32
)
if
(
ENABLE_GLSLANG_INSTALL
)
install
(
TARGETS SPIRV SPVRemapper
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
)
if
(
BUILD_SHARED_LIBS
)
install
(
TARGETS SPIRV SPVRemapper
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
)
else
()
install
(
TARGETS SPIRV SPVRemapper
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
)
endif
()
install
(
FILES
${
HEADERS
}
${
SPVREMAP_HEADERS
}
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/SPIRV/
)
endif
(
ENABLE_GLSLANG_INSTALL
)
StandAlone/CMakeLists.txt
100644 → 100755
View file @
1199cf92
...
...
@@ -44,4 +44,9 @@ if(ENABLE_GLSLANG_INSTALL)
install
(
TARGETS spirv-remap
RUNTIME DESTINATION
${
CMAKE_INSTALL_BINDIR
}
)
if
(
BUILD_SHARED_LIBS
)
install
(
TARGETS glslang-default-resource-limits
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
)
endif
()
endif
(
ENABLE_GLSLANG_INSTALL
)
glslang/CMakeLists.txt
100644 → 100755
View file @
1199cf92
...
...
@@ -102,8 +102,14 @@ if(WIN32)
endif
(
WIN32
)
if
(
ENABLE_GLSLANG_INSTALL
)
install
(
TARGETS glslang
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
)
if
(
BUILD_SHARED_LIBS
)
install
(
TARGETS glslang
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
)
else
()
install
(
TARGETS glslang
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
)
endif
()
endif
(
ENABLE_GLSLANG_INSTALL
)
if
(
ENABLE_GLSLANG_INSTALL
)
...
...
hlsl/CMakeLists.txt
View file @
1199cf92
...
...
@@ -30,6 +30,12 @@ if(WIN32)
endif
(
WIN32
)
if
(
ENABLE_GLSLANG_INSTALL
)
install
(
TARGETS HLSL
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
)
if
(
BUILD_SHARED_LIBS
)
install
(
TARGETS HLSL
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
)
else
()
install
(
TARGETS HLSL
ARCHIVE DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
)
endif
()
endif
(
ENABLE_GLSLANG_INSTALL
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment