Basic window.
This commit is contained in:
49
lib/CMakeLists.txt
Normal file
49
lib/CMakeLists.txt
Normal file
@ -0,0 +1,49 @@
|
||||
# Copyright (c) 2025 Dominic Masters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
# GLFW
|
||||
FetchContent_Declare(
|
||||
glfw
|
||||
GIT_REPOSITORY https://github.com/glfw/glfw
|
||||
GIT_TAG 3.4
|
||||
)
|
||||
FetchContent_MakeAvailable(glfw)
|
||||
|
||||
# GLAD (For GLFW)
|
||||
add_subdirectory(glad)
|
||||
|
||||
# CGLM
|
||||
FetchContent_Declare(
|
||||
cglm
|
||||
GIT_REPOSITORY https://github.com/recp/cglm
|
||||
GIT_TAG v0.9.4
|
||||
)
|
||||
FetchContent_MakeAvailable(cglm)
|
||||
|
||||
#LibArchive
|
||||
FetchContent_Declare(
|
||||
libarchive
|
||||
GIT_REPOSITORY https://github.com/libarchive/libarchive
|
||||
GIT_TAG v3.7.6
|
||||
)
|
||||
FetchContent_MakeAvailable(libarchive)
|
||||
|
||||
#libspng
|
||||
FetchContent_Declare(
|
||||
libspng
|
||||
GIT_REPOSITORY https://github.com/randy408/libspng
|
||||
GIT_TAG v0.7.4
|
||||
)
|
||||
FetchContent_MakeAvailable(libspng)
|
||||
|
||||
# SDL2
|
||||
# FetchContent_Declare(
|
||||
# SDL2
|
||||
# GIT_REPOSITORY https://github.com/libsdl-org/SDL
|
||||
# GIT_TAG release-2.0.14
|
||||
# )
|
||||
# FetchContent_MakeAvailable(SDL2)
|
Reference in New Issue
Block a user