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
0392544b
Commit
0392544b
authored
Nov 12, 2018
by
David Neto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PCH filename depends on current binary dir
Fixes #1572
parent
d509a5ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
0392544b
...
@@ -50,7 +50,7 @@ macro(glslang_pch SRCS PCHCPP)
...
@@ -50,7 +50,7 @@ macro(glslang_pch SRCS PCHCPP)
if
(
CMAKE_GENERATOR MATCHES
"^Visual Studio"
)
if
(
CMAKE_GENERATOR MATCHES
"^Visual Studio"
)
set
(
PCH_NAME
"$(IntDir)
\\
pch.pch"
)
set
(
PCH_NAME
"$(IntDir)
\\
pch.pch"
)
else
()
else
()
set
(
PCH_NAME
"pch.pch"
)
set
(
PCH_NAME
"
${
CMAKE_CURRENT_BINARY_DIR
}
/
pch.pch"
)
endif
()
endif
()
# make source files use/depend on PCH_NAME
# make source files use/depend on PCH_NAME
set_source_files_properties
(
${${
SRCS
}}
PROPERTIES COMPILE_FLAGS
"/Yupch.h /FIpch.h /Fp
${
PCH_NAME
}
/Zm300"
OBJECT_DEPENDS
"
${
PCH_NAME
}
"
)
set_source_files_properties
(
${${
SRCS
}}
PROPERTIES COMPILE_FLAGS
"/Yupch.h /FIpch.h /Fp
${
PCH_NAME
}
/Zm300"
OBJECT_DEPENDS
"
${
PCH_NAME
}
"
)
...
...
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