Lines Matching refs:vulkan
228 add_library(vulkan target
232 ${CMAKE_CURRENT_SOURCE_DIR}/vulkan-1.def
235 target_link_libraries(vulkan PRIVATE loader_specific_options loader-opt)
238 add_dependencies(vulkan vl_update_deps)
242 # mingw: libvulkan-1.dll.a / vulkan-1.dll
243 # msvc: vulkan-1.lib / vulkan-1.dll
244 set_target_properties(vulkan
246 OUTPUT_NAME vulkan-1)
249 set_target_properties(vulkan
255 …target_link_libraries(vulkan PRIVATE OneCoreUAP.lib LIBCMT.LIB LIBCMTD.LIB LIBVCRUNTIME.LIB LIBUCR…
256 set_target_properties(vulkan PROPERTIES LINK_FLAGS "/NODEFAULTLIB")
258 target_link_libraries(vulkan PRIVATE cfgmgr32)
261 add_dependencies(vulkan loader_asm_gen_files)
265 add_library(vulkan STATIC ${NORMAL_LOADER_SRCS} ${OPT_LOADER_SRCS}) target
266 target_compile_definitions(vulkan PRIVATE BUILD_STATIC_LOADER)
268 add_library(vulkan SHARED ${NORMAL_LOADER_SRCS} ${OPT_LOADER_SRCS}) target
270 add_dependencies(vulkan loader_asm_gen_files)
272 set_target_properties(vulkan
275 target_link_libraries(vulkan PRIVATE ${CMAKE_DL_LIBS} m)
277 target_link_libraries(vulkan PRIVATE Threads::Threads)
282 target_link_libraries(vulkan PRIVATE "-framework CoreFoundation")
284 # Build vulkan.framework
285 …# Use GLOB_RECURSE to find all the header files and populate the vulkan.framework headers with them
294 … add_library(vulkan-framework STATIC ${NORMAL_LOADER_SRCS} ${OPT_LOADER_SRCS} ${FRAMEWORK_HEADERS})
296 … add_library(vulkan-framework SHARED ${NORMAL_LOADER_SRCS} ${OPT_LOADER_SRCS} ${FRAMEWORK_HEADERS})
298 add_dependencies(vulkan-framework loader_asm_gen_files)
299 …target_link_libraries(vulkan-framework ${CMAKE_DL_LIBS} Threads::Threads -lm "-framework CoreFound…
300 target_link_libraries(vulkan-framework loader_specific_options)
308 set_target_properties(vulkan-framework PROPERTIES
309 OUTPUT_NAME vulkan
317 install(TARGETS vulkan-framework
318 PUBLIC_HEADER DESTINATION vulkan
325 # common attributes of the vulkan library
326 target_link_libraries(vulkan PRIVATE loader_specific_options)
328 set_target_properties(vulkan ${LOADER_STANDARD_C_PROPERTIES})
356 configure_file("vulkan.pc.in" "vulkan.pc" @ONLY)
357 …install(FILES "${CMAKE_CURRENT_BINARY_DIR}/vulkan.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconf…
360 target_link_libraries(vulkan PRIVATE Vulkan::Headers)
361 add_library(Vulkan::Vulkan ALIAS vulkan)
363 install(TARGETS vulkan