Dawn/lib/CMakeLists.txt

18 lines
466 B
CMake

# Copyright (c) 2021 Dominic Msters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
add_subdirectory(Unity)
add_subdirectory(cglm)
add_subdirectory(glfw)
add_subdirectory(duktape)
# STB
add_library(stb STATIC stb/stb_image.h)
set_target_properties(stb PROPERTIES LINKER_LANGUAGE C)
target_include_directories(stb PUBLIC stb/)
# GLAD
add_subdirectory(glad2/cmake)
glad_add_library(glad_gl_core_33 SHARED API gl:core=3.3)