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
c0904c15
Commit
c0904c15
authored
Jan 26, 2017
by
John Kessenich
Committed by
GitHub
Jan 26, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #690 from ligfx/proper_dependencies
CMake: add target_link_libraries internally
parents
2918a2ef
6077a19b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
CMakeLists.txt
SPIRV/CMakeLists.txt
+1
-0
CMakeLists.txt
StandAlone/CMakeLists.txt
+0
-5
CMakeLists.txt
glslang/CMakeLists.txt
+4
-0
No files found.
SPIRV/CMakeLists.txt
View file @
c0904c15
...
@@ -41,6 +41,7 @@ endif(ENABLE_NV_EXTENSIONS)
...
@@ -41,6 +41,7 @@ endif(ENABLE_NV_EXTENSIONS)
add_library
(
SPIRV STATIC
${
SOURCES
}
${
HEADERS
}
)
add_library
(
SPIRV STATIC
${
SOURCES
}
${
HEADERS
}
)
set_property
(
TARGET SPIRV PROPERTY FOLDER glslang
)
set_property
(
TARGET SPIRV PROPERTY FOLDER glslang
)
target_link_libraries
(
SPIRV glslang
)
add_library
(
SPVRemapper STATIC
${
SPVREMAP_SOURCES
}
${
SPVREMAP_HEADERS
}
)
add_library
(
SPVRemapper STATIC
${
SPVREMAP_SOURCES
}
${
SPVREMAP_HEADERS
}
)
set_property
(
TARGET SPVRemapper PROPERTY FOLDER glslang
)
set_property
(
TARGET SPVRemapper PROPERTY FOLDER glslang
)
...
...
StandAlone/CMakeLists.txt
View file @
c0904c15
...
@@ -20,15 +20,10 @@ glslang_set_link_args(spirv-remap)
...
@@ -20,15 +20,10 @@ glslang_set_link_args(spirv-remap)
set
(
LIBRARIES
set
(
LIBRARIES
glslang
glslang
OGLCompiler
OSDependent
SPIRV
SPIRV
SPVRemapper
SPVRemapper
glslang-default-resource-limits
)
glslang-default-resource-limits
)
if
(
ENABLE_HLSL
)
set
(
LIBRARIES
${
LIBRARIES
}
HLSL
)
endif
(
ENABLE_HLSL
)
if
(
WIN32
)
if
(
WIN32
)
set
(
LIBRARIES
${
LIBRARIES
}
psapi
)
set
(
LIBRARIES
${
LIBRARIES
}
psapi
)
...
...
glslang/CMakeLists.txt
View file @
c0904c15
...
@@ -82,6 +82,10 @@ set(HEADERS
...
@@ -82,6 +82,10 @@ set(HEADERS
add_library
(
glslang STATIC
${
BISON_GLSLParser_OUTPUT_SOURCE
}
${
SOURCES
}
${
HEADERS
}
)
add_library
(
glslang STATIC
${
BISON_GLSLParser_OUTPUT_SOURCE
}
${
SOURCES
}
${
HEADERS
}
)
set_property
(
TARGET glslang PROPERTY FOLDER glslang
)
set_property
(
TARGET glslang PROPERTY FOLDER glslang
)
target_link_libraries
(
glslang OGLCompiler OSDependent
)
if
(
ENABLE_HLSL
)
target_link_libraries
(
glslang HLSL
)
endif
()
if
(
WIN32
)
if
(
WIN32
)
source_group
(
"Public"
REGULAR_EXPRESSION
"Public/*"
)
source_group
(
"Public"
REGULAR_EXPRESSION
"Public/*"
)
...
...
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