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
3b8d94f4
Commit
3b8d94f4
authored
Oct 25, 2019
by
Sergey Kosarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add option ENABLE_CTEST to skip testing
parent
b131630e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
CMakeLists.txt
CMakeLists.txt
+8
-3
No files found.
CMakeLists.txt
View file @
3b8d94f4
...
...
@@ -41,6 +41,7 @@ CMAKE_DEPENDENT_OPTION(ENABLE_HLSL "Enables HLSL input support" ON "NOT ENABLE_G
option
(
ENABLE_OPT
"Enables spirv-opt capability if present"
ON
)
option
(
ENABLE_PCH
"Enables Precompiled header"
ON
)
option
(
ENABLE_CTEST
"Enables testing"
ON
)
if
(
CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND WIN32
)
set
(
CMAKE_INSTALL_PREFIX
"install"
CACHE STRING
"..."
FORCE
)
...
...
@@ -67,8 +68,10 @@ macro(glslang_pch SRCS PCHCPP)
endmacro
(
glslang_pch
)
project
(
glslang
)
# make testing optional
include
(
CTest
)
if
(
ENABLE_CTEST
)
include
(
CTest
)
endif
()
if
(
ENABLE_HLSL
)
add_definitions
(
-DENABLE_HLSL
)
...
...
@@ -183,7 +186,9 @@ add_subdirectory(SPIRV)
if
(
ENABLE_HLSL
)
add_subdirectory
(
hlsl
)
endif
(
ENABLE_HLSL
)
add_subdirectory
(
gtests
)
if
(
ENABLE_CTEST
)
add_subdirectory
(
gtests
)
endif
()
if
(
BUILD_TESTING
)
# glslang-testsuite runs a bash script on Windows.
...
...
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