* This also moves bison generated files into the source tree, so that include of glslang_tab.cpp.h and includes from glslang_tab.cpp work the same way.
12 lines
250 B
CMake
12 lines
250 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
set(SOURCES ossource.cpp osinclude.h)
|
|
|
|
add_library(OSDependent STATIC ${SOURCES})
|
|
|
|
if(WIN32)
|
|
source_group("Source" FILES ${SOURCES})
|
|
endif(WIN32)
|
|
|
|
install(TARGETS OSDependent
|
|
ARCHIVE DESTINATION lib)
|