CMakeLists.txt
changeset 810 367f7133bd71
parent 738 023189c285f6
child 811 307e3ab506fa
equal deleted inserted replaced
809:d0fcadcc93b4 810:367f7133bd71
    56 ADD_CUSTOM_COMMAND(
    56 ADD_CUSTOM_COMMAND(
    57     OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_parser_hlsl.h"
    57     OUTPUT "${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_parser_hlsl.h"
    58     MAIN_DEPENDENCY "${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_parser_hlsl.lemon"
    58     MAIN_DEPENDENCY "${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_parser_hlsl.lemon"
    59     DEPENDS lemon "${CMAKE_CURRENT_SOURCE_DIR}/misc/lempar.c"
    59     DEPENDS lemon "${CMAKE_CURRENT_SOURCE_DIR}/misc/lempar.c"
    60     COMMAND "${LEMON}"
    60     COMMAND "${LEMON}"
    61     ARGS -l -q "-T${CMAKE_CURRENT_SOURCE_DIR}/misc/lempar.c" "${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_parser_hlsl.lemon"
    61     ARGS -q "-T${CMAKE_CURRENT_SOURCE_DIR}/misc/lempar.c" "${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_parser_hlsl.lemon"
    62 )
    62 )
    63 
    63 
    64 ADD_LIBRARY(mojoshader STATIC
    64 ADD_LIBRARY(mojoshader STATIC
    65     mojoshader.c
    65     mojoshader.c
    66     mojoshader_common.c
    66     mojoshader_common.c