25 lines
556 B
CMake
25 lines
556 B
CMake
# Copyright (c) 2021 Dominic Msters
|
|
#
|
|
# This software is released under the MIT License.
|
|
# https://opensource.org/licenses/MIT
|
|
|
|
# Texture Build Tool
|
|
project(tilesetgen VERSION 1.0)
|
|
add_executable(tilesetgen)
|
|
target_sources(tilesetgen
|
|
PRIVATE
|
|
main.cpp
|
|
../../util/file.cpp
|
|
../../util/image.cpp
|
|
)
|
|
target_include_directories(tilesetgen
|
|
PUBLIC
|
|
${DAWN_SHARED_INCLUDES}
|
|
${CMAKE_CURRENT_LIST_DIR}/../../
|
|
${CMAKE_CURRENT_LIST_DIR}
|
|
)
|
|
target_link_libraries(tilesetgen
|
|
PUBLIC
|
|
${DAWN_BUILD_HOST_LIBS}
|
|
stb
|
|
) |