2016-06-26 05:06:20 +00:00
|
|
|
set(SOURCES InitializeDll.cpp InitializeDll.h)
|
|
|
|
|
|
|
|
add_library(OGLCompiler STATIC ${SOURCES})
|
|
|
|
set_property(TARGET OGLCompiler PROPERTY FOLDER glslang)
|
2018-06-02 07:26:43 +00:00
|
|
|
set_property(TARGET OGLCompiler PROPERTY POSITION_INDEPENDENT_CODE ON)
|
2016-06-26 05:06:20 +00:00
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
source_group("Source" FILES ${SOURCES})
|
|
|
|
endif(WIN32)
|
|
|
|
|
2018-06-02 07:26:43 +00:00
|
|
|
if(ENABLE_GLSLANG_INSTALL)
|
|
|
|
install(TARGETS OGLCompiler
|
|
|
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
|
|
|
endif(ENABLE_GLSLANG_INSTALL)
|