build: remove icd-dispatch-table.h generation from loader
authorChia-I Wu <olv@lunarg.com>
Wed, 19 Nov 2014 14:45:51 +0000 (22:45 +0800)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 26 Nov 2014 17:03:12 +0000 (10:03 -0700)
It was added by d43f9b6658a3cc2115fd9db118f6fd51acf09379 but it did not seem
to be needed.

loader/CMakeLists.txt

index f348697..391a1c7 100644 (file)
@@ -1,12 +1,10 @@
-add_custom_command(OUTPUT dispatch.c ${PROJECT_SOURCE_DIR}/icd/common/icd-dispatch-table.h
+add_custom_command(OUTPUT dispatch.c
        COMMAND ${PROJECT_SOURCE_DIR}/xgl-generate.py loader > dispatch.c
-        COMMAND ${PROJECT_SOURCE_DIR}/xgl-generate.py icd-dispatch-table > ${PROJECT_SOURCE_DIR}/icd/common/icd-dispatch-table.h
                   DEPENDS ${PROJECT_SOURCE_DIR}/xgl-generate.py
                           ${PROJECT_SOURCE_DIR}/xgl.py)
 
 include_directories(
        ${CMAKE_CURRENT_SOURCE_DIR}
-       ${CMAKE_CURRENT_BINARY_DIR}
 )
 
 add_library(XGL SHARED loader.c dispatch.c)