24 lines
500 B
CMake

# Copyright (c) 2021 Dominic Msters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
# Texture Build Tool
project(texturegen VERSION 1.0)
add_executable(texturegen)
target_sources(texturegen
PRIVATE
main.c
../../utils/file.c
../../utils/image.c
)
target_include_directories(texturegen
PUBLIC
${CMAKE_CURRENT_LIST_DIR}/../../
${CMAKE_CURRENT_LIST_DIR}
)
target_link_libraries(texturegen
PUBLIC
${DAWN_BUILD_HOST_LIBS}
stb
)