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
dc1a8196
Commit
dc1a8196
authored
Jan 11, 2017
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Infrastructure: Support standard build with ENABLE_HLSL set to off.
parent
65d538c8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
+12
-6
CMakeLists.txt
CMakeLists.txt
+1
-1
CMakeLists.txt
StandAlone/CMakeLists.txt
+1
-1
revision.h
glslang/Include/revision.h
+1
-1
CMakeLists.txt
gtests/CMakeLists.txt
+9
-3
No files found.
CMakeLists.txt
View file @
dc1a8196
...
@@ -71,5 +71,5 @@ endif()
...
@@ -71,5 +71,5 @@ endif()
add_subdirectory
(
SPIRV
)
add_subdirectory
(
SPIRV
)
if
(
ENABLE_HLSL
)
if
(
ENABLE_HLSL
)
add_subdirectory
(
hlsl
)
add_subdirectory
(
hlsl
)
endif
()
endif
(
ENABLE_HLSL
)
add_subdirectory
(
gtests
)
add_subdirectory
(
gtests
)
StandAlone/CMakeLists.txt
View file @
dc1a8196
...
@@ -28,7 +28,7 @@ set(LIBRARIES
...
@@ -28,7 +28,7 @@ set(LIBRARIES
if
(
ENABLE_HLSL
)
if
(
ENABLE_HLSL
)
set
(
LIBRARIES
${
LIBRARIES
}
HLSL
)
set
(
LIBRARIES
${
LIBRARIES
}
HLSL
)
endif
()
endif
(
ENABLE_HLSL
)
if
(
WIN32
)
if
(
WIN32
)
set
(
LIBRARIES
${
LIBRARIES
}
psapi
)
set
(
LIBRARIES
${
LIBRARIES
}
psapi
)
...
...
glslang/Include/revision.h
View file @
dc1a8196
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.17
59
"
#define GLSLANG_REVISION "Overload400-PrecQual.17
60
"
#define GLSLANG_DATE "11-Jan-2017"
#define GLSLANG_DATE "11-Jan-2017"
gtests/CMakeLists.txt
View file @
dc1a8196
...
@@ -40,9 +40,15 @@ if (TARGET gmock)
...
@@ -40,9 +40,15 @@ if (TARGET gmock)
${
PROJECT_SOURCE_DIR
}
${
PROJECT_SOURCE_DIR
}
${
gmock_SOURCE_DIR
}
/include
${
gmock_SOURCE_DIR
}
/include
${
gtest_SOURCE_DIR
}
/include
)
${
gtest_SOURCE_DIR
}
/include
)
target_link_libraries
(
glslangtests PRIVATE
SPVRemapper glslang OSDependent OGLCompiler HLSL glslang
set
(
LIBRARIES
SPIRV glslang-default-resource-limits gmock
)
SPVRemapper glslang OSDependent OGLCompiler glslang
SPIRV glslang-default-resource-limits
)
if
(
ENABLE_HLSL
)
set
(
LIBRARIES
${
LIBRARIES
}
HLSL
)
endif
(
ENABLE_HLSL
)
target_link_libraries
(
glslangtests PRIVATE
${
LIBRARIES
}
gmock
)
add_test
(
NAME glslang-gtests
add_test
(
NAME glslang-gtests
COMMAND glslangtests --test-root
"
${
GLSLANG_TEST_DIRECTORY
}
"
)
COMMAND glslangtests --test-root
"
${
GLSLANG_TEST_DIRECTORY
}
"
)
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