File: CMakeLists.txt

package info (click to toggle)
spirv-headers 1.3%2Bgit20181003-1~bpo9%2B1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 2,188 kB
  • sloc: cpp: 10,182; ansic: 4,267; python: 3,702; xml: 38; makefile: 9; sh: 3
file content (9 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
add_library(SPIRV-Headers-example
	${CMAKE_CURRENT_SOURCE_DIR}/example.cpp)
target_include_directories(SPIRV-Headers-example
	PRIVATE ${SPIRV-Headers_SOURCE_DIR}/include)

add_library(SPIRV-Headers-example-1.1
	${CMAKE_CURRENT_SOURCE_DIR}/example-1.1.cpp)
target_include_directories(SPIRV-Headers-example-1.1
	PRIVATE ${SPIRV-Headers_SOURCE_DIR}/include)