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
c1063cd5
Commit
c1063cd5
authored
Aug 09, 2019
by
Ryan Harrison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Converted ENABLE_HLSL to a dependent option, so it can be always disabled in web builds
parent
734176a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
CMakeLists.txt
CMakeLists.txt
+7
-4
No files found.
CMakeLists.txt
View file @
c1063cd5
...
@@ -9,6 +9,9 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
...
@@ -9,6 +9,9 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Adhere to GNU filesystem layout conventions
# Adhere to GNU filesystem layout conventions
include
(
GNUInstallDirs
)
include
(
GNUInstallDirs
)
# Needed for CMAKE_DEPENDENT_OPTION macro
include
(
CMakeDependentOption
)
option
(
BUILD_SHARED_LIBS
"Build Shared Libraries"
OFF
)
option
(
BUILD_SHARED_LIBS
"Build Shared Libraries"
OFF
)
set
(
LIB_TYPE STATIC
)
set
(
LIB_TYPE STATIC
)
...
@@ -28,13 +31,13 @@ option(ENABLE_GLSLANG_BINARIES "Builds glslangValidator and spirv-remap" ON)
...
@@ -28,13 +31,13 @@ option(ENABLE_GLSLANG_BINARIES "Builds glslangValidator and spirv-remap" ON)
option
(
ENABLE_NV_EXTENSIONS
"Enables support of Nvidia-specific extensions"
ON
)
option
(
ENABLE_NV_EXTENSIONS
"Enables support of Nvidia-specific extensions"
ON
)
option
(
ENABLE_HLSL
"Enables HLSL input support"
ON
)
option
(
ENABLE_OPT
"Enables spirv-opt capability if present"
ON
)
option
(
ENABLE_GLSLANG_WEB
"Reduces glslang to minumum needed for web use"
OFF
)
option
(
ENABLE_GLSLANG_WEB
"Reduces glslang to minumum needed for web use"
OFF
)
option
(
ENABLE_EMSCRIPTEN_SINGLE_FILE
"If using emscripten, enables SINGLE_FILE build"
OFF
)
option
(
ENABLE_EMSCRIPTEN_SINGLE_FILE
"If using emscripten, enables SINGLE_FILE build"
OFF
)
CMAKE_DEPENDENT_OPTION
(
ENABLE_HLSL
"Enables HLSL input support"
ON
"NOT ENABLE_GLSLANG_WEB"
OFF
)
option
(
ENABLE_OPT
"Enables spirv-opt capability if present"
ON
)
if
(
CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND WIN32
)
if
(
CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND WIN32
)
set
(
CMAKE_INSTALL_PREFIX
"install"
CACHE STRING
"..."
FORCE
)
set
(
CMAKE_INSTALL_PREFIX
"install"
CACHE STRING
"..."
FORCE
)
endif
()
endif
()
...
...
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