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
a0cce739
Unverified
Commit
a0cce739
authored
May 21, 2020
by
nihui
Committed by
GitHub
May 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not build glslang-testsuite when ENABLE_CTEST is disabled (#2240)
parent
6f723ebb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
a0cce739
...
@@ -215,7 +215,7 @@ if(ENABLE_CTEST)
...
@@ -215,7 +215,7 @@ if(ENABLE_CTEST)
add_subdirectory
(
gtests
)
add_subdirectory
(
gtests
)
endif
()
endif
()
if
(
BUILD_TESTING
)
if
(
ENABLE_CTEST AND
BUILD_TESTING
)
# glslang-testsuite runs a bash script on Windows.
# glslang-testsuite runs a bash script on Windows.
# Make sure to use '-o igncr' flag to ignore carriage returns (\r).
# Make sure to use '-o igncr' flag to ignore carriage returns (\r).
set
(
IGNORE_CR_FLAG
""
)
set
(
IGNORE_CR_FLAG
""
)
...
@@ -236,4 +236,4 @@ if(BUILD_TESTING)
...
@@ -236,4 +236,4 @@ if(BUILD_TESTING)
add_test
(
NAME glslang-testsuite
add_test
(
NAME glslang-testsuite
COMMAND bash
${
IGNORE_CR_FLAG
}
runtests
${
RESULTS_PATH
}
${
VALIDATOR_PATH
}
${
REMAP_PATH
}
COMMAND bash
${
IGNORE_CR_FLAG
}
runtests
${
RESULTS_PATH
}
${
VALIDATOR_PATH
}
${
REMAP_PATH
}
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
/Test/
)
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
/Test/
)
endif
(
BUILD_TESTING
)
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