CMakeLists.txt
changeset 1271 5a67d082c55f
parent 1255 0135d797e287
child 1272 cddbd25553fe
equal deleted inserted replaced
1270:fb28ba997299 1271:5a67d082c55f
   162     mojoshader.c
   162     mojoshader.c
   163     mojoshader_common.c
   163     mojoshader_common.c
   164     mojoshader_opengl.c
   164     mojoshader_opengl.c
   165     mojoshader_metal.c
   165     mojoshader_metal.c
   166     mojoshader_d3d11.c
   166     mojoshader_d3d11.c
       
   167     mojoshader_vulkan.c
   167     profiles/mojoshader_profile_arb1.c
   168     profiles/mojoshader_profile_arb1.c
   168     profiles/mojoshader_profile_bytecode.c
   169     profiles/mojoshader_profile_bytecode.c
   169     profiles/mojoshader_profile_d3d.c
   170     profiles/mojoshader_profile_d3d.c
   170     profiles/mojoshader_profile_hlsl.c
   171     profiles/mojoshader_profile_hlsl.c
   171     profiles/mojoshader_profile_glsl.c
   172     profiles/mojoshader_profile_glsl.c
   187     )
   188     )
   188 ENDIF(COMPILER_SUPPORT)
   189 ENDIF(COMPILER_SUPPORT)
   189 IF(BUILD_SHARED_LIBS)
   190 IF(BUILD_SHARED_LIBS)
   190     TARGET_LINK_LIBRARIES(mojoshader ${LIBM} ${LOBJC} ${CARBON_FRAMEWORK})
   191     TARGET_LINK_LIBRARIES(mojoshader ${LIBM} ${LOBJC} ${CARBON_FRAMEWORK})
   191 ENDIF(BUILD_SHARED_LIBS)
   192 ENDIF(BUILD_SHARED_LIBS)
       
   193 
       
   194 TARGET_INCLUDE_DIRECTORIES(mojoshader PUBLIC
       
   195     $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../Vulkan-Headers/include/vulkan>
       
   196 )
   192 
   197 
   193 SET_SOURCE_FILES_PROPERTIES(
   198 SET_SOURCE_FILES_PROPERTIES(
   194     mojoshader_compiler.c
   199     mojoshader_compiler.c
   195     PROPERTIES OBJECT_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_parser_hlsl.h"
   200     PROPERTIES OBJECT_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_parser_hlsl.h"
   196 )
   201 )