ULRE/example/Vulkan/CMakeLists.txt

13 lines
347 B
CMake

macro(CreateProject name main_file)
add_executable(${name} ${main_file}.cpp)
target_link_libraries(${name} ${ULRE})
endmacro()
add_library(TGATexture STATIC TGATexture.cpp)
CreateProject(0.triangle main)
CreateProject(1.indices_rect indices_rect)
CreateProject(2.texture_rect texture_rect)
target_link_libraries(2.texture_rect TGATexture)