1 add_library(glslang-default-resource-limits
2 ${CMAKE_CURRENT_SOURCE_DIR}/ResourceLimits.cpp
4 set_property(TARGET glslang-default-resource-limits PROPERTY FOLDER glslang)
6 target_include_directories(glslang-default-resource-limits
7 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
8 PUBLIC ${PROJECT_SOURCE_DIR}
11 set(SOURCES StandAlone.cpp)
12 set(REMAPPER_SOURCES spirv-remap.cpp)
14 add_executable(glslangValidator ${SOURCES})
15 add_executable(spirv-remap ${REMAPPER_SOURCES})
16 set_property(TARGET glslangValidator PROPERTY FOLDER tools)
17 set_property(TARGET spirv-remap PROPERTY FOLDER tools)
25 glslang-default-resource-limits)
28 set(LIBRARIES ${LIBRARIES} psapi)
31 set(LIBRARIES ${LIBRARIES} pthread)
35 target_link_libraries(glslangValidator ${LIBRARIES})
36 target_link_libraries(spirv-remap ${LIBRARIES})
39 source_group("Source" FILES ${SOURCES})
42 install(TARGETS glslangValidator
43 RUNTIME DESTINATION bin)
45 install(TARGETS spirv-remap
46 RUNTIME DESTINATION bin)