projects
/
platform
/
upstream
/
glslang.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CMake: Collapse into a single library all the libraries under the glslang directory...
[platform/upstream/glslang.git]
/
OGLCompilersDLL
/
CMakeLists.txt
diff --git
a/OGLCompilersDLL/CMakeLists.txt
b/OGLCompilersDLL/CMakeLists.txt
index
634bb7b
..
6ade8ca
100644
(file)
--- a/
OGLCompilersDLL/CMakeLists.txt
+++ b/
OGLCompilersDLL/CMakeLists.txt
@@
-6,10
+6,16
@@
if(WIN32)
elseif(UNIX)
\r
include_directories(${include_directories} ../glslang/OSDependent/Linux)
\r
else(WIN32)
\r
elseif(UNIX)
\r
include_directories(${include_directories} ../glslang/OSDependent/Linux)
\r
else(WIN32)
\r
- message("unkown platform")
\r
+ message("unk
n
own platform")
\r
endif(WIN32)
\r
\r
endif(WIN32)
\r
\r
-add_library(OGLCompiler STATIC InitializeDll.cpp InitializeDll.h)
\r
+set(SOURCES InitializeDll.cpp InitializeDll.h)
\r
+
\r
+add_library(OGLCompiler STATIC ${SOURCES})
\r
+
\r
+if(WIN32)
\r
+ source_group("Source" FILES ${SOURCES})
\r
+endif(WIN32)
\r
\r
install(TARGETS OGLCompiler
\r
ARCHIVE DESTINATION lib)
\r
\r
install(TARGETS OGLCompiler
\r
ARCHIVE DESTINATION lib)
\r