From a9b7eabc0f59e0f6a09852572185a6732abbeb02 Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Wed, 12 Nov 2014 16:02:46 -0700 Subject: [PATCH] layers: Correctly set generic_layer.c as generated in CMakeLists.txt --- layers/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/CMakeLists.txt b/layers/CMakeLists.txt index 3ebeb2ec..0622df2d 100644 --- a/layers/CMakeLists.txt +++ b/layers/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required (VERSION 2.8.11) # NOTE : Initially generating helper files to both source and BIN dir to support checked-in and generated layers, need a better way to do this. -add_custom_command(OUTPUT xgl_enum_string_helper.h xgl_struct_string_helper.h api_dump.c api_dump_file.c +add_custom_command(OUTPUT generic_layer.c xgl_enum_string_helper.h xgl_struct_string_helper.h api_dump.c api_dump_file.c COMMAND ${PROJECT_SOURCE_DIR}/xgl-layer-generate.py generic-layer > generic_layer.c COMMAND ${PROJECT_SOURCE_DIR}/xgl-helper.py --gen_enum_string_helper ${PROJECT_SOURCE_DIR}/include/xgl.h --abs_out_dir ${CMAKE_BINARY_DIR}/layers COMMAND ${PROJECT_SOURCE_DIR}/xgl-helper.py --gen_struct_wrappers ${PROJECT_SOURCE_DIR}/include/xgl.h --abs_out_dir ${CMAKE_BINARY_DIR}/layers -- 2.34.1