File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,15 +31,10 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/api_layer_platform_defines.h ${CMAKE_
3131
3232# Basics for api_dump API Layer
3333
34- if (CMAKE_SYSTEM_NAME STREQUAL "Windows" )
35- set (LAYER_LIB_NAME "XrApiLayer_api_dump" )
36- else ()
37- set (LAYER_LIB_NAME "libXrApiLayer_api_dump" )
38- endif ()
3934gen_xr_layer_json (
4035 ${CMAKE_CURRENT_BINARY_DIR} /XrApiLayer_api_dump.json
4136 LUNARG_api_dump
42- ${LAYER_LIB_NAME}${CMAKE_SHARED_MODULE_SUFFIX}
37+ $< TARGET_LINKER_FILE_NAME : XrApiLayer_api_dump >
4338 1
4439 "API Layer to record api calls as they occur"
4540 ""
@@ -101,15 +96,10 @@ endif()
10196
10297# Basics for core_validation API Layer
10398
104- if (CMAKE_SYSTEM_NAME STREQUAL "Windows" )
105- set (LAYER_LIB_NAME "XrApiLayer_core_validation" )
106- else ()
107- set (LAYER_LIB_NAME "libXrApiLayer_core_validation" )
108- endif ()
10999gen_xr_layer_json (
110100 ${CMAKE_CURRENT_BINARY_DIR} /XrApiLayer_core_validation.json
111101 LUNARG_core_validation
112- ${LAYER_LIB_NAME}${CMAKE_SHARED_MODULE_SUFFIX}
102+ $< TARGET_LINKER_FILE_NAME : XrApiLayer_core_validation >
113103 1
114104 "API Layer to perform validation of api calls and parameters as they occur"
115105 ""
You can’t perform that action at this time.
0 commit comments