1 add_library(glslang-default-resource-limits
2 ${CMAKE_CURRENT_SOURCE_DIR}/DefaultResourceLimits.cpp
4 target_include_directories(glslang-default-resource-limits
5 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
6 PUBLIC ${PROJECT_SOURCE_DIR}
9 set(SOURCES StandAlone.cpp)
10 set(REMAPPER_SOURCES spirv-remap.cpp)
12 add_executable(glslangValidator ${SOURCES})
13 add_executable(spirv-remap ${REMAPPER_SOURCES})
21 glslang-default-resource-limits)
24 set(LIBRARIES ${LIBRARIES} psapi)
27 set(LIBRARIES ${LIBRARIES} pthread)
31 target_link_libraries(glslangValidator ${LIBRARIES})
32 target_link_libraries(spirv-remap ${LIBRARIES})
35 source_group("Source" FILES ${SOURCES})
38 install(TARGETS glslangValidator
39 RUNTIME DESTINATION bin)
41 install(TARGETS spirv-remap
42 RUNTIME DESTINATION bin)